id: 1 unit: createDashboard() file: source/resources/solution-helper/lib/cloudwatch-helper.js start line: 62 end line: 281 size: 200 LOC McCabe index: 3 number of parameters: 1 id: 2 unit: async processEvent() file: source/services/events-processing/lib/event.js start line: 51 end line: 190 size: 116 LOC McCabe index: 22 number of parameters: 3 id: 3 unit: async _listApplicationAuthorizations() file: source/services/api/admin/lib/admin.js start line: 193 end line: 249 size: 52 LOC McCabe index: 4 number of parameters: 2 id: 4 unit: startKinesisAnalyticsApp() file: source/resources/solution-helper/lib/kinesis-helper.js start line: 41 end line: 85 size: 43 LOC McCabe index: 5 number of parameters: 1 id: 5 unit: async listApplications() file: source/services/api/admin/lib/admin.js start line: 87 end line: 126 size: 40 LOC McCabe index: 3 number of parameters: 0 id: 6 unit: async getAuthorizationDetail() file: source/services/api/admin/lib/admin.js start line: 380 end line: 420 size: 40 LOC McCabe index: 4 number of parameters: 2 id: 7 unit: async createAuthorization() file: source/services/api/admin/lib/admin.js start line: 335 end line: 373 size: 39 LOC McCabe index: 2 number of parameters: 5 id: 8 unit: async modifyAuthorization() file: source/services/api/admin/lib/admin.js start line: 429 end line: 465 size: 37 LOC McCabe index: 2 number of parameters: 3 id: 9 unit: async getApplicationDetail() file: source/services/api/admin/lib/admin.js start line: 132 end line: 169 size: 36 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: async createApplication() file: source/services/api/admin/lib/admin.js start line: 49 end line: 81 size: 33 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: async getApplication() file: source/services/events-processing/lib/event.js start line: 196 end line: 232 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: putDataCatalogEncryptionSettings() file: source/resources/solution-helper/lib/glue-helper.js start line: 41 end line: 70 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 13 unit: async _deleteApplicationAuthorizations() file: source/services/api/admin/lib/admin.js start line: 295 end line: 325 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 14 unit: saveItem() file: source/resources/solution-helper/lib/dynamodb-helper.js start line: 45 end line: 75 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 15 unit: async sendAnonymousMetric() file: source/resources/solution-helper/lib/metrics-helper.js start line: 29 end line: 55 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: getObject() file: source/resources/solution-helper/lib/s3-helper.js start line: 37 end line: 61 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 17 unit: function addMethod() file: source/services/api/lambda-authorizer/index.js start line: 141 end line: 167 size: 24 LOC McCabe index: 7 number of parameters: 4 id: 18 unit: invokeFunctionSync() file: source/resources/solution-helper/lib/lambda-helper.js start line: 44 end line: 67 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: function AuthPolicy() file: source/services/api/lambda-authorizer/index.js start line: 48 end line: 107 size: 23 LOC McCabe index: 7 number of parameters: 3 id: 20 unit: async _deleteAuthorization() file: source/services/api/admin/lib/admin.js start line: 487 end line: 509 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: async createApiKey() file: source/services/api/admin/lib/admin.js start line: 517 end line: 551 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 22 unit: createDefaultNamedQuery() file: source/resources/solution-helper/lib/athena-helper.js start line: 41 end line: 62 size: 21 LOC McCabe index: 2 number of parameters: 5 id: 23 unit: uploadObject() file: source/resources/solution-helper/lib/s3-helper.js start line: 63 end line: 84 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 24 unit: function getStatementsForEffect() file: source/services/api/lambda-authorizer/index.js start line: 197 end line: 221 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 25 unit: async _deleteApplication() file: source/services/api/admin/lib/admin.js start line: 270 end line: 290 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: deleteDashboard() file: source/resources/solution-helper/lib/cloudwatch-helper.js start line: 41 end line: 60 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: async validateSchema() file: source/services/events-processing/lib/event.js start line: 237 end line: 255 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: _checkAssignedDataType() file: source/resources/solution-helper/lib/dynamodb-helper.js start line: 77 end line: 94 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 29 unit: async publishMetric() file: source/services/analytics-processing/lib/cloudwatch.js start line: 42 end line: 58 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: build() file: source/services/api/lambda-authorizer/index.js start line: 313 end line: 331 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 31 unit: async buildMetric() file: source/services/analytics-processing/lib/cloudwatch.js start line: 64 end line: 87 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 32 unit: async listApplicationAuthorizations() file: source/services/api/admin/lib/admin.js start line: 175 end line: 187 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: exports.handler = function() file: source/services/events-processing/index.js start line: 27 end line: 38 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 34 unit: exports.handler = function() file: source/services/analytics-processing/index.js start line: 26 end line: 37 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 35 unit: Launch: moment() file: source/resources/solution-helper/index.js start line: 179 end line: 189 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: SELECT date_trunc() file: source/resources/solution-helper/index.js start line: 271 end line: 280 size: 10 LOC McCabe index: 1 number of parameters: 6 id: 37 unit: Deleted: moment() file: source/resources/solution-helper/index.js start line: 510 end line: 520 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: Updated: moment() file: source/resources/solution-helper/index.js start line: 589 end line: 599 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: id: uuidv4() file: source/services/api/admin/lib/admin.js start line: 536 end line: 545 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: async deleteApplication() file: source/services/api/admin/lib/admin.js start line: 255 end line: 264 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: async deleteAuthorization() file: source/services/api/admin/lib/admin.js start line: 472 end line: 480 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: TimeStamp: moment() file: source/resources/solution-helper/index.js start line: 176 end line: 183 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: TimeStamp: moment() file: source/resources/solution-helper/index.js start line: 507 end line: 514 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: TimeStamp: moment() file: source/resources/solution-helper/index.js start line: 586 end line: 593 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: constructor() file: source/resources/solution-helper/lib/kinesis-helper.js start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: constructor() file: source/resources/solution-helper/lib/lambda-helper.js start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 47 unit: constructor() file: source/resources/solution-helper/lib/cloudwatch-helper.js start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: constructor() file: source/resources/solution-helper/lib/athena-helper.js start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: constructor() file: source/resources/solution-helper/lib/dynamodb-helper.js start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: constructor() file: source/resources/solution-helper/lib/glue-helper.js start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: UUID: uuidv4() file: source/resources/solution-helper/index.js start line: 64 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: SELECT count() file: source/resources/solution-helper/index.js start line: 356 end line: 362 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: constructor() file: source/services/api/admin/lib/admin.js start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: function getEmptyStatement() file: source/services/api/lambda-authorizer/index.js start line: 178 end line: 185 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: SELECT date_trunc() file: source/resources/solution-helper/index.js start line: 260 end line: 265 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 56 unit: updated_at: moment() file: source/resources/solution-helper/index.js start line: 412 end line: 417 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: Timestamp: moment() file: source/services/analytics-processing/lib/cloudwatch.js start line: 67 end line: 75 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: SELECT date_trunc() file: source/resources/solution-helper/index.js start line: 248 end line: 252 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: FROM detail WHERE json_extract_scalar() file: source/resources/solution-helper/index.js start line: 261 end line: 265 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: GROUP BY json_extract_scalar() file: source/resources/solution-helper/index.js start line: 358 end line: 362 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: created_at: moment() file: source/resources/solution-helper/index.js start line: 413 end line: 417 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: def applyTransform() file: source/services/data-lake/glue-scripts/game_events_etl.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: GROUP BY json_extract_scalar() file: source/resources/solution-helper/index.js start line: 290 end line: 293 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: GROUP BY json_extract_scalar() file: source/resources/solution-helper/index.js start line: 303 end line: 306 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: GROUP BY json_extract_scalar() file: source/resources/solution-helper/index.js start line: 316 end line: 319 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 66 unit: WHERE json_extract_scalar() file: source/resources/solution-helper/index.js start line: 347 end line: 350 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: constructor() file: source/resources/solution-helper/lib/metrics-helper.js start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: constructor() file: source/resources/solution-helper/lib/s3-helper.js start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: GROUP BY date_trunc() file: source/resources/solution-helper/index.js start line: 250 end line: 252 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 70 unit: GROUP BY date_trunc() file: source/resources/solution-helper/index.js start line: 263 end line: 265 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: constructor() file: source/services/events-processing/lib/event.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: processing_timestamp: moment() file: source/services/events-processing/lib/event.js start line: 75 end line: 79 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: allowAllMethods() file: source/services/api/lambda-authorizer/index.js start line: 231 end line: 233 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: denyAllMethods() file: source/services/api/lambda-authorizer/index.js start line: 240 end line: 242 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: allowMethod() file: source/services/api/lambda-authorizer/index.js start line: 254 end line: 256 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: denyMethod() file: source/services/api/lambda-authorizer/index.js start line: 268 end line: 270 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: allowMethodWithConditions() file: source/services/api/lambda-authorizer/index.js start line: 284 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 78 unit: denyMethodWithConditions() file: source/services/api/lambda-authorizer/index.js start line: 300 end line: 302 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 79 unit: constructor() file: source/services/analytics-processing/lib/cloudwatch.js start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0