id: 1 unit: async function init() file: on-merge/index.js start line: 32 end line: 123 size: 92 LOC McCabe index: 19 number of parameters: 0 id: 2 unit: async function init() file: on-merge/index.ts start line: 9 end line: 114 size: 81 LOC McCabe index: 17 number of parameters: 0 id: 3 unit: export async function mapLabelsToAttributes() file: github-projects/map-labels/mapLabelsToAttributes.ts start line: 36 end line: 111 size: 64 LOC McCabe index: 11 number of parameters: 1 id: 4 unit: async function mapLabelsToAttributes() file: github-projects/map-labels/mapLabelsToAttributes.js start line: 22 end line: 87 size: 63 LOC McCabe index: 11 number of parameters: 1 id: 5 unit: async function run() file: permission-check/index.js start line: 28 end line: 76 size: 48 LOC McCabe index: 16 number of parameters: 0 id: 6 unit: async function run() file: permission-check/index.ts start line: 4 end line: 62 size: 47 LOC McCabe index: 12 number of parameters: 0 id: 7 unit: async function adjustSingleItemLabels() file: github-projects/map-labels/mapLabelsToAttributes.js start line: 100 end line: 146 size: 43 LOC McCabe index: 9 number of parameters: 2 id: 8 unit: export function resolveTargets() file: on-merge/backportTargets.ts start line: 13 end line: 62 size: 40 LOC McCabe index: 12 number of parameters: 3 id: 9 unit: function resolveTargets() file: on-merge/backportTargets.js start line: 12 end line: 52 size: 40 LOC McCabe index: 12 number of parameters: 3 id: 10 unit: function verifyExpectedArgs() file: github-projects/map-labels/index.ts start line: 100 end line: 122 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 11 unit: async function getOptionIdForValue() file: github-projects/map-labels/mapLabelsToAttributes.js start line: 162 end line: 182 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 12 unit: export function parseVersions() file: on-merge/versions.ts start line: 30 end line: 55 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: function parseVersions() file: on-merge/versions.js start line: 4 end line: 24 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: export function getVersionLabelsToAdd() file: fix-version-gaps/fixGaps.ts start line: 37 end line: 56 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 15 unit: function getVersionLabelsToAdd() file: fix-version-gaps/fixGaps.js start line: 34 end line: 50 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 16 unit: function getLowestVersionsOnPr() file: fix-version-gaps/fixGaps.js start line: 5 end line: 20 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 17 unit: export async function getPrPackageVersion() file: on-merge/util.ts start line: 6 end line: 23 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 18 unit: async function run() file: fix-version-gaps/index.ts start line: 14 end line: 32 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 19 unit: export function getLowestVersionsOnPr() file: fix-version-gaps/fixGaps.ts start line: 5 end line: 21 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: function verifyExpectedArgs() file: github-projects/map-labels/index.js start line: 109 end line: 123 size: 15 LOC McCabe index: 8 number of parameters: 1 id: 21 unit: fieldValues() file: github-projects/api/projectsGraphQL.ts start line: 169 end line: 183 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: fieldValues() file: github-projects/api/projectsGraphQL.js start line: 56 end line: 70 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: await backportRun() file: on-merge/index.ts start line: 80 end line: 94 size: 15 LOC McCabe index: 1 number of parameters: 13 id: 24 unit: fields() file: github-projects/api/projectsGraphQL.ts start line: 260 end line: 272 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: fields() file: github-projects/api/projectsGraphQL.js start line: 140 end line: 152 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: owner: tryGetOwnerFromContext() file: github-projects/map-labels/index.js start line: 136 end line: 147 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 27 unit: async function run() file: fix-version-gaps/index.js start line: 40 end line: 50 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 28 unit: export function getVersionsFromBackportConfig() file: fix-version-gaps/fixGaps.ts start line: 23 end line: 35 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: function getVersionsFromBackportConfig() file: fix-version-gaps/fixGaps.js start line: 22 end line: 32 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: async function getPrPackageVersion() file: on-merge/util.js start line: 9 end line: 19 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 31 unit: export async function fixGaps() file: fix-version-gaps/fixGaps.ts start line: 85 end line: 96 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 32 unit: async function fixGaps() file: fix-version-gaps/fixGaps.js start line: 77 end line: 86 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 33 unit: owner: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 100 end line: 109 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: function tryGetOwnerFromContext() file: github-projects/map-labels/index.js start line: 124 end line: 133 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 35 unit: owner: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 90 end line: 100 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: function getIssueLinks() file: github-projects/map-labels/utils.js start line: 5 end line: 14 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: async function adjustSingleItemLabels() file: github-projects/map-labels/mapLabelsToAttributes.ts start line: 126 end line: 135 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: export function getIssueLinks() file: github-projects/map-labels/utils.ts start line: 4 end line: 15 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 39 unit: function getInputOrUndefined() file: github-projects/map-labels/index.js start line: 90 end line: 98 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 40 unit: repo: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 101 end line: 109 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: function combineAndVerifyArgs() file: github-projects/map-labels/index.js start line: 134 end line: 142 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: repo: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 91 end line: 100 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: function tryGetOwnerFromContext() file: github-projects/map-labels/index.ts start line: 124 end line: 132 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 44 unit: function combineAndVerifyArgs() file: github-projects/map-labels/index.ts start line: 134 end line: 145 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: function merge() file: github-projects/map-labels/utils.js start line: 20 end line: 28 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: export function merge() file: github-projects/map-labels/utils.ts start line: 21 end line: 29 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 47 unit: export function getPrBackportData() file: on-merge/util.ts start line: 25 end line: 34 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: function getPrBackportData() file: on-merge/util.js start line: 21 end line: 29 size: 9 LOC McCabe index: 6 number of parameters: 1 id: 49 unit: export function getCommentFromLabels() file: fix-version-gaps/fixGaps.ts start line: 58 end line: 65 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: function createComment() file: fix-version-gaps/fixGaps.ts start line: 67 end line: 74 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 51 unit: function addLabels() file: fix-version-gaps/fixGaps.ts start line: 76 end line: 83 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 52 unit: function getCommentFromLabels() file: fix-version-gaps/fixGaps.js start line: 52 end line: 59 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: function createComment() file: fix-version-gaps/fixGaps.js start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: function addLabels() file: fix-version-gaps/fixGaps.js start line: 69 end line: 76 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 55 unit: projectNumber: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 102 end line: 109 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: function getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 80 end line: 87 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 57 unit: projectNumber: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 92 end line: 100 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: issueNumber: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 103 end line: 109 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 59 unit: issueNumber: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 93 end line: 100 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 60 unit: function getBranchesAfter() file: on-merge/backportTargets.ts start line: 5 end line: 11 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: function getBranchesAfter() file: on-merge/backportTargets.js start line: 5 end line: 11 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: all: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 104 end line: 109 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: all: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 94 end line: 100 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 64 unit: function filterIssuesByRepo() file: github-projects/map-labels/mapLabelsToAttributes.ts start line: 119 end line: 124 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: function filterIssuesByRepo() file: github-projects/map-labels/mapLabelsToAttributes.js start line: 94 end line: 99 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 66 unit: updateProjectV2ItemFieldValue() file: github-projects/api/projectsGraphQL.ts start line: 283 end line: 294 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 67 unit: fieldValueByName() file: github-projects/api/projectsGraphQL.ts start line: 287 end line: 292 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: updateProjectV2ItemFieldValue() file: github-projects/api/projectsGraphQL.js start line: 160 end line: 171 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 69 unit: fieldValueByName() file: github-projects/api/projectsGraphQL.js start line: 164 end line: 169 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: body: getCommentFromLabels() file: fix-version-gaps/fixGaps.ts start line: 72 end line: 77 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: body: getCommentFromLabels() file: fix-version-gaps/fixGaps.js start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: mapping: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 105 end line: 109 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: mapping: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 95 end line: 100 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: function loadMapping() file: github-projects/map-labels/mapLabelsToAttributes.ts start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: function loadMapping() file: github-projects/map-labels/mapLabelsToAttributes.js start line: 89 end line: 93 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: projectV2() file: github-projects/api/projectsGraphQL.ts start line: 108 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: labels() file: github-projects/api/projectsGraphQL.ts start line: 199 end line: 203 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: projectV2() file: github-projects/api/projectsGraphQL.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: labels() file: github-projects/api/projectsGraphQL.js start line: 86 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: githubToken: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 106 end line: 109 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: githubToken: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 96 end line: 100 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: export async function getArtifactsApiVersions() file: on-merge/util.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: export function getVersionLabel() file: on-merge/util.ts start line: 50 end line: 54 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: async function getArtifactsApiVersions() file: on-merge/util.js start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: function getVersionLabel() file: on-merge/util.js start line: 36 end line: 39 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: dryRun: getInputOrUndefined() file: github-projects/map-labels/index.js start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: dryRun: getInputOrUndefined() file: github-projects/map-labels/index.ts start line: 97 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: function sleep() file: github-projects/map-labels/utils.js start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: async function getOptionIdForValue() file: github-projects/map-labels/mapLabelsToAttributes.ts start line: 222 end line: 224 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: export function sleep() file: github-projects/map-labels/utils.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: export function labelsContain() file: on-merge/util.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: function labelsContain() file: on-merge/util.js start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: organization() file: github-projects/api/projectsGraphQL.ts start line: 107 end line: 113 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: organization() file: github-projects/api/projectsGraphQL.ts start line: 159 end line: 209 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: projectV2() file: github-projects/api/projectsGraphQL.ts start line: 160 end line: 208 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: items() file: github-projects/api/projectsGraphQL.ts start line: 161 end line: 207 size: 2 LOC McCabe index: 1 number of parameters: 4 id: 97 unit: organization() file: github-projects/api/projectsGraphQL.ts start line: 258 end line: 274 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: projectV2() file: github-projects/api/projectsGraphQL.ts start line: 259 end line: 273 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: organization() file: github-projects/api/projectsGraphQL.js start line: 8 end line: 14 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: organization() file: github-projects/api/projectsGraphQL.js start line: 46 end line: 96 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: projectV2() file: github-projects/api/projectsGraphQL.js start line: 47 end line: 95 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: items() file: github-projects/api/projectsGraphQL.js start line: 48 end line: 94 size: 2 LOC McCabe index: 1 number of parameters: 4 id: 103 unit: organization() file: github-projects/api/projectsGraphQL.js start line: 138 end line: 154 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: projectV2() file: github-projects/api/projectsGraphQL.js start line: 139 end line: 153 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: }) : function() file: fix-version-gaps/index.js start line: 15 end line: 15 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: }) : function() file: github-projects/map-labels/index.js start line: 16 end line: 16 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 107 unit: }) : function() file: on-merge/index.js start line: 15 end line: 15 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: }) : function() file: permission-check/index.js start line: 15 end line: 15 size: 1 LOC McCabe index: 1 number of parameters: 2