id: 1 unit: createAPIGateway() file: infrastructure/cdk/lib/layer/ingestionConsumptionLayer.ts start line: 176 end line: 1039 size: 712 LOC McCabe index: 1 number of parameters: 1 id: 2 unit: ClientImpl.prototype._handleMessage = function() file: application/resources/libs/paho-mqtt.js start line: 1255 end line: 1442 size: 161 LOC McCabe index: 48 number of parameters: 1 id: 3 unit: WireMessage.prototype.encode = function() file: application/resources/libs/paho-mqtt.js start line: 273 end line: 457 size: 136 LOC McCabe index: 39 number of parameters: 0 id: 4 unit: createKinesis() file: infrastructure/cdk/lib/layer/ingestionConsumptionLayer.ts start line: 48 end line: 174 size: 120 LOC McCabe index: 3 number of parameters: 1 id: 5 unit: private getScoreboardFunction() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 206 end line: 316 size: 98 LOC McCabe index: 6 number of parameters: 0 id: 6 unit: updateUsersRoles() file: infrastructure/cdk/lib/layer/ingestionConsumptionLayer.ts start line: 1042 end line: 1137 size: 91 LOC McCabe index: 1 number of parameters: 1 id: 7 unit: buildResources() file: infrastructure/cdk/lib/layer/mainLayer.ts start line: 29 end line: 121 size: 68 LOC McCabe index: 5 number of parameters: 0 id: 8 unit: ClientImpl.prototype._disconnected = function() file: application/resources/libs/paho-mqtt.js start line: 1546 end line: 1618 size: 66 LOC McCabe index: 19 number of parameters: 2 id: 9 unit: function decodeMessage() file: application/resources/libs/paho-mqtt.js start line: 459 end line: 537 size: 65 LOC McCabe index: 16 number of parameters: 2 id: 10 unit: private getDeallocateGamerFunction() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 133 end line: 204 size: 64 LOC McCabe index: 4 number of parameters: 0 id: 11 unit: private createBucket() file: infrastructure/cdk/lib/layer/storageLayer.ts start line: 31 end line: 92 size: 62 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: private getAllocateGamerFunction() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 63 end line: 131 size: 62 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: constructor() file: application/resources/js/awsfacade.js start line: 150 end line: 209 size: 60 LOC McCabe index: 2 number of parameters: 1 id: 14 unit: const allocateSeatForGamer = function() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 71 end line: 128 size: 56 LOC McCabe index: 10 number of parameters: 4 id: 15 unit: function Game() file: application/game/js/alienattack.js start line: 60 end line: 141 size: 54 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: function bnModPow() file: application/resources/libs/jsbn2.js start line: 411 end line: 467 size: 52 LOC McCabe index: 21 number of parameters: 2 id: 17 unit: private createUserPool() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 66 end line: 116 size: 51 LOC McCabe index: 3 number of parameters: 0 id: 18 unit: const deallocateUsers = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 70 end line: 123 size: 50 LOC McCabe index: 4 number of parameters: 3 id: 19 unit: retrieveData() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 72 end line: 122 size: 50 LOC McCabe index: 10 number of parameters: 1 id: 20 unit: private getWebSocketConnectFunction() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 57 end line: 110 size: 47 LOC McCabe index: 3 number of parameters: 0 id: 21 unit: private getWebSocketSynchronizeFunction() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 113 end line: 166 size: 47 LOC McCabe index: 3 number of parameters: 0 id: 22 unit: private getWebSocketDisconnectFunction() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 169 end line: 222 size: 47 LOC McCabe index: 3 number of parameters: 0 id: 23 unit: private createUserPoolGroups() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 134 end line: 184 size: 47 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: const deallocateGamer = function() file: infrastructure/cdk/lambdas/deallocateGamer/index.js start line: 57 end line: 102 size: 45 LOC McCabe index: 6 number of parameters: 2 id: 25 unit: function bnpDivRemTo() file: application/resources/libs/jsbn.js start line: 353 end line: 398 size: 45 LOC McCabe index: 17 number of parameters: 3 id: 26 unit: function parseUTF8() file: application/resources/libs/paho-mqtt.js start line: 640 end line: 686 size: 45 LOC McCabe index: 10 number of parameters: 3 id: 27 unit: Game.prototype.userCanPlay = function() file: application/game/js/alienattack.js start line: 370 end line: 413 size: 42 LOC McCabe index: 11 number of parameters: 0 id: 28 unit: WaitForSessionState.prototype.playConnected = function() file: application/game/js/alienattack.js start line: 734 end line: 775 size: 41 LOC McCabe index: 8 number of parameters: 0 id: 29 unit: function bnModInverse() file: application/resources/libs/jsbn2.js start line: 508 end line: 547 size: 40 LOC McCabe index: 22 number of parameters: 1 id: 30 unit: deallocateGamer() file: infrastructure/cdk/lambdas/deallocateGamer/index.js start line: 154 end line: 192 size: 39 LOC McCabe index: 2 number of parameters: 3 id: 31 unit: login() file: application/scoreboard/js/scoreboard.js start line: 19 end line: 57 size: 39 LOC McCabe index: 10 number of parameters: 3 id: 32 unit: var resetUserAttributes = function() file: infrastructure/cdk/lambdas/gameInit/index.js start line: 38 end line: 75 size: 38 LOC McCabe index: 6 number of parameters: 4 id: 33 unit: allocateGamer() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 205 end line: 241 size: 37 LOC McCabe index: 2 number of parameters: 3 id: 34 unit: function bnpFromString() file: application/resources/libs/jsbn.js start line: 129 end line: 165 size: 37 LOC McCabe index: 17 number of parameters: 2 id: 35 unit: ClientImpl.prototype.restore = function() file: application/resources/libs/paho-mqtt.js start line: 1118 end line: 1158 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 36 unit: let printGamerScore = function() file: application/game/js/starfield.js start line: 170 end line: 210 size: 34 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: constructor() file: infrastructure/cdk/lib/layer/databaseLayer.ts start line: 13 end line: 48 size: 33 LOC McCabe index: 1 number of parameters: 3 id: 38 unit: ClientImpl.prototype.store = function() file: application/resources/libs/paho-mqtt.js start line: 1077 end line: 1116 size: 33 LOC McCabe index: 9 number of parameters: 2 id: 39 unit: ClientImpl.prototype._deframeMessages = function() file: application/resources/libs/paho-mqtt.js start line: 1222 end line: 1253 size: 32 LOC McCabe index: 7 number of parameters: 1 id: 40 unit: RegisterState.prototype.register = function() file: application/game/js/alienattack.js start line: 511 end line: 542 size: 32 LOC McCabe index: 13 number of parameters: 0 id: 41 unit: private createDistribution() file: infrastructure/cdk/lib/layer/contentDeliveryLayer.ts start line: 17 end line: 54 size: 31 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: readSessionData() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 205 end line: 260 size: 31 LOC McCabe index: 9 number of parameters: 3 id: 43 unit: function bnpSubTo() file: application/resources/libs/jsbn.js start line: 289 end line: 319 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 44 unit: function bnpAddTo() file: application/resources/libs/jsbn2.js start line: 253 end line: 283 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 45 unit: function WaitForSessionState() file: application/game/js/alienattack.js start line: 671 end line: 701 size: 31 LOC McCabe index: 7 number of parameters: 0 id: 46 unit: private creatPostRegistrationLambdaTrigger() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 235 end line: 265 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 47 unit: Starfield.prototype.drawScoreboard = function() file: application/game/js/starfield.js start line: 152 end line: 229 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 48 unit: WaitForSessionState.prototype.enter = function() file: application/game/js/alienattack.js start line: 703 end line: 732 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 49 unit: function stringToUTF8() file: application/resources/libs/paho-mqtt.js start line: 606 end line: 638 size: 29 LOC McCabe index: 8 number of parameters: 3 id: 50 unit: var ClientImpl = function() file: application/resources/libs/paho-mqtt.js start line: 760 end line: 815 size: 29 LOC McCabe index: 10 number of parameters: 5 id: 51 unit: ClientImpl.prototype.send = function() file: application/resources/libs/paho-mqtt.js start line: 944 end line: 981 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 52 unit: function() file: application/scoreboard/js/scoreboard.js start line: 86 end line: 116 size: 28 LOC McCabe index: 7 number of parameters: 2 id: 53 unit: var toRunWrapper = function() file: application/scoreboard/js/scoreboard.js start line: 370 end line: 397 size: 28 LOC McCabe index: 5 number of parameters: 0 id: 54 unit: allocateGamer() file: application/resources/js/awsfacade.js start line: 298 end line: 325 size: 28 LOC McCabe index: 7 number of parameters: 2 id: 55 unit: deallocateGamer() file: application/resources/js/awsfacade.js start line: 327 end line: 354 size: 28 LOC McCabe index: 7 number of parameters: 2 id: 56 unit: function bnToString() file: application/resources/libs/jsbn.js start line: 174 end line: 201 size: 28 LOC McCabe index: 14 number of parameters: 1 id: 57 unit: function RegisterState() file: application/game/js/alienattack.js start line: 457 end line: 489 size: 28 LOC McCabe index: 3 number of parameters: 0 id: 58 unit: makeAPIGatewayRequest() file: application/resources/js/awsfacade.js start line: 231 end line: 269 size: 27 LOC McCabe index: 10 number of parameters: 3 id: 59 unit: SigV4Utils.prototype.getSignedUrl = function() file: application/resources/libs/websocket.js start line: 15 end line: 47 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 60 unit: function() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 18 end line: 43 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 61 unit: function() file: infrastructure/cdk/lambdas/websocketConnect/index.js start line: 19 end line: 44 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 62 unit: function() file: infrastructure/cdk/lambdas/synchronousStart/index.js start line: 20 end line: 45 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: function() file: infrastructure/cdk/lambdas/websocketDisconnect/index.js start line: 19 end line: 44 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 64 unit: recordSessionStart() file: application/scoreboard/js/scoreboard.js start line: 151 end line: 233 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 65 unit: function ApiGatewayWebSocket() file: application/resources/libs/websocketAG.js start line: 4 end line: 29 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 66 unit: function bnGCD() file: application/resources/libs/jsbn2.js start line: 470 end line: 495 size: 26 LOC McCabe index: 10 number of parameters: 1 id: 67 unit: ClientImpl.prototype._doConnect = function() file: application/resources/libs/paho-mqtt.js start line: 1031 end line: 1061 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 68 unit: WaitForSessionState.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 786 end line: 811 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 69 unit: processKinesisRecords() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 274 end line: 298 size: 25 LOC McCabe index: 2 number of parameters: 3 id: 70 unit: function bnpFromRadix() file: application/resources/libs/jsbn2.js start line: 57 end line: 81 size: 25 LOC McCabe index: 9 number of parameters: 2 id: 71 unit: ClientImpl.prototype.subscribe = function() file: application/resources/libs/paho-mqtt.js start line: 886 end line: 917 size: 25 LOC McCabe index: 6 number of parameters: 2 id: 72 unit: private configureIdentityPoolRoles() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 186 end line: 233 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: const readSessionControlFromDynamoDB = function() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 46 end line: 69 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 74 unit: updateTable() file: application/scoreboard/js/scoreboard.js start line: 435 end line: 462 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 75 unit: function bnpFromNumber() file: application/resources/libs/jsbn2.js start line: 84 end line: 107 size: 24 LOC McCabe index: 8 number of parameters: 3 id: 76 unit: const readSessionControlFromDynamoDB = function() file: infrastructure/cdk/lambdas/deallocateGamer/index.js start line: 33 end line: 55 size: 23 LOC McCabe index: 2 number of parameters: 2 id: 77 unit: function bnToByteArray() file: application/resources/libs/jsbn2.js start line: 110 end line: 132 size: 23 LOC McCabe index: 11 number of parameters: 0 id: 78 unit: function bnpMillerRabin() file: application/resources/libs/jsbn2.js start line: 572 end line: 594 size: 23 LOC McCabe index: 10 number of parameters: 1 id: 79 unit: ClientImpl.prototype._trace = function() file: application/resources/libs/paho-mqtt.js start line: 1621 end line: 1644 size: 23 LOC McCabe index: 9 number of parameters: 0 id: 80 unit: Game.prototype.initialise = function() file: application/game/js/alienattack.js start line: 158 end line: 189 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 81 unit: updateAWSConfig() file: application/resources/js/awsfacade.js start line: 56 end line: 77 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 82 unit: ClientImpl.prototype.connect = function() file: application/resources/libs/paho-mqtt.js start line: 857 end line: 884 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 83 unit: resetUsers() file: infrastructure/cdk/lambdas/gameInit/index.js start line: 36 end line: 95 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 84 unit: const updateTopxTable = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 125 end line: 147 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 85 unit: function UTF8Length() file: application/resources/libs/paho-mqtt.js start line: 579 end line: 600 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 86 unit: ClientImpl.prototype._receivePublish = function() file: application/resources/libs/paho-mqtt.js start line: 1473 end line: 1497 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 87 unit: const recordConnectiontoSession = function() file: infrastructure/cdk/lambdas/websocketConnect/index.js start line: 47 end line: 66 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 88 unit: const readSessionParameter = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 28 end line: 48 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 89 unit: const readSessionData = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 149 end line: 168 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 90 unit: readSessionData() file: application/scoreboard/js/scoreboard.js start line: 124 end line: 143 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 91 unit: let synchronizeGameSessions = function() file: application/scoreboard/js/scoreboard.js start line: 289 end line: 308 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 92 unit: signUp() file: application/resources/js/awsfacade.js start line: 35 end line: 54 size: 20 LOC McCabe index: 6 number of parameters: 5 id: 93 unit: onSuccess: function() file: application/resources/js/awsfacade.js start line: 90 end line: 109 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 94 unit: getUserPoolId() file: infrastructure/cdk/lambdas/gameInit/index.js start line: 15 end line: 33 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 95 unit: readSessionParameter() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 188 end line: 263 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 96 unit: let updateSessionClosingTimeDDB = function() file: application/scoreboard/js/scoreboard.js start line: 251 end line: 269 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 97 unit: start() file: application/scoreboard/js/scoreboard.js start line: 280 end line: 325 size: 19 LOC McCabe index: 8 number of parameters: 2 id: 98 unit: RegisterState.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 491 end line: 509 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 99 unit: LoginState.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 595 end line: 613 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 100 unit: static async checkforExistingBuckets() file: infrastructure/cdk/lib/util/utils.ts start line: 27 end line: 48 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 101 unit: const writeSessionData = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 50 end line: 67 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 102 unit: retrieveData() file: application/scoreboard/js/scoreboard.dynamoinherited.js start line: 27 end line: 44 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 103 unit: getScoreboard() file: application/resources/js/awsfacade.js start line: 426 end line: 443 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 104 unit: ClientImpl.prototype.unsubscribe = function() file: application/resources/libs/paho-mqtt.js start line: 920 end line: 942 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 105 unit: createBuckets() file: infrastructure/cdk/lib/layer/storageLayer.ts start line: 94 end line: 113 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: function() file: infrastructure/cdk/lambdas/deallocateGamer/index.js start line: 14 end line: 30 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 107 unit: getConfig() file: application/resources/js/awsfacade.js start line: 408 end line: 424 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 108 unit: function bnIsProbablePrime() file: application/resources/libs/jsbn2.js start line: 553 end line: 569 size: 17 LOC McCabe index: 11 number of parameters: 1 id: 109 unit: function GameLoop() file: application/game/js/alienattack.js start line: 251 end line: 269 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 110 unit: function() file: application/game/js/alienattack.js start line: 437 end line: 453 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 111 unit: function Modal() file: application/resources/js/modal.js start line: 10 end line: 31 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: function bnpRShiftTo() file: application/resources/libs/jsbn.js start line: 271 end line: 286 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 113 unit: function bnpBitwiseTo() file: application/resources/libs/jsbn2.js start line: 139 end line: 154 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 114 unit: var validate = function() file: application/resources/libs/paho-mqtt.js start line: 143 end line: 158 size: 16 LOC McCabe index: 7 number of parameters: 2 id: 115 unit: var format = function() file: application/resources/libs/paho-mqtt.js start line: 218 end line: 233 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 116 unit: ClientImpl.prototype._requires_ack = function() file: application/resources/libs/paho-mqtt.js start line: 1181 end line: 1197 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 117 unit: ClientImpl.prototype._reconnect = function() file: application/resources/libs/paho-mqtt.js start line: 1522 end line: 1537 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 118 unit: static async bucketExists() file: infrastructure/cdk/lib/util/utils.ts start line: 11 end line: 25 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 119 unit: private createIdentityPool() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 118 end line: 132 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: readSessionControlFromDynamoDB() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 144 end line: 158 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 121 unit: moveToLogin() file: application/scoreboard/js/scoreboard.js start line: 351 end line: 365 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 122 unit: updateArray() file: application/scoreboard/js/scoreboard.js start line: 417 end line: 433 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 123 unit: function bnpLShiftTo() file: application/resources/libs/jsbn.js start line: 254 end line: 268 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 124 unit: function bnpSquareTo() file: application/resources/libs/jsbn.js start line: 335 end line: 349 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 125 unit: updateState() file: application/game/js/alienattack.js start line: 42 end line: 56 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 126 unit: LateStartWarning.prototype.playConnected = function() file: application/game/js/alienattack.js start line: 834 end line: 848 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 127 unit: const preProcessRecords = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 170 end line: 183 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 128 unit: let createSessionRecord = function() file: application/scoreboard/js/scoreboard.js start line: 165 end line: 178 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 129 unit: let createSessionControlRecord = function() file: application/scoreboard/js/scoreboard.js start line: 180 end line: 193 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 130 unit: Modal.prototype.show = function() file: application/resources/js/modal.js start line: 34 end line: 47 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 131 unit: function montReduce() file: application/resources/libs/jsbn.js start line: 478 end line: 494 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 132 unit: function WSClient() file: application/resources/libs/websocket.js start line: 49 end line: 69 size: 14 LOC McCabe index: 1 number of parameters: 5 id: 133 unit: ClientImpl.prototype._process_queue = function() file: application/resources/libs/paho-mqtt.js start line: 1160 end line: 1174 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 134 unit: Game.prototype.publishScore = function() file: application/game/js/alienattack.js start line: 329 end line: 342 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 135 unit: Game.prototype.publishStatus = function() file: application/game/js/alienattack.js start line: 344 end line: 357 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 136 unit: function() file: application/game/js/alienattack.js start line: 624 end line: 637 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 137 unit: SessionErrorState.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 654 end line: 668 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 138 unit: static hashFileOrDirectory() file: infrastructure/cdk/lib/util/utils.ts start line: 61 end line: 74 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 139 unit: init() file: infrastructure/cdk/lambdas/gameInit/index.js start line: 97 end line: 109 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 140 unit: var initializeShardIteratorFunction = function() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 19 end line: 31 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 141 unit: constructor() file: application/scoreboard/js/scoreboard.js start line: 5 end line: 17 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: constructor() file: application/resources/js/awsfacade.js start line: 10 end line: 25 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 143 unit: login() file: application/resources/js/awsfacade.js start line: 79 end line: 116 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 144 unit: init() file: application/resources/js/awsfacade.js start line: 212 end line: 224 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 145 unit: getWebSocketEndpoint() file: application/resources/js/awsfacade.js start line: 356 end line: 368 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 146 unit: getSession() file: application/resources/js/awsfacade.js start line: 370 end line: 382 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 147 unit: function bnpToRadix() file: application/resources/libs/jsbn2.js start line: 42 end line: 54 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 148 unit: function encodeMBI() file: application/resources/libs/paho-mqtt.js start line: 559 end line: 573 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 149 unit: ClientImpl.prototype.disconnect = function() file: application/resources/libs/paho-mqtt.js start line: 983 end line: 1005 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 150 unit: Starfield.prototype.start = function() file: application/game/js/starfield.js start line: 92 end line: 108 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 151 unit: Game.prototype.toggleMute = function() file: application/game/js/alienattack.js start line: 235 end line: 248 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 152 unit: constructor() file: infrastructure/cdk/lib/layer/configurationLayer.ts start line: 14 end line: 25 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 153 unit: async updateScoreboard() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 46 end line: 70 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 154 unit: var preLoopFunction = function() file: application/scoreboard/js/scoreboard.dynamoinherited.js start line: 12 end line: 23 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 155 unit: let recordSessionEndingSSM = function() file: application/scoreboard/js/scoreboard.js start line: 238 end line: 249 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 156 unit: function am2() file: application/resources/libs/jsbn.js start line: 44 end line: 55 size: 12 LOC McCabe index: 2 number of parameters: 6 id: 157 unit: function am3() file: application/resources/libs/jsbn.js start line: 58 end line: 69 size: 12 LOC McCabe index: 2 number of parameters: 6 id: 158 unit: ClientImpl.prototype._traceMask = function() file: application/resources/libs/paho-mqtt.js start line: 1647 end line: 1658 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 159 unit: this.D=!0}},stopCollectors:function() file: application/resources/libs/sjcl.js start line: 45 end line: 56 size: 12 LOC McCabe index: 71 number of parameters: 0 id: 160 unit: function RegisterOrLoginState() file: application/game/js/alienattack.js start line: 421 end line: 432 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: function LoginState() file: application/game/js/alienattack.js start line: 572 end line: 583 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: function SessionErrorState() file: application/game/js/alienattack.js start line: 641 end line: 652 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: constructor() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 46 end line: 61 size: 11 LOC McCabe index: 6 number of parameters: 3 id: 164 unit: let createSessionTopXRecord = function() file: application/scoreboard/js/scoreboard.js start line: 195 end line: 205 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 165 unit: stop() file: application/scoreboard/js/scoreboard.js start line: 335 end line: 345 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 166 unit: refreshCredentials() file: application/resources/js/awsfacade.js start line: 134 end line: 144 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: getServiceConfig() file: application/resources/js/awsfacade.js start line: 445 end line: 455 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 168 unit: let returnResult = function() file: application/resources/js/awsfacade.js start line: 459 end line: 469 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 169 unit: function bnpInvDigit() file: application/resources/libs/jsbn.js start line: 435 end line: 448 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 170 unit: function bnpExp() file: application/resources/libs/jsbn.js start line: 512 end line: 522 size: 11 LOC McCabe index: 5 number of parameters: 2 id: 171 unit: var doPing = function() file: application/resources/libs/paho-mqtt.js start line: 707 end line: 717 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 172 unit: ClientImpl.prototype.getTraceLog = function() file: application/resources/libs/paho-mqtt.js start line: 1007 end line: 1018 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 173 unit: function Starfield() file: application/game/js/starfield.js start line: 11 end line: 65 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: Starfield.prototype.initialise = function() file: application/game/js/starfield.js start line: 68 end line: 90 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: Starfield.prototype.update = function() file: application/game/js/starfield.js start line: 114 end line: 126 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 176 unit: Starfield.prototype.draw = function() file: application/game/js/starfield.js start line: 132 end line: 149 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 177 unit: Game.prototype.moveToState = function() file: application/game/js/alienattack.js start line: 192 end line: 208 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 178 unit: LoginState.prototype.login = function() file: application/game/js/alienattack.js start line: 615 end line: 639 size: 11 LOC McCabe index: 5 number of parameters: 0 id: 179 unit: constructor() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 43 end line: 55 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 180 unit: constructor() file: infrastructure/cdk/lib/layer/ingestionConsumptionLayer.ts start line: 32 end line: 46 size: 10 LOC McCabe index: 6 number of parameters: 3 id: 181 unit: let createSSMRecord = function() file: application/scoreboard/js/scoreboard.js start line: 154 end line: 163 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 182 unit: recordSessionEnding() file: application/scoreboard/js/scoreboard.js start line: 235 end line: 277 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 183 unit: getUserPoolData() file: application/resources/js/awsfacade.js start line: 457 end line: 477 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 184 unit: login() file: application/resources/js/awsfacade.js start line: 497 end line: 506 size: 10 LOC McCabe index: 6 number of parameters: 3 id: 185 unit: function bnpMultiplyTo() file: application/resources/libs/jsbn.js start line: 323 end line: 332 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 186 unit: function lbit() file: application/resources/libs/jsbn2.js start line: 196 end line: 205 size: 10 LOC McCabe index: 7 number of parameters: 1 id: 187 unit: function bnpDAddOffset() file: application/resources/libs/jsbn2.js start line: 318 end line: 327 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 188 unit: function bnpMultiplyLowerTo() file: application/resources/libs/jsbn2.js start line: 345 end line: 354 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 189 unit: function bnpMultiplyUpperTo() file: application/resources/libs/jsbn2.js start line: 358 end line: 367 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 190 unit: ClientImpl.prototype._socket_send = function() file: application/resources/libs/paho-mqtt.js start line: 1459 end line: 1470 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 191 unit: Game.prototype.popState = function() file: application/game/js/alienattack.js start line: 281 end line: 292 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 192 unit: LateStartWarning.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 823 end line: 832 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 193 unit: addResources() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 48 end line: 56 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 194 unit: addResources() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 154 end line: 162 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 195 unit: addResources() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 201 end line: 209 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 196 unit: run() file: application/scoreboard/js/scoreboard.js start line: 367 end line: 404 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 197 unit: function bnCompareTo() file: application/resources/libs/jsbn.js start line: 210 end line: 218 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 198 unit: function nbits() file: application/resources/libs/jsbn.js start line: 221 end line: 229 size: 9 LOC McCabe index: 6 number of parameters: 1 id: 199 unit: function bnIntValue() file: application/resources/libs/jsbn2.js start line: 14 end line: 23 size: 9 LOC McCabe index: 6 number of parameters: 0 id: 200 unit: function barrettReduce() file: application/resources/libs/jsbn2.js start line: 388 end line: 396 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 201 unit: Game.prototype.run = function() file: application/game/js/alienattack.js start line: 215 end line: 227 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 202 unit: function LateStartWarning() file: application/game/js/alienattack.js start line: 813 end line: 821 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: constructor() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 57 end line: 64 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 204 unit: private createParameter() file: infrastructure/cdk/lib/layer/configurationLayer.ts start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 205 unit: constructor() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 35 end line: 42 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 206 unit: addParameters() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 103 end line: 110 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 207 unit: constructor() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 124 end line: 131 size: 8 LOC McCabe index: 6 number of parameters: 1 id: 208 unit: constructor() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 141 end line: 148 size: 8 LOC McCabe index: 5 number of parameters: 3 id: 209 unit: const scoreboardSortingFunction = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 10 end line: 17 size: 8 LOC McCabe index: 5 number of parameters: 2 id: 210 unit: let recordsCleanup = function() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 53 end line: 60 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 211 unit: static scoreboardSortingFunction() file: application/resources/js/gameutils.js start line: 7 end line: 14 size: 8 LOC McCabe index: 5 number of parameters: 2 id: 212 unit: xhttp.onreadystatechange = function() file: application/resources/js/awsfacade.js start line: 243 end line: 250 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 213 unit: signUp() file: application/resources/js/awsfacade.js start line: 488 end line: 495 size: 8 LOC McCabe index: 9 number of parameters: 5 id: 214 unit: function am1() file: application/resources/libs/jsbn.js start line: 33 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 6 id: 215 unit: function Montgomery() file: application/resources/libs/jsbn.js start line: 451 end line: 458 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: function bnpModInt() file: application/resources/libs/jsbn2.js start line: 498 end line: 505 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 217 unit: var WireMessage = function() file: application/resources/libs/paho-mqtt.js start line: 264 end line: 271 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 218 unit: constructor() file: application/game/js/alienattack.js start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: Game.prototype.pushState = function() file: application/game/js/alienattack.js start line: 271 end line: 279 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 220 unit: function RegisterFailureState() file: application/game/js/alienattack.js start line: 545 end line: 552 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: function RegisterSuccessState() file: application/game/js/alienattack.js start line: 558 end line: 565 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 222 unit: LoginState.prototype.enter = function() file: application/game/js/alienattack.js start line: 585 end line: 592 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 223 unit: WaitForSessionState.prototype.playAlone = function() file: application/game/js/alienattack.js start line: 777 end line: 784 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 224 unit: const reportInvalidRecordToDLQ = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 19 end line: 26 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: const readSessionFromSSM = function() file: infrastructure/cdk/lambdas/synchronousStart/index.js start line: 15 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: const readSessionFromSSM = function() file: infrastructure/cdk/lambdas/websocketDisconnect/index.js start line: 14 end line: 46 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: loadCurrentSession() file: application/scoreboard/js/scoreboard.js start line: 80 end line: 117 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: sync() file: application/scoreboard/js/scoreboard.js start line: 327 end line: 333 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 229 unit: getCredentials() file: application/resources/js/awsfacade.js start line: 118 end line: 124 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 230 unit: publishStatus() file: application/resources/js/awsfacade.js start line: 285 end line: 291 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 231 unit: function bnpFromInt() file: application/resources/libs/jsbn.js start line: 117 end line: 123 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 232 unit: function bnpDLShiftTo() file: application/resources/libs/jsbn.js start line: 238 end line: 244 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 233 unit: function montConvert() file: application/resources/libs/jsbn.js start line: 461 end line: 467 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 234 unit: function bnNot() file: application/resources/libs/jsbn2.js start line: 173 end line: 179 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 235 unit: function Barrett() file: application/resources/libs/jsbn2.js start line: 370 end line: 377 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: SigV4Utils.prototype.getSignatureKey = function() file: application/resources/libs/websocket.js start line: 7 end line: 13 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 237 unit: var Pinger = function() file: application/resources/libs/paho-mqtt.js start line: 692 end line: 729 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 238 unit: ClientImpl.prototype._on_socket_message = function() file: application/resources/libs/paho-mqtt.js start line: 1214 end line: 1220 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 239 unit: window.onresize = function() file: application/game/js/starfield.js start line: 76 end line: 82 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: Game.prototype.keyDown = function() file: application/game/js/alienattack.js start line: 301 end line: 307 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 241 unit: Game.prototype.keyUp = function() file: application/game/js/alienattack.js start line: 310 end line: 316 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 242 unit: constructor() file: infrastructure/cdk/lib/layer/mainLayer.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 5 number of parameters: 3 id: 243 unit: const readSessionFromSSM = function() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 13 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 244 unit: const readSessionFromSSM = function() file: infrastructure/cdk/lambdas/websocketConnect/index.js start line: 14 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: const readSessionFromSSM = function() file: infrastructure/cdk/lambdas/deallocateGamer/index.js start line: 9 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: normalizeRecord() file: application/scoreboard/js/scoreboard.js start line: 410 end line: 415 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 247 unit: getUserAttribute() file: application/resources/js/awsfacade.js start line: 516 end line: 521 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 248 unit: ApiGatewayWebSocket.prototype.sendMessage = function() file: application/resources/libs/websocketAG.js start line: 47 end line: 52 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 249 unit: ApiGatewayWebSocket.prototype.reConnect = function() file: application/resources/libs/websocketAG.js start line: 62 end line: 67 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 250 unit: function BigInteger() file: application/resources/libs/jsbn.js start line: 15 end line: 20 size: 6 LOC McCabe index: 5 number of parameters: 3 id: 251 unit: function bnMod() file: application/resources/libs/jsbn.js start line: 401 end line: 406 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 252 unit: function montRevert() file: application/resources/libs/jsbn.js start line: 470 end line: 475 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: function bnGetLowestSetBit() file: application/resources/libs/jsbn2.js start line: 208 end line: 213 size: 6 LOC McCabe index: 4 number of parameters: 0 id: 254 unit: this.reset = function() file: application/resources/libs/paho-mqtt.js start line: 719 end line: 724 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 255 unit: var Timeout = function() file: application/resources/libs/paho-mqtt.js start line: 735 end line: 750 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 256 unit: ClientImpl.prototype.startTrace = function() file: application/resources/libs/paho-mqtt.js start line: 1020 end line: 1025 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 257 unit: ClientImpl.prototype._schedule_message = function() file: application/resources/libs/paho-mqtt.js start line: 1069 end line: 1075 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 258 unit: ClientImpl.prototype._on_socket_open = function() file: application/resources/libs/paho-mqtt.js start line: 1203 end line: 1208 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: function Star() file: application/game/js/starfield.js start line: 231 end line: 236 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 260 unit: onFailure: function() file: application/resources/js/awsfacade.js start line: 110 end line: 114 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: Modal.prototype.close = function() file: application/resources/js/modal.js start line: 53 end line: 61 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 262 unit: function bnpCopyTo() file: application/resources/libs/jsbn.js start line: 110 end line: 114 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 263 unit: function bnpDRShiftTo() file: application/resources/libs/jsbn.js start line: 247 end line: 251 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 264 unit: function bnModPowInt() file: application/resources/libs/jsbn.js start line: 525 end line: 529 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 265 unit: function bnSigNum() file: application/resources/libs/jsbn2.js start line: 35 end line: 39 size: 5 LOC McCabe index: 5 number of parameters: 0 id: 266 unit: function bnShiftLeft() file: application/resources/libs/jsbn2.js start line: 182 end line: 186 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 267 unit: function bnShiftRight() file: application/resources/libs/jsbn2.js start line: 189 end line: 193 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 268 unit: function cbit() file: application/resources/libs/jsbn2.js start line: 216 end line: 220 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 269 unit: function bnBitCount() file: application/resources/libs/jsbn2.js start line: 223 end line: 227 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 270 unit: function bnTestBit() file: application/resources/libs/jsbn2.js start line: 230 end line: 234 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 271 unit: function bnpChangeBit() file: application/resources/libs/jsbn2.js start line: 237 end line: 241 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 272 unit: function bnDivideAndRemainder() file: application/resources/libs/jsbn2.js start line: 304 end line: 308 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: function bnpDMultiply() file: application/resources/libs/jsbn2.js start line: 311 end line: 315 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: function barrettConvert() file: application/resources/libs/jsbn2.js start line: 379 end line: 383 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 275 unit: var scope = function() file: application/resources/libs/paho-mqtt.js start line: 168 end line: 172 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 276 unit: function writeUint16() file: application/resources/libs/paho-mqtt.js start line: 539 end line: 543 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 277 unit: function writeString() file: application/resources/libs/paho-mqtt.js start line: 545 end line: 549 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 278 unit: var doTimeout = function() file: application/resources/libs/paho-mqtt.js start line: 700 end line: 704 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: var doTimeout = function() file: application/resources/libs/paho-mqtt.js start line: 740 end line: 744 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 280 unit: ClientImpl.prototype._on_socket_error = function() file: application/resources/libs/paho-mqtt.js start line: 1445 end line: 1449 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 281 unit: ClientImpl.prototype._on_socket_close = function() file: application/resources/libs/paho-mqtt.js start line: 1452 end line: 1456 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 282 unit: ClientImpl.prototype._receiveMessage = function() file: application/resources/libs/paho-mqtt.js start line: 1500 end line: 1504 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 283 unit: ClientImpl.prototype._connected = function() file: application/resources/libs/paho-mqtt.js start line: 1511 end line: 1515 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 284 unit: Game.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 323 end line: 327 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 285 unit: Game.prototype.deallocateGamer = function() file: application/game/js/alienattack.js start line: 415 end line: 419 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 286 unit: constructor() file: infrastructure/cdk/lib/layer/storageLayer.ts start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 287 unit: constructor() file: infrastructure/cdk/lib/layer/contentDeliveryLayer.ts start line: 12 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 288 unit: getUserPoolUrl() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 289 unit: getResourcesNames() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 69 end line: 72 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 290 unit: getApplicationName() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 92 end line: 95 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 291 unit: getResourcesNames() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 176 end line: 179 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 292 unit: constructor() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 192 end line: 195 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 293 unit: getResourcesNames() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 222 end line: 225 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 294 unit: writeSessionData() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 254 end line: 257 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 295 unit: constructor() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: initializeAWSServices() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 12 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: getInitializeShardIteratorFunction() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 17 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: run() file: application/scoreboard/js/scoreboard.kinesisinherited.js start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 299 unit: run() file: application/scoreboard/js/scoreboard.dynamoinherited.js start line: 10 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 300 unit: initializeAWSServices() file: application/scoreboard/js/scoreboard.js start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 301 unit: sort() file: application/scoreboard/js/scoreboard.js start line: 464 end line: 467 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: function intAt() file: application/resources/libs/jsbn.js start line: 104 end line: 107 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 303 unit: function bnpClamp() file: application/resources/libs/jsbn.js start line: 168 end line: 171 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 304 unit: function bnBitLength() file: application/resources/libs/jsbn.js start line: 232 end line: 235 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 305 unit: function cConvert() file: application/resources/libs/jsbn.js start line: 410 end line: 413 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 306 unit: onSuccess: function() file: application/resources/libs/websocket.js start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 307 unit: WSClient.prototype.onMessageArrived = function() file: application/resources/libs/websocket.js start line: 71 end line: 74 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 308 unit: Game.prototype.userHasAlreadyPlayed = function() file: application/game/js/alienattack.js start line: 359 end line: 362 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 309 unit: RegisterOrLoginState.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 435 end line: 455 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: function is_email() file: application/game/js/alienattack.js start line: 463 end line: 466 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: public getWebSocketFunctionArn() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 312 unit: public getWebSocketFunctionRef() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 313 unit: public getWebSocketSynchronizeFunctionArn() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 314 unit: public getWebSocketSynchronizeFunctionRef() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 315 unit: public getWebSocketDisconnectFunctionArn() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 316 unit: public getWebSocketDisconnectFunctionRef() file: infrastructure/cdk/lib/layer/websocketLayer.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 317 unit: getUserPoolId() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 318 unit: getUserPoolArn() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 319 unit: getUserPoolClient() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 320 unit: getIdentityPool() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 321 unit: getIdentityPoolId() file: infrastructure/cdk/lib/layer/securityLayer.ts start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 322 unit: public getAllocateFunctionArn() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 323 unit: public getAllocateFunctionRef() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 324 unit: public getDeallocateFunctionArn() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 325 unit: public getScoreboardFunctionArn() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 326 unit: public getScoreboardFunctionRef() file: infrastructure/cdk/lib/layer/processingLayer.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 327 unit: constructor() file: infrastructure/cdk/lib/nrta.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 328 unit: setApplicationName() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 89 end line: 91 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 329 unit: getProperties() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 181 end line: 183 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 330 unit: getProperties() file: infrastructure/cdk/lib/resourceawarestack.ts start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 331 unit: constructor() file: infrastructure/cdk/lambdas/gameInit/index.js start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 332 unit: const processKinesisRecords = function() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 185 end line: 264 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 333 unit: updateTopxTable() file: infrastructure/cdk/lambdas/scoreboard/index.js start line: 248 end line: 258 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 334 unit: initializeAWSServices() file: application/scoreboard/js/scoreboard.dynamoinherited.js start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 335 unit: setCurrentSession() file: application/scoreboard/js/scoreboard.js start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 336 unit: getCurrentSession() file: application/scoreboard/js/scoreboard.js start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 337 unit: currentSessionIsOpened() file: application/scoreboard/js/scoreboard.js start line: 72 end line: 74 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 338 unit: retrieveData() file: application/scoreboard/js/scoreboard.js start line: 347 end line: 349 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 339 unit: getUserAttributes() file: application/resources/js/awsfacade.js start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 340 unit: getSessionData() file: application/resources/js/awsfacade.js start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 341 unit: getCredentials() file: application/resources/js/awsfacade.js start line: 508 end line: 510 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 342 unit: getSessionData() file: application/resources/js/awsfacade.js start line: 512 end line: 514 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 343 unit: getSSM() file: application/resources/js/awsfacade.js start line: 523 end line: 525 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 344 unit: getDynamoDB() file: application/resources/js/awsfacade.js start line: 527 end line: 529 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 345 unit: getKinesisDataStream() file: application/resources/js/awsfacade.js start line: 531 end line: 533 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 346 unit: refreshSession() file: application/resources/js/awsfacade.js start line: 535 end line: 537 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 347 unit: Modal.prototype.setInnerHTML = function() file: application/resources/js/modal.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 348 unit: setTimeout() file: application/resources/js/modal.js start line: 58 end line: 60 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 349 unit: Modal.prototype.hide = function() file: application/resources/js/modal.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 350 unit: ApiGatewayWebSocket.prototype.setURL = function() file: application/resources/libs/websocketAG.js start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 351 unit: ApiGatewayWebSocket.prototype.onMessageListener = function() file: application/resources/libs/websocketAG.js start line: 35 end line: 37 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 352 unit: ApiGatewayWebSocket.prototype.onErrorListener = function() file: application/resources/libs/websocketAG.js start line: 39 end line: 41 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 353 unit: ApiGatewayWebSocket.prototype.onCloseListener = function() file: application/resources/libs/websocketAG.js start line: 43 end line: 45 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 354 unit: ApiGatewayWebSocket.prototype.close = function() file: application/resources/libs/websocketAG.js start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 355 unit: ApiGatewayWebSocket.prototype.isOpen = function() file: application/resources/libs/websocketAG.js start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 356 unit: onFailure: function() file: application/resources/libs/websocket.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 357 unit: WSClient.prototype.disconnect = function() file: application/resources/libs/websocket.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 358 unit: function readUint16() file: application/resources/libs/paho-mqtt.js start line: 551 end line: 553 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 359 unit: this.cancel = function() file: application/resources/libs/paho-mqtt.js start line: 726 end line: 728 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 360 unit: this.cancel = function() file: application/resources/libs/paho-mqtt.js start line: 747 end line: 749 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 361 unit: ClientImpl.prototype.stopTrace = function() file: application/resources/libs/paho-mqtt.js start line: 1027 end line: 1029 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 362 unit: Starfield.prototype.stop = function() file: application/game/js/starfield.js start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 363 unit: Starfield.prototype.setScoreboard = function() file: application/game/js/starfield.js start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 364 unit: Game.prototype.start = function() file: application/game/js/alienattack.js start line: 211 end line: 213 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 365 unit: Game.prototype.currentState = function() file: application/game/js/alienattack.js start line: 230 end line: 232 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 366 unit: RegisterFailureState.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 554 end line: 556 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 367 unit: RegisterSuccessState.prototype.modalClose = function() file: application/game/js/alienattack.js start line: 567 end line: 569 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 368 unit: const allocateGamer = function() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 130 end line: 163 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 369 unit: readSessionFromSSM() file: infrastructure/cdk/lambdas/allocateGamer/index.js start line: 131 end line: 162 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 370 unit: function NullExp() file: application/resources/libs/jsbn2.js start line: 330 end line: 330 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 371 unit: function SigV4Utils() file: application/resources/libs/websocket.js start line: 5 end line: 5 size: 1 LOC McCabe index: 1 number of parameters: 0