id: 1 unit: function serveContentForUser() file: auth-sessions/app.js start line: 30 end line: 71 size: 38 LOC McCabe index: 4 number of parameters: 4 id: 2 unit: async function getAndUpdateTemplate() file: config/index.js start line: 62 end line: 93 size: 27 LOC McCabe index: 2 number of parameters: 0 id: 3 unit: getAccessToken() file: messaging/index.js start line: 49 end line: 76 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 4 unit: function buildOverrideMessage() file: messaging/index.js start line: 83 end line: 106 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: function startListeners() file: database/index.js start line: 106 end line: 133 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: function sendWeeklyTopPostEmail() file: database/index.js start line: 161 end line: 183 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 7 unit: function getAccessToken() file: messaging/index.js start line: 22 end line: 40 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 8 unit: function getUiConfig() file: auth-sessions/script.js start line: 34 end line: 65 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 9 unit: function startWeeklyTopPostEmailer() file: database/index.js start line: 138 end line: 156 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 10 unit: function checkIfSignedIn() file: auth-sessions/app.js start line: 94 end line: 108 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: function publishTemplate() file: config/index.js start line: 45 end line: 58 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 12 unit: function getTemplate() file: config/index.js start line: 26 end line: 38 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: const handleSignedInUser = function() file: auth-sessions/script.js start line: 72 end line: 91 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: function buildCommonMessage() file: messaging/index.js start line: 113 end line: 123 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: function sendNotificationEmail() file: database/index.js start line: 77 end line: 87 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: function sendNotificationToUser() file: database/index.js start line: 46 end line: 70 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 17 unit: function getAccessToken() file: config/index.js start line: 9 end line: 18 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: function createWeeklyTopPostsEmailHtml() file: database/index.js start line: 188 end line: 196 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: sendNotificationEmail() file: database/index.js start line: 54 end line: 64 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: function updateStarCount() file: database/index.js start line: 93 end line: 100 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: function attachCsrfToken() file: auth-sessions/app.js start line: 80 end line: 87 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 22 unit: const postIdTokenToSessionLogin = function() file: auth-sessions/script.js start line: 99 end line: 107 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 23 unit: function getCookie() file: auth-sessions/script.js start line: 26 end line: 29 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: '': function() file: auth-sessions/script.js start line: 39 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: '': function() file: auth-sessions/script.js start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: const initApp = function() file: auth-sessions/script.js start line: 112 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: function sendFcmMessage() file: messaging/index.js start line: 48 end line: 77 size: 2 LOC McCabe index: 1 number of parameters: 1