id: 1 unit: function printWarning() file: src/utils/reportUtils.js start line: 333 end line: 605 size: 263 LOC McCabe index: 20 number of parameters: 3 id: 2 unit: function _graphAPI() file: src/utils/graphAPIUtils.js start line: 55 end line: 159 size: 104 LOC McCabe index: 16 number of parameters: 4 id: 3 unit: async function main() file: src/cli-validate.js start line: 54 end line: 179 size: 103 LOC McCabe index: 4 number of parameters: 0 id: 4 unit: async function initUpload() file: src/utils/initUpload.js start line: 40 end line: 142 size: 101 LOC McCabe index: 20 number of parameters: 8 id: 5 unit: function getCustomAudienceBatchSender() file: src/utils/batchSenders.js start line: 168 end line: 255 size: 87 LOC McCabe index: 8 number of parameters: 7 id: 6 unit: async function validateSampleRowsAndStopIfTooManyErrors() file: src/utils/configUtils.js start line: 416 end line: 483 size: 64 LOC McCabe index: 4 number of parameters: 2 id: 7 unit: function getColumnsFromMappingsForCustomAudience() file: src/utils/batchSenders.js start line: 112 end line: 166 size: 48 LOC McCabe index: 9 number of parameters: 1 id: 8 unit: function initLogger() file: src/utils/initLogger.js start line: 46 end line: 88 size: 42 LOC McCabe index: 2 number of parameters: 4 id: 9 unit: function getOfflineEventsBatchSender() file: src/utils/batchSenders.js start line: 73 end line: 110 size: 38 LOC McCabe index: 4 number of parameters: 5 id: 10 unit: function getCSVRowFromEventObject() file: src/utils/batchSenders.js start line: 324 end line: 369 size: 37 LOC McCabe index: 14 number of parameters: 2 id: 11 unit: async function checkAccessTokenAndEnt() file: src/utils/configUtils.js start line: 541 end line: 576 size: 36 LOC McCabe index: 2 number of parameters: 4 id: 12 unit: function getGraphAPICallbacks() file: src/utils/batchSenders.js start line: 40 end line: 71 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: function deriveMappingAndCustomTypeInfo() file: src/utils/configUtils.js start line: 485 end line: 516 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: function setupE2E() file: src/utils/graphAPIUtils.js start line: 237 end line: 269 size: 32 LOC McCabe index: 4 number of parameters: 13 id: 15 unit: function printLine() file: src/utils/reportUtils.js start line: 293 end line: 323 size: 31 LOC McCabe index: 5 number of parameters: 3 id: 16 unit: function main() file: sse_uploader/src/cli-upload.js start line: 33 end line: 68 size: 30 LOC McCabe index: 7 number of parameters: 0 id: 17 unit: function printOverviewForUpload() file: src/utils/reportUtils.js start line: 129 end line: 158 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 18 unit: function getEventData() file: sse_uploader/src/dataUtils.js start line: 71 end line: 104 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: function graphAPIForE2ETest() file: src/utils/graphAPIUtils.js start line: 209 end line: 235 size: 27 LOC McCabe index: 3 number of parameters: 3 id: 20 unit: function fetchSamples() file: src/utils/fetchSamples.js start line: 21 end line: 44 size: 24 LOC McCabe index: 1 number of parameters: 3 id: 21 unit: function getErrorFromAPIResponse() file: src/utils/graphAPIUtils.js start line: 33 end line: 53 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: function loadConfigOrExit() file: sse_uploader/src/configUtils.js start line: 16 end line: 38 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: function main() file: sse_uploader/src/cli-validate.js start line: 24 end line: 42 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 24 unit: async function fetchSamples() file: src/utils/configUtils.js start line: 376 end line: 395 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: function checkAndDeriveConfigForPreprocessedEventData() file: src/utils/configUtils.js start line: 518 end line: 539 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: function printOverviewForPreprocess() file: src/utils/reportUtils.js start line: 160 end line: 177 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: function getValidationErrors() file: sse_uploader/src/validation.js start line: 92 end line: 109 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 28 unit: async function fetchSamplesAndCheckConfigForRawEventData() file: src/utils/configUtils.js start line: 397 end line: 412 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: function getNormalizeEnumFn() file: src/utils/initConfig.js start line: 101 end line: 113 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: function _getLatestGraphAPIVersion() file: src/utils/graphAPIUtils.js start line: 161 end line: 173 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: async function setupGraphAPIVersion() file: src/utils/graphAPIUtils.js start line: 175 end line: 186 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 32 unit: await checkAccessTokenAndEnt() file: src/cli-validate.js start line: 66 end line: 77 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 33 unit: function warnAboutDepreactedUploadParams() file: src/utils/initConfig.js start line: 21 end line: 30 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: function awsFormatter() file: src/utils/initLogger.js start line: 35 end line: 44 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: function printConfig() file: src/utils/reportUtils.js start line: 196 end line: 205 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 36 unit: async function sendEventsBatch() file: sse_uploader/src/cli-upload.js start line: 21 end line: 31 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 37 unit: await checkAccessTokenAndEnt() file: src/cli-upload.js start line: 65 end line: 74 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 38 unit: function normalizeArrayOfFBID() file: src/utils/initConfig.js start line: 54 end line: 62 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: function normalizeAdAccountID() file: src/utils/initConfig.js start line: 64 end line: 72 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: function normalizeApiVersion() file: src/utils/initConfig.js start line: 84 end line: 92 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: function getProgressRanges() file: src/utils/initUpload.js start line: 30 end line: 38 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 42 unit: await checkAccessTokenAndEnt() file: src/cli-upload-preprocessed.js start line: 87 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 43 unit: normalize: getNormalizeEnumFn() file: src/utils/initConfig.js start line: 300 end line: 306 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 44 unit: function printReportTime() file: src/utils/reportUtils.js start line: 185 end line: 194 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: function formatPercentage() file: src/utils/reportUtils.js start line: 325 end line: 331 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: function graphAPI() file: src/utils/graphAPIUtils.js start line: 273 end line: 279 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 47 unit: await graphAPI() file: src/cli-upload-audience.js start line: 195 end line: 201 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: await graphAPI() file: src/cli-upload-audience.js start line: 214 end line: 220 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: function printErrors() file: sse_uploader/src/cli-validate.js start line: 17 end line: 22 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: function getNormalizeNumberFn() file: src/utils/initConfig.js start line: 94 end line: 99 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 51 unit: function plainFormatter() file: src/utils/initLogger.js start line: 28 end line: 33 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 52 unit: function getNumOfAllRows() file: src/utils/reportUtils.js start line: 122 end line: 127 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: function normalizePath() file: src/utils/initConfig.js start line: 74 end line: 78 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: normalize: getNormalizeEnumFn() file: src/utils/initConfig.js start line: 224 end line: 228 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 55 unit: function getFileSignatureLegacy() file: src/utils/initUpload.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: function printHeader() file: src/utils/reportUtils.js start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: function _wrapError() file: src/utils/graphAPIUtils.js start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: function getFileSignatureUsingSize() file: src/utils/initUpload.js start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: function getPseudoBatchSenderForPreprocessing() file: src/utils/batchSenders.js start line: 373 end line: 376 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: function printInvalidSample() file: src/utils/reportUtils.js start line: 207 end line: 210 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: function printInvalidSamples() file: src/utils/reportUtils.js start line: 235 end line: 238 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: function printAggregatedError() file: src/utils/reportUtils.js start line: 252 end line: 255 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: function checkConfigForRawEventData() file: src/utils/configUtils.js start line: 353 end line: 356 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: function graphAPIReal() file: src/utils/graphAPIUtils.js start line: 188 end line: 191 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: function isEmptyObject() file: sse_uploader/src/dataUtils.js start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: function normalizeNonEmptyString() file: src/utils/initConfig.js start line: 42 end line: 44 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: function normalizeFBID() file: src/utils/initConfig.js start line: 46 end line: 48 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 68 unit: function normalizeBoolean() file: src/utils/initConfig.js start line: 50 end line: 52 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 69 unit: function normalizeAnyObject() file: src/utils/initConfig.js start line: 80 end line: 82 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: normalize: getNormalizeNumberFn() file: src/utils/initConfig.js start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: normalize: getNormalizeEnumFn() file: src/utils/initConfig.js start line: 193 end line: 195 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 72 unit: normalize: getNormalizeNumberFn() file: src/utils/initConfig.js start line: 242 end line: 244 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: normalize: getNormalizeNumberFn() file: src/utils/initConfig.js start line: 314 end line: 316 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: function setupE2E() file: src/utils/batchSenders.js start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: function getColumnsFromMappingsForOfflineEvents() file: src/utils/batchSenders.js start line: 257 end line: 259 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: function getHeaderFromColumns() file: src/utils/batchSenders.js start line: 305 end line: 307 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: function shouldIgnoreAPIErrorFn() file: src/utils/batchSenders.js start line: 416 end line: 418 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: function timestamp() file: src/utils/initLogger.js start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: function setupE2E() file: src/utils/reportUtils.js start line: 181 end line: 183 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: function isCustomData() file: src/utils/configUtils.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: await checkAccessTokenAndEnt() file: src/cli-upload-audience.js start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: function filterConfigOptions() file: src/utils/initConfig.js start line: 334 end line: 335 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: function loadConfig() file: src/utils/initConfig.js start line: 455 end line: 456 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: function loadConfigOrExit() file: src/utils/initConfig.js start line: 583 end line: 584 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: function checkUnknownMapping() file: src/utils/configUtils.js start line: 67 end line: 68 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: function checkTooManyMapping() file: src/utils/configUtils.js start line: 83 end line: 84 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: function checkInvalidCustomDataMapping() file: src/utils/configUtils.js start line: 109 end line: 110 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: function checkIndexOfMapping() file: src/utils/configUtils.js start line: 127 end line: 128 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: function checkMissingMapping() file: src/utils/configUtils.js start line: 145 end line: 146 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: function checkPresetValues() file: src/utils/configUtils.js start line: 209 end line: 210 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: function checkCustomTypeInfo() file: src/utils/configUtils.js start line: 248 end line: 249 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: function checkInfoForNormalization() file: src/utils/configUtils.js start line: 292 end line: 293 size: 2 LOC McCabe index: 1 number of parameters: 0