id: 1 unit: exports.handler = function() file: backend/Functions/WebSockets/auth/app.js start line: 25 end line: 122 size: 76 LOC McCabe index: 7 number of parameters: 3 id: 2 unit: async function scoreResponse() file: backend/Functions/IoT/answer_receive/app.js start line: 97 end line: 160 size: 64 LOC McCabe index: 14 number of parameters: 3 id: 3 unit: async function joingame() file: backend/Functions/WebSockets/livegameplayer/app.js start line: 33 end line: 95 size: 56 LOC McCabe index: 5 number of parameters: 4 id: 4 unit: async function getScoreboard() file: backend/Functions/HTTP/leaderboard_get/app.js start line: 30 end line: 81 size: 51 LOC McCabe index: 7 number of parameters: 2 id: 5 unit: async function updateXP() file: backend/Functions/Main/playerprogression_put/app.js start line: 40 end line: 90 size: 50 LOC McCabe index: 6 number of parameters: 3 id: 6 unit: async function getData() file: backend/sendchatlayer/index.js start line: 94 end line: 143 size: 46 LOC McCabe index: 7 number of parameters: 1 id: 7 unit: async function persistLeaderboard() file: backend/Functions/IoT/game_end/app.js start line: 99 end line: 138 size: 40 LOC McCabe index: 5 number of parameters: 1 id: 8 unit: async function ListOnMarketplace() file: backend/Functions/HTTP/game_listonmarketplace/app.js start line: 29 end line: 69 size: 39 LOC McCabe index: 5 number of parameters: 3 id: 9 unit: async function getActiveGames() file: backend/Functions/HTTP/activegames_list/app.js start line: 36 end line: 76 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: async function joinGame() file: backend/Functions/HTTP/game_play/app.js start line: 31 end line: 74 size: 37 LOC McCabe index: 4 number of parameters: 2 id: 11 unit: async function getGame() file: backend/Functions/HTTP/game_get/app.js start line: 30 end line: 66 size: 37 LOC McCabe index: 3 number of parameters: 2 id: 12 unit: async function sendResponseAsync() file: backend/Functions/Main/webpush_vapid_generate/app.js start line: 78 end line: 113 size: 36 LOC McCabe index: 1 number of parameters: 4 id: 13 unit: Dimensions: buildDimensions() file: backend/utilslayer/logger.js start line: 161 end line: 236 size: 34 LOC McCabe index: 9 number of parameters: 2 id: 14 unit: async function sendData() file: backend/sendchatlayer/index.js start line: 33 end line: 64 size: 31 LOC McCabe index: 4 number of parameters: 5 id: 15 unit: async function savePlayer() file: backend/Functions/HTTP/player_put/app.js start line: 32 end line: 62 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 16 unit: async function getMyGames() file: backend/Functions/HTTP/mygames_list/app.js start line: 28 end line: 61 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: async function handleCreate() file: backend/Functions/Main/webpush_vapid_generate/app.js start line: 47 end line: 76 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: async function GetQuestions() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 97 end line: 126 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: async function updateScoreboard() file: backend/Functions/Main/score_put/app.js start line: 30 end line: 58 size: 28 LOC McCabe index: 4 number of parameters: 4 id: 20 unit: async function formatMessage() file: backend/sendchatlayer/index.js start line: 66 end line: 92 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 21 unit: async function getQuestionsFromCache() file: backend/Functions/IoT/game_cache/app.js start line: 111 end line: 135 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 22 unit: async function getSubscriptions() file: backend/Functions/Main/webpush_notification_send/app.js start line: 83 end line: 107 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: async function addToWallet() file: backend/Functions/Main/money_adjust/app.js start line: 29 end line: 53 size: 25 LOC McCabe index: 4 number of parameters: 3 id: 24 unit: function getCredentials() file: frontend/src/services/Cognito.js start line: 51 end line: 74 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: async function getQuestion() file: backend/Functions/IoT/question_send/app.js start line: 61 end line: 84 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 26 unit: function loginUser() file: frontend/src/services/Cognito.js start line: 104 end line: 127 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 27 unit: async function activateGame() file: backend/Functions/HTTP/game_activate/app.js start line: 60 end line: 84 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: function AuthPolicy() file: backend/Functions/WebSockets/auth/app.js start line: 145 end line: 205 size: 23 LOC McCabe index: 7 number of parameters: 3 id: 29 unit: async function activateGame() file: backend/Functions/HTTP/game_host/app.js start line: 34 end line: 57 size: 22 LOC McCabe index: 2 number of parameters: 4 id: 30 unit: async function getPlayerProgress() file: backend/Functions/HTTP/playerprogression_get/app.js start line: 30 end line: 51 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: async function handleAnswer() file: backend/Functions/IoT/answer_receive/app.js start line: 220 end line: 242 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: function authenticateUser() file: frontend/src/services/Cognito.js start line: 29 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: function buildUserObject() file: frontend/src/services/Cognito.js start line: 76 end line: 96 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: const getStatementsForEffect = function() file: backend/Functions/WebSockets/auth/app.js start line: 274 end line: 298 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 35 unit: async function deleteRecords() file: backend/Functions/WebSockets/gameplayer_delete/app.js start line: 46 end line: 68 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: function send() file: backend/Functions/Main/webpush_notification_send/app.js start line: 61 end line: 81 size: 21 LOC McCabe index: 2 number of parameters: 4 id: 37 unit: async function getPlayer() file: backend/Functions/HTTP/player_get/app.js start line: 29 end line: 48 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: async function hostGame() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 128 end line: 152 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 39 unit: async function getPlayerWallet() file: backend/Functions/HTTP/playerwallet_get/app.js start line: 30 end line: 48 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: async function getMarketplace() file: backend/Functions/HTTP/marketplace_get/app.js start line: 30 end line: 50 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 41 unit: async function addGameBucks() file: backend/Functions/HTTP/playerwallet_add/app.js start line: 29 end line: 47 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: async function getQuestionNumberFromCache() file: backend/Functions/IoT/question_send/app.js start line: 40 end line: 59 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: async function getScoreboard() file: backend/Functions/IoT/answer_receive/app.js start line: 188 end line: 206 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: async function saveSubscription() file: backend/Functions/HTTP/webpush_subscription_put/app.js start line: 28 end line: 45 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 45 unit: async function UpdatePlayerInventory() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 57 end line: 75 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: async function AddHostConnection() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 77 end line: 95 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 47 unit: async function getQuestionNumber() file: backend/Functions/IoT/answer_receive/app.js start line: 54 end line: 71 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: async function getScoreboard() file: backend/Functions/IoT/game_start/app.js start line: 49 end line: 66 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: async function getQuestionsFromDatabase() file: backend/Functions/IoT/game_cache/app.js start line: 92 end line: 109 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: async function getQuestionNumber() file: backend/Functions/IoT/game_cache/app.js start line: 170 end line: 187 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: async function handleDelete() file: backend/Functions/Main/webpush_vapid_generate/app.js start line: 28 end line: 45 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: async function saveQuestion() file: backend/Functions/HTTP/question_put/app.js start line: 31 end line: 47 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 53 unit: async function addToActiveGames() file: backend/Functions/IoT/game_cache/app.js start line: 62 end line: 79 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: export async function signup() file: frontend/src/services/Cognito.js start line: 142 end line: 157 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 55 unit: async function delete_records() file: backend/Functions/WebSockets/ondisconnect/app.js start line: 29 end line: 44 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: async function deleteCache() file: backend/Functions/IoT/game_end/app.js start line: 44 end line: 59 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: addLiveAdminPlayer() file: frontend/src/store/index.js start line: 294 end line: 310 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 58 unit: async attachPrincipalPolicy() file: frontend/src/services/DataServices.js start line: 215 end line: 229 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: async function removeLiveForPlayer() file: backend/Functions/HTTP/game_activate/app.js start line: 44 end line: 58 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 60 unit: async function removeLiveForPlayer() file: backend/Functions/HTTP/activegames_delete/app.js start line: 47 end line: 61 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 61 unit: async function putRecordToKinesis() file: backend/Functions/HTTP/purchasedgame_putkinesis/app.js start line: 41 end line: 59 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: async function sendProgressMessage() file: backend/Functions/HTTP/game_answer/app.js start line: 47 end line: 61 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 63 unit: async function sendLeaderboardMessage() file: backend/Functions/HTTP/game_answer/app.js start line: 63 end line: 77 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 64 unit: build() file: backend/Functions/WebSockets/auth/app.js start line: 388 end line: 403 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 65 unit: async function deleteActiveGame() file: backend/Functions/IoT/game_end/app.js start line: 61 end line: 76 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: async function sendToKinesis() file: backend/Functions/IoT/answer_receive/app.js start line: 162 end line: 176 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 67 unit: async function saveGameHeader() file: backend/Functions/HTTP/gameheader_put/app.js start line: 31 end line: 44 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: async function signedUrl() file: backend/Functions/HTTP/player_put/app.js start line: 64 end line: 77 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 69 unit: const addMethod = function() file: backend/Functions/WebSockets/auth/app.js start line: 221 end line: 243 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 70 unit: async function deleteItem() file: backend/Functions/WebSockets/gameplayer_delete/app.js start line: 31 end line: 44 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: async function addPlayerToLeaderboard() file: backend/Functions/IoT/game_join/app.js start line: 33 end line: 46 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 72 unit: async function attachPrincipalPolicy() file: backend/Functions/HTTP/permissions_add/app.js start line: 27 end line: 39 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 73 unit: async function sendHostGameMessage() file: backend/Functions/IoT/game_cache/app.js start line: 47 end line: 61 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: async function getQuestionList() file: backend/Functions/IoT/game_cache/app.js start line: 156 end line: 168 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: export function login() file: frontend/src/services/Cognito.js start line: 129 end line: 140 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 76 unit: async function removeLiveGame() file: backend/Functions/HTTP/game_activate/app.js start line: 31 end line: 42 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 77 unit: async function sendQuestionToTopic() file: backend/Functions/IoT/question_send/app.js start line: 86 end line: 97 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 78 unit: async function sendPlayerProgressMessage() file: backend/Functions/IoT/game_end/app.js start line: 78 end line: 89 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: async function saveResponse() file: backend/Functions/IoT/answer_receive/app.js start line: 84 end line: 95 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 80 unit: addLiveAdminPlayerBlitz() file: frontend/src/store/index.js start line: 311 end line: 322 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 81 unit: addLivePlayerPlayerBlitz() file: frontend/src/store/index.js start line: 389 end line: 400 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 82 unit: export function triggerforgotpw() file: frontend/src/services/Cognito.js start line: 159 end line: 177 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: export function resetforgotpw() file: frontend/src/services/Cognito.js start line: 179 end line: 196 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 84 unit: hostGame() file: frontend/src/services/DataServices.js start line: 72 end line: 82 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: scoreQuiz() file: frontend/src/services/DataServices.js start line: 83 end line: 93 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: getScoreboard() file: frontend/src/services/DataServices.js start line: 94 end line: 104 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: saveScore() file: frontend/src/services/DataServices.js start line: 105 end line: 115 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: getPlayer() file: frontend/src/services/DataServices.js start line: 116 end line: 126 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: setPlayer() file: frontend/src/services/DataServices.js start line: 127 end line: 137 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: postPlayerSubscription() file: frontend/src/services/DataServices.js start line: 138 end line: 148 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: getPlayerProgress() file: frontend/src/services/DataServices.js start line: 149 end line: 159 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: postPlayerWallet() file: frontend/src/services/DataServices.js start line: 160 end line: 170 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: getPlayerWallet() file: frontend/src/services/DataServices.js start line: 171 end line: 181 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: putGameToMarketplace() file: frontend/src/services/DataServices.js start line: 182 end line: 192 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: loadMarketplace() file: frontend/src/services/DataServices.js start line: 193 end line: 203 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: purchaseGame() file: frontend/src/services/DataServices.js start line: 204 end line: 214 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 97 unit: async function removeLiveGame() file: backend/Functions/HTTP/activegames_delete/app.js start line: 35 end line: 45 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 98 unit: async function sendScoreboard() file: backend/Functions/IoT/answer_receive/app.js start line: 208 end line: 218 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 99 unit: function dateString() file: backend/Functions/HTTP/purchasedgame_putkinesis/app.js start line: 29 end line: 39 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: function dateString() file: backend/Functions/HTTP/game_answer/app.js start line: 35 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: function dateString() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 45 end line: 55 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: async function updateProgress() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 167 end line: 176 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 103 unit: function dateString() file: backend/Functions/IoT/answer_receive/app.js start line: 42 end line: 52 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: async function sendPlayerCorrect() file: backend/Functions/IoT/answer_receive/app.js start line: 73 end line: 82 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: async function cacheQuestions() file: backend/Functions/IoT/game_cache/app.js start line: 81 end line: 90 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: async function handleProcess() file: backend/Functions/IoT/game_cache/app.js start line: 189 end line: 198 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: saveHeader() file: frontend/src/services/DataServices.js start line: 54 end line: 62 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: saveQuestion() file: frontend/src/services/DataServices.js start line: 63 end line: 71 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: async function sendScoreEvents() file: backend/Functions/HTTP/game_answer/app.js start line: 79 end line: 87 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: async function endGame() file: backend/Functions/IoT/game_end/app.js start line: 140 end line: 148 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 111 unit: async function sendIoTMessage() file: backend/Functions/IoT/answer_receive/app.js start line: 178 end line: 186 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 112 unit: async function sendIoTMessage() file: backend/Functions/IoT/game_start/app.js start line: 39 end line: 47 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 113 unit: async function sendScoreboard() file: backend/Functions/IoT/game_start/app.js start line: 68 end line: 76 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: async function sendIoTMessage() file: backend/Functions/IoT/game_cache/app.js start line: 137 end line: 145 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 115 unit: async function handleJoinedGame() file: backend/Functions/IoT/game_join/app.js start line: 47 end line: 55 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: async function sendIoTMessage() file: backend/Functions/Main/chat_send/app.js start line: 28 end line: 36 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: async function getLevel() file: backend/Functions/Main/playerprogression_put/app.js start line: 30 end line: 38 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 118 unit: updateAdminEditQuestion() file: frontend/src/store/index.js start line: 206 end line: 213 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 119 unit: setLivePlayerResponded() file: frontend/src/store/index.js start line: 363 end line: 370 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 120 unit: export default() file: frontend/src/services/Api.js start line: 19 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: const getEmptyStatement = function() file: backend/Functions/WebSockets/auth/app.js start line: 254 end line: 262 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: async function publishQuestionList() file: backend/Functions/IoT/game_cache/app.js start line: 147 end line: 154 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: async function sendChat() file: backend/Functions/Main/chat_send/app.js start line: 38 end line: 45 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: getActiveGameList() file: frontend/src/services/DataServices.js start line: 19 end line: 25 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 125 unit: getActiveGameQuery() file: frontend/src/services/DataServices.js start line: 26 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 126 unit: getMyGameList() file: frontend/src/services/DataServices.js start line: 33 end line: 39 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 127 unit: getGame() file: frontend/src/services/DataServices.js start line: 40 end line: 46 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 128 unit: getFullGame() file: frontend/src/services/DataServices.js start line: 47 end line: 53 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 129 unit: async function chat() file: backend/Functions/WebSockets/livegameplayer/app.js start line: 97 end line: 103 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 130 unit: async function sendNextQuestion() file: backend/Functions/IoT/question_send/app.js start line: 111 end line: 124 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: async function saveItem() file: backend/Functions/IoT/game_end/app.js start line: 91 end line: 97 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 132 unit: setBlitzPlayerResults() file: frontend/src/store/index.js start line: 220 end line: 225 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 133 unit: async function sendMessages() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 154 end line: 165 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: dateOfQuiz: dateString() file: backend/Functions/WebSockets/livegameadmin/app.js start line: 156 end line: 161 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 135 unit: async function sendQuestion() file: backend/Functions/IoT/question_send/app.js start line: 99 end line: 109 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 136 unit: await getQuestionNumberFromCache() file: backend/Functions/IoT/question_send/app.js start line: 113 end line: 118 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: resetLiveAdminPlayerAnsweredFlag() file: frontend/src/store/index.js start line: 327 end line: 331 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 138 unit: function returnSession() file: frontend/src/services/Cognito.js start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: await getQuestion() file: backend/Functions/IoT/question_send/app.js start line: 100 end line: 104 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 140 unit: async function startGame() file: backend/Functions/IoT/game_start/app.js start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: clearLiveBlitzPlayerResponses() file: frontend/src/store/index.js start line: 226 end line: 229 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: addLivePlayerPlayerResponses() file: frontend/src/store/index.js start line: 242 end line: 245 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: addLiveAdminPlayerAnswered() file: frontend/src/store/index.js start line: 323 end line: 326 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 144 unit: setLiveAdminPlayerScore() file: frontend/src/store/index.js start line: 335 end line: 338 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: onFailure: function() file: frontend/src/services/Cognito.js start line: 171 end line: 174 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 146 unit: export async function cognitosignout() file: frontend/src/services/Cognito.js start line: 198 end line: 209 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 147 unit: onSuccess() file: frontend/src/services/Cognito.js start line: 200 end line: 203 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 148 unit: onFailure() file: frontend/src/services/Cognito.js start line: 204 end line: 207 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: await attachPrincipalPolicy() file: backend/Functions/HTTP/permissions_add/app.js start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 150 unit: setQuizType() file: frontend/src/store/index.js start line: 140 end line: 142 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 151 unit: setNumberofQuestions() file: frontend/src/store/index.js start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 152 unit: setUserCognito() file: frontend/src/store/index.js start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 153 unit: setUserName() file: frontend/src/store/index.js start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 154 unit: setUserPicture() file: frontend/src/store/index.js start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 155 unit: setUserJWT() file: frontend/src/store/index.js start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 156 unit: setAccessJWT() file: frontend/src/store/index.js start line: 173 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 157 unit: setProfileLocation() file: frontend/src/store/index.js start line: 176 end line: 178 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 158 unit: setProfileName() file: frontend/src/store/index.js start line: 179 end line: 181 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 159 unit: setProfileAvatar() file: frontend/src/store/index.js start line: 182 end line: 184 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 160 unit: setConnected() file: frontend/src/store/index.js start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 161 unit: setMQTTConnected() file: frontend/src/store/index.js start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 162 unit: setGameList() file: frontend/src/store/index.js start line: 191 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 163 unit: setHostGameList() file: frontend/src/store/index.js start line: 194 end line: 196 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 164 unit: setAdminGameList() file: frontend/src/store/index.js start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 165 unit: setAdminGame() file: frontend/src/store/index.js start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: setAdminLiveGameKey() file: frontend/src/store/index.js start line: 203 end line: 205 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 167 unit: setAdminLiveBlitzMode() file: frontend/src/store/index.js start line: 214 end line: 216 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 168 unit: setAdminLiveBlitzQuestion() file: frontend/src/store/index.js start line: 217 end line: 219 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 169 unit: setBlitzPlayerCount() file: frontend/src/store/index.js start line: 230 end line: 232 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: resetBlitzPlayerCount() file: frontend/src/store/index.js start line: 233 end line: 235 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: setLiveScoreboard() file: frontend/src/store/index.js start line: 236 end line: 238 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 172 unit: setBlitzIndividualResult() file: frontend/src/store/index.js start line: 239 end line: 241 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 173 unit: setPlayerLiveBlitzMode() file: frontend/src/store/index.js start line: 246 end line: 248 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 174 unit: setBlitzQuestionWinner() file: frontend/src/store/index.js start line: 249 end line: 251 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 175 unit: setBlitzPlayerGameOver() file: frontend/src/store/index.js start line: 252 end line: 254 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 176 unit: setPlayerLiveGameKey() file: frontend/src/store/index.js start line: 255 end line: 257 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 177 unit: setPlayerLiveHost() file: frontend/src/store/index.js start line: 258 end line: 260 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 178 unit: setHostGameMode() file: frontend/src/store/index.js start line: 261 end line: 263 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 179 unit: setPlayGameId() file: frontend/src/store/index.js start line: 264 end line: 266 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 180 unit: setUIMode() file: frontend/src/store/index.js start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: setLiveAdminLive() file: frontend/src/store/index.js start line: 270 end line: 272 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 182 unit: setLiveAdminUIMode() file: frontend/src/store/index.js start line: 273 end line: 275 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 183 unit: setLiveAdminQuestions() file: frontend/src/store/index.js start line: 276 end line: 278 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 184 unit: setLiveAdminQuizName() file: frontend/src/store/index.js start line: 279 end line: 281 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 185 unit: setLiveAdminGameId() file: frontend/src/store/index.js start line: 282 end line: 284 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: setLiveAdminQuestionType() file: frontend/src/store/index.js start line: 285 end line: 287 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 187 unit: setLiveAdminGameType() file: frontend/src/store/index.js start line: 288 end line: 290 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 188 unit: setLiveAdminQuestionNumber() file: frontend/src/store/index.js start line: 291 end line: 293 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 189 unit: setLiveAdminPlayersAnswered() file: frontend/src/store/index.js start line: 332 end line: 334 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 190 unit: setLiveAdminPlayers() file: frontend/src/store/index.js start line: 339 end line: 341 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 191 unit: setLivePlayerMode() file: frontend/src/store/index.js start line: 342 end line: 344 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 192 unit: setLivePlayerUIMode() file: frontend/src/store/index.js start line: 345 end line: 347 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 193 unit: setLivePlayerQuestion() file: frontend/src/store/index.js start line: 348 end line: 350 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 194 unit: setLivePlayerAnswer() file: frontend/src/store/index.js start line: 351 end line: 353 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 195 unit: setLivePlayerAlternatives() file: frontend/src/store/index.js start line: 354 end line: 356 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 196 unit: setLivePlayerFollowup() file: frontend/src/store/index.js start line: 357 end line: 359 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 197 unit: setLivePlayerScoreboard() file: frontend/src/store/index.js start line: 360 end line: 362 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 198 unit: setLivePlayerAnswerBoard() file: frontend/src/store/index.js start line: 371 end line: 373 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 199 unit: setLivePlayerQuestionGroup() file: frontend/src/store/index.js start line: 374 end line: 376 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 200 unit: setLivePlayerGameId() file: frontend/src/store/index.js start line: 377 end line: 379 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 201 unit: setLivePlayerQuizName() file: frontend/src/store/index.js start line: 380 end line: 382 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: setLivePlayerGameType() file: frontend/src/store/index.js start line: 383 end line: 385 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 203 unit: setLivePlayerScoreboardNote() file: frontend/src/store/index.js start line: 386 end line: 388 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 204 unit: onSuccess: function() file: frontend/src/services/Cognito.js start line: 167 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: onSuccess() file: frontend/src/services/Cognito.js start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 206 unit: onFailure() file: frontend/src/services/Cognito.js start line: 191 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: dateOfPurchase: dateString() file: backend/Functions/HTTP/purchasedgame_putkinesis/app.js start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: allowAllMethods() file: backend/Functions/WebSockets/auth/app.js start line: 307 end line: 309 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: denyAllMethods() file: backend/Functions/WebSockets/auth/app.js start line: 315 end line: 317 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: allowMethod() file: backend/Functions/WebSockets/auth/app.js start line: 329 end line: 331 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 211 unit: denyMethod() file: backend/Functions/WebSockets/auth/app.js start line: 343 end line: 345 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 212 unit: allowMethodWithConditions() file: backend/Functions/WebSockets/auth/app.js start line: 359 end line: 361 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 213 unit: denyMethodWithConditions() file: backend/Functions/WebSockets/auth/app.js start line: 375 end line: 377 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 214 unit: await logMetricEMF() file: backend/Functions/HTTP/game_play/app.js start line: 65 end line: 66 size: 2 LOC McCabe index: 1 number of parameters: 5 id: 215 unit: await logMetricEMF() file: backend/Functions/HTTP/game_play/app.js start line: 69 end line: 70 size: 2 LOC McCabe index: 1 number of parameters: 5 id: 216 unit: await logMetricEMF() file: backend/Functions/HTTP/marketplace_get/app.js start line: 43 end line: 44 size: 2 LOC McCabe index: 1 number of parameters: 5