id: 1 unit: function renderRows() file: pages/milestones/[milestone].js start line: 92 end line: 164 size: 71 LOC McCabe index: 7 number of parameters: 1 id: 2 unit: function renderRows() file: components/Contrib.js start line: 27 end line: 100 size: 70 LOC McCabe index: 7 number of parameters: 2 id: 3 unit: export default async() file: pages/api/bz-issue-counts.js start line: 4 end line: 68 size: 60 LOC McCabe index: 7 number of parameters: 2 id: 4 unit: milestoneIssues: formatIssueData() file: pages/milestones/[milestone].js start line: 178 end line: 229 size: 48 LOC McCabe index: 3 number of parameters: 1 id: 5 unit: export default function DashCount() file: components/DashCount.js start line: 4 end line: 50 size: 46 LOC McCabe index: 3 number of parameters: 1 id: 6 unit: function buildMetaData() file: pages/projects/[year]/[quarter].js start line: 37 end line: 79 size: 43 LOC McCabe index: 10 number of parameters: 1 id: 7 unit: function renderChildren() file: pages/dashboards/webext.js start line: 124 end line: 164 size: 41 LOC McCabe index: 1 number of parameters: 2 id: 8 unit: export function fetchIssueCount() file: lib/bzapi.js start line: 46 end line: 92 size: 41 LOC McCabe index: 6 number of parameters: 3 id: 9 unit: function renderDashCounts() file: components/AMODashCountGroup.js start line: 5 end line: 44 size: 38 LOC McCabe index: 5 number of parameters: 0 id: 10 unit: export function parseProjectMeta() file: lib/utils/projects.js start line: 86 end line: 122 size: 36 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: export function setReviewerDetails() file: lib/utils/milestones.js start line: 122 end line: 160 size: 32 LOC McCabe index: 6 number of parameters: 1 id: 12 unit: projects: buildMetaData() file: pages/projects/[year]/[quarter].js start line: 97 end line: 127 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: export function formatContribData() file: lib/utils/contrib.js start line: 4 end line: 31 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 14 unit: export function getMilestonePagination() file: lib/utils/milestones.js start line: 39 end line: 75 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 15 unit: export function fetchWhiteboardTag() file: lib/bzapi.js start line: 113 end line: 141 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: export async function getServerSideProps() file: pages/dashboards/webext.js start line: 25 end line: 52 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 17 unit: export function setStateLabels() file: lib/utils/milestones.js start line: 162 end line: 189 size: 25 LOC McCabe index: 13 number of parameters: 1 id: 18 unit: export default async() file: pages/api/gh-milestone-issues.js start line: 74 end line: 101 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 19 unit: export function sortData() file: lib/utils/sort.js start line: 29 end line: 55 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 20 unit: function renderAssignee() file: pages/milestones/[milestone].js start line: 47 end line: 71 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: function renderNeedInfos() file: pages/dashboards/webext.js start line: 189 end line: 213 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: export default async() file: pages/api/bz-need-infos.js start line: 3 end line: 27 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 23 unit: function renderCounts() file: pages/dashboards/webext.js start line: 166 end line: 187 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 24 unit: export default function createClient() file: lib/ghapi.js start line: 12 end line: 56 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 25 unit: function renderWhiteBoardTags() file: pages/dashboards/webext.js start line: 215 end line: 235 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: export async function getServerSideProps() file: pages/projects/[year]/[quarter].js start line: 81 end line: 101 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: function renderReviewers() file: pages/milestones/[milestone].js start line: 73 end line: 90 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: export function getPrevQuarter() file: lib/utils/projects.js start line: 19 end line: 39 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 29 unit: export function getNextQuarter() file: lib/utils/projects.js start line: 45 end line: 65 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 30 unit: export default async() file: pages/api/gh-projects.js start line: 32 end line: 49 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: export function formatIssueData() file: lib/utils/milestones.js start line: 195 end line: 215 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: export function fetchNeedInfo() file: lib/bzapi.js start line: 94 end line: 111 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: export async function getServerSideProps() file: pages/milestones/latest.js start line: 8 end line: 29 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: export async function getServerSideProps() file: pages/milestones/[milestone].js start line: 166 end line: 181 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: function getIssueCounts() file: pages/dashboards/webext.js start line: 59 end line: 73 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 36 unit: function getNeedInfos() file: pages/dashboards/webext.js start line: 75 end line: 89 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 37 unit: function getWhiteboardTags() file: pages/dashboards/webext.js start line: 91 end line: 105 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: export default async() file: pages/api/gh-maybe-good-first-bugs.js start line: 32 end line: 46 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 39 unit: export default async() file: pages/api/bz-whiteboard-tags.js start line: 4 end line: 20 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 40 unit: export default async() file: pages/api/gh-contrib-welcome.js start line: 32 end line: 46 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 41 unit: export default async() file: pages/api/gh-good-first-bugs.js start line: 32 end line: 46 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: function renderCounts() file: pages/dashboards/amo.js start line: 8 end line: 21 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: r: parseInt() file: lib/utils/index.js start line: 42 end line: 58 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: export function alphaSort() file: lib/utils/sort.js start line: 14 end line: 27 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: export function getNextMilestone() file: lib/utils/milestones.js start line: 10 end line: 22 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: function renderChild() file: pages/dashboards/webext.js start line: 111 end line: 122 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 47 unit: triaged: issues() file: pages/api/gh-issue-counts.js start line: 10 end line: 21 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: search() file: pages/api/gh-team.js start line: 10 end line: 21 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 49 unit: g: parseInt() file: lib/utils/index.js start line: 43 end line: 58 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: export function setProjectProps() file: lib/utils/milestones.js start line: 96 end line: 107 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: export async function getServerSideProps() file: pages/contrib/good-first-bugs.js start line: 9 end line: 20 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: export async function getServerSideProps() file: pages/contrib/contrib-welcome.js start line: 9 end line: 19 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 53 unit: export async function getServerSideProps() file: pages/contrib/maybe-good-first-bugs.js start line: 9 end line: 20 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: reviews() file: pages/api/gh-milestone-issues.js start line: 50 end line: 60 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: maybe_good_first_bugs: search() file: pages/api/gh-maybe-good-first-bugs.js start line: 8 end line: 28 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: contrib_welcome: search() file: pages/api/gh-contrib-welcome.js start line: 8 end line: 28 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: good_first_bugs: search() file: pages/api/gh-good-first-bugs.js start line: 8 end line: 28 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 58 unit: export function setAssigneeProp() file: lib/utils/milestones.js start line: 110 end line: 120 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 59 unit: export default async() file: pages/api/gh-team.js start line: 25 end line: 34 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: export function hexToRgb() file: lib/utils/index.js start line: 38 end line: 47 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: prevFromStart: formatDateToMilestone() file: lib/utils/milestones.js start line: 67 end line: 81 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: query: async() file: lib/ghapi.js start line: 42 end line: 52 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 63 unit: start: formatDateToMilestone() file: lib/utils/milestones.js start line: 69 end line: 81 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: export function setIssuePriorityProp() file: lib/utils/milestones.js start line: 78 end line: 86 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 65 unit: export function getCurrentQuarter() file: lib/utils/projects.js start line: 5 end line: 13 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: async function fetchAndCache() file: lib/serverSWR.js start line: 38 end line: 47 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: function getCurrentSortQueryString() file: pages/milestones/[milestone].js start line: 38 end line: 45 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 68 unit: assignees() file: pages/api/gh-milestone-issues.js start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: projectCards() file: pages/api/gh-milestone-issues.js start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: nextFromStart: formatDateToMilestone() file: lib/utils/milestones.js start line: 71 end line: 81 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: export function getDOMParser() file: lib/utils/projects.js start line: 70 end line: 79 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 72 unit: export default function DashBlank() file: components/DashBlank.js start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: export async function getServerSideProps() file: pages/projects/latest.js start line: 8 end line: 16 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: export default async() file: pages/api/gh-issue-counts.js start line: 64 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 75 unit: export function hasLabel() file: lib/utils/index.js start line: 24 end line: 30 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 76 unit: current: formatDateToMilestone() file: lib/utils/milestones.js start line: 73 end line: 81 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: addons_code_manager: repository() file: pages/api/gh-issue-counts.js start line: 55 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: b: parseInt() file: lib/utils/index.js start line: 44 end line: 58 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 79 unit: export function projectSort() file: pages/projects/[year]/[quarter].js start line: 28 end line: 32 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 80 unit: get helmetHeadComponents() file: pages/_document.js start line: 23 end line: 27 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 81 unit: labels() file: pages/api/gh-milestone-issues.js start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: labels() file: pages/api/gh-maybe-good-first-bugs.js start line: 20 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: labels() file: pages/api/gh-contrib-welcome.js start line: 20 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: labels() file: pages/api/gh-good-first-bugs.js start line: 20 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: export function hasLabelContainingString() file: lib/utils/index.js start line: 32 end line: 36 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: export function colourIsLight() file: lib/utils/index.js start line: 49 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: export function dateSort() file: lib/utils/sort.js start line: 2 end line: 6 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: export function numericSort() file: lib/utils/sort.js start line: 8 end line: 12 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: export function formatDateToMilestone() file: lib/utils/milestones.js start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: export function setRepoProp() file: lib/utils/milestones.js start line: 89 end line: 93 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 91 unit: static async getInitialProps() file: pages/_document.js start line: 5 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: milestone_issues: search() file: pages/api/gh-milestone-issues.js start line: 8 end line: 70 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 93 unit: link: createHttpLink() file: lib/ghapi.js start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 94 unit: export default function Page() file: pages/projects/index.js start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: export async function getServerSideProps() file: pages/projects/index.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: export default function Page() file: pages/projects/latest.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: export default function Page() file: pages/milestones/index.js start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: export async function getServerSideProps() file: pages/milestones/index.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: export default function Page() file: pages/milestones/latest.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: startDate: getNextMilestone() file: pages/milestones/latest.js start line: 20 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: get helmetHtmlAttrComponents() file: pages/_document.js start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: get helmetBodyAttrComponents() file: pages/_document.js start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: timelineItems() file: pages/api/gh-milestone-issues.js start line: 42 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: total_issues: issues() file: pages/api/gh-issue-counts.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: open_prod_bugs: issues() file: pages/api/gh-issue-counts.js start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: open_p1s: issues() file: pages/api/gh-issue-counts.js start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 107 unit: open_p2s: issues() file: pages/api/gh-issue-counts.js start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: open_p3s: issues() file: pages/api/gh-issue-counts.js start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 109 unit: open_prs: pullRequests() file: pages/api/gh-issue-counts.js start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: addons: repository() file: pages/api/gh-issue-counts.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: addons_server: repository() file: pages/api/gh-issue-counts.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: addons_frontend: repository() file: pages/api/gh-issue-counts.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 113 unit: addons_blog: repository() file: pages/api/gh-issue-counts.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 114 unit: addons_linter: repository() file: pages/api/gh-issue-counts.js start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 115 unit: cards() file: pages/api/gh-projects.js start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: query getMilestoneIssue() file: pages/api/gh-milestone-issues.js start line: 7 end line: 71 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: query getMaybeGoodFirstBugs() file: pages/api/gh-maybe-good-first-bugs.js start line: 7 end line: 29 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: query getProjects() file: pages/api/gh-projects.js start line: 6 end line: 29 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: organization() file: pages/api/gh-projects.js start line: 7 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: columns() file: pages/api/gh-projects.js start line: 15 end line: 25 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: query getTeam() file: pages/api/gh-team.js start line: 9 end line: 22 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: query getContribWelcome() file: pages/api/gh-contrib-welcome.js start line: 7 end line: 29 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: query getGoodFirstBugs() file: pages/api/gh-good-first-bugs.js start line: 7 end line: 29 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: projects() file: pages/api/gh-projects.js start line: 8 end line: 27 size: 1 LOC McCabe index: 1 number of parameters: 2