id: 1 unit: function ValidateToken() file: src/authorizer/index.js start line: 60 end line: 198 size: 104 LOC McCabe index: 13 number of parameters: 4 id: 2 unit: exports.lambda_handler = function() file: src/app/customizeUnicorn.js start line: 5 end line: 115 size: 90 LOC McCabe index: 14 number of parameters: 3 id: 3 unit: exports.lambda_handler = function() file: src/app/managePartners.js start line: 12 end line: 89 size: 64 LOC McCabe index: 6 number of parameters: 3 id: 4 unit: exports.lambda_handler = function() file: src/app/unicornParts.js start line: 5 end line: 59 size: 48 LOC McCabe index: 7 number of parameters: 3 id: 5 unit: var addMethod = function() file: src/authorizer/index.js start line: 314 end line: 346 size: 30 LOC McCabe index: 7 number of parameters: 4 id: 6 unit: function AuthPolicy() file: src/authorizer/index.js start line: 220 end line: 280 size: 23 LOC McCabe index: 7 number of parameters: 3 id: 7 unit: var getStatementsForEffect = function() file: src/authorizer/index.js start line: 377 end line: 401 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 8 unit: query() file: src/app/dbUtils.js start line: 14 end line: 30 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 9 unit: build: function() file: src/authorizer/index.js start line: 493 end line: 511 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 10 unit: deleteCustomUnicorn: function() file: src/app/dbUtils.js start line: 123 end line: 136 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 11 unit: createCustomUnicorn: function() file: src/app/dbUtils.js start line: 89 end line: 102 size: 13 LOC McCabe index: 1 number of parameters: 7 id: 12 unit: getDbConfig() file: src/app/dbUtils.js start line: 48 end line: 59 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: addPartnerCompany: function() file: src/app/dbUtils.js start line: 77 end line: 87 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: close() file: src/app/dbUtils.js start line: 32 end line: 40 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: listCustomUnicorn: function() file: src/app/dbUtils.js start line: 104 end line: 112 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 16 unit: getCustomUnicorn: function() file: src/app/dbUtils.js start line: 114 end line: 121 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 17 unit: var getEmptyStatement = function() file: src/authorizer/index.js start line: 357 end line: 365 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: module.exports.returnFail = function() file: src/app/httpUtil.js start line: 1 end line: 6 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: module.exports.returnBadInput = function() file: src/app/httpUtil.js start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: module.exports.returnNotFound = function() file: src/app/httpUtil.js start line: 16 end line: 21 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 21 unit: module.exports.returnAccessDenied = function() file: src/app/httpUtil.js start line: 23 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: module.exports.returnOK = function() file: src/app/httpUtil.js start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: function executeDBquery() file: src/app/dbUtils.js start line: 62 end line: 67 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: connectToDb() file: src/app/dbUtils.js start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: listBodyPartOptions: function() file: src/app/dbUtils.js start line: 70 end line: 74 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: allowAllMethods: function() file: src/authorizer/index.js start line: 411 end line: 413 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: denyAllMethods: function() file: src/authorizer/index.js start line: 420 end line: 422 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: allowMethod: function() file: src/authorizer/index.js start line: 434 end line: 436 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 29 unit: denyMethod: function() file: src/authorizer/index.js start line: 448 end line: 450 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 30 unit: allowMethodWithConditions: function() file: src/authorizer/index.js start line: 464 end line: 466 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 31 unit: denyMethodWithConditions: function() file: src/authorizer/index.js start line: 480 end line: 482 size: 3 LOC McCabe index: 1 number of parameters: 3