id: 1 unit: module.exports = function() file: routes/onedoc.js start line: 20 end line: 394 size: 252 LOC McCabe index: 28 number of parameters: 2 id: 2 unit: function barChart() file: default/home/static/chart.js start line: 169 end line: 356 size: 167 LOC McCabe index: 29 number of parameters: 1 id: 3 unit: module.exports = function() file: routes/attachments.js start line: 10 end line: 184 size: 129 LOC McCabe index: 14 number of parameters: 2 id: 4 unit: async function drafts() file: routes/review.js start line: 38 end line: 165 size: 123 LOC McCabe index: 26 number of parameters: 2 id: 5 unit: function versionStatusTable5() file: default/cve5/script.js start line: 212 end line: 316 size: 105 LOC McCabe index: 40 number of parameters: 1 id: 6 unit: function() file: default/cve5/conf.js start line: 237 end line: 364 size: 101 LOC McCabe index: 42 number of parameters: 3 id: 7 unit: function upgradeDocv002to003() file: scripts/misc/upgrade.js start line: 42 end line: 148 size: 90 LOC McCabe index: 30 number of parameters: 1 id: 8 unit: async function() file: routes/doc.js start line: 252 end line: 339 size: 81 LOC McCabe index: 15 number of parameters: 2 id: 9 unit: affectedYesNo: function() file: public/js/util.js start line: 335 end line: 414 size: 80 LOC McCabe index: 32 number of parameters: 1 id: 10 unit: module.exports = function() file: routes/comments.js start line: 37 end line: 133 size: 76 LOC McCabe index: 4 number of parameters: 2 id: 11 unit: getAffectedProductString: function() file: public/js/util.js start line: 150 end line: 232 size: 73 LOC McCabe index: 29 number of parameters: 1 id: 12 unit: async function cvePost() file: default/cve5/portal.js start line: 633 end line: 730 size: 72 LOC McCabe index: 15 number of parameters: 0 id: 13 unit: setValue: async function() file: default/cve/script.js start line: 4 end line: 74 size: 71 LOC McCabe index: 19 number of parameters: 1 id: 14 unit: function pieChart() file: default/home/static/chart.js start line: 85 end line: 167 size: 69 LOC McCabe index: 9 number of parameters: 1 id: 15 unit: affectedTable: function() file: public/js/util.js start line: 233 end line: 301 size: 69 LOC McCabe index: 29 number of parameters: 1 id: 16 unit: setValue: async function() file: default/cve5/script.js start line: 116 end line: 183 size: 68 LOC McCabe index: 19 number of parameters: 1 id: 17 unit: async function loadProjectUrl() file: custom/cve5/asfpreload.js start line: 72 end line: 139 size: 66 LOC McCabe index: 15 number of parameters: 1 id: 18 unit: await request() file: customRoutes/allocatecve.js start line: 117 end line: 197 size: 66 LOC McCabe index: 9 number of parameters: 4 id: 19 unit: async function cveGetList() file: default/cve5/portal.js start line: 466 end line: 530 size: 65 LOC McCabe index: 21 number of parameters: 0 id: 20 unit: async function() file: routes/doc.js start line: 561 end line: 625 size: 63 LOC McCabe index: 8 number of parameters: 2 id: 21 unit: async function loadProductNames() file: custom/cve5/asfpreload.js start line: 9 end line: 69 size: 61 LOC McCabe index: 18 number of parameters: 0 id: 22 unit: function normalizeQuery() file: routes/doc.js start line: 340 end line: 404 size: 59 LOC McCabe index: 19 number of parameters: 1 id: 23 unit: function newPPT() file: public/js/ppt.js start line: 29 end line: 88 size: 53 LOC McCabe index: 4 number of parameters: 0 id: 24 unit: async function cveLoad() file: default/cve5/portal.js start line: 564 end line: 615 size: 49 LOC McCabe index: 12 number of parameters: 1 id: 25 unit: function() file: custom/cve5/conf.js start line: 416 end line: 463 size: 47 LOC McCabe index: 30 number of parameters: 3 id: 26 unit: function loadCVE() file: default/cve5/script.js start line: 29 end line: 74 size: 46 LOC McCabe index: 8 number of parameters: 1 id: 27 unit: async function cveUpdateUser() file: default/cve5/portal.js start line: 236 end line: 279 size: 42 LOC McCabe index: 11 number of parameters: 1 id: 28 unit: async function portalLogin() file: default/cve5/portal.js start line: 110 end line: 158 size: 41 LOC McCabe index: 8 number of parameters: 2 id: 29 unit: async function sendComment() file: public/js/comment.js start line: 3 end line: 49 size: 41 LOC McCabe index: 8 number of parameters: 1 id: 30 unit: module.addModelHistory = function() file: routes/onedoc.js start line: 140 end line: 183 size: 40 LOC McCabe index: 4 number of parameters: 3 id: 31 unit: function asflogin() file: custom/asf.js start line: 74 end line: 115 size: 39 LOC McCabe index: 10 number of parameters: 2 id: 32 unit: function loadCVE() file: default/cve/script.js start line: 140 end line: 177 size: 38 LOC McCabe index: 4 number of parameters: 1 id: 33 unit: module.exports = function() file: lib/querymw.js start line: 43 end line: 87 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 34 unit: asfhookshowcveacl: function() file: custom/asf.js start line: 277 end line: 311 size: 35 LOC McCabe index: 9 number of parameters: 3 id: 35 unit: reduceJSON: function() file: public/js/util.js start line: 97 end line: 134 size: 34 LOC McCabe index: 16 number of parameters: 1 id: 36 unit: function getProductAffected() file: default/cve/script.js start line: 179 end line: 213 size: 33 LOC McCabe index: 14 number of parameters: 1 id: 37 unit: module.exports = function() file: models/set.js start line: 7 end line: 40 size: 33 LOC McCabe index: 12 number of parameters: 2 id: 38 unit: appliesTo: function() file: public/js/util.js start line: 302 end line: 334 size: 33 LOC McCabe index: 14 number of parameters: 1 id: 39 unit: loadEmailLists: async function() file: custom/cve/conf.js start line: 372 end line: 404 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 40 unit: function() file: default/cve/conf.js start line: 1062 end line: 1094 size: 32 LOC McCabe index: 12 number of parameters: 3 id: 41 unit: async function cveUserKeyReset() file: default/cve5/portal.js start line: 203 end line: 234 size: 32 LOC McCabe index: 5 number of parameters: 2 id: 42 unit: function getProductAffected() file: default/cve5/script.js start line: 318 end line: 349 size: 32 LOC McCabe index: 14 number of parameters: 1 id: 43 unit: loadProductNames: async function() file: custom/cve/conf.js start line: 406 end line: 438 size: 32 LOC McCabe index: 7 number of parameters: 0 id: 44 unit: async function cveAddUser() file: default/cve5/portal.js start line: 337 end line: 368 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 45 unit: async function loadProductNames() file: custom/cve/asfpreload.js start line: 13 end line: 43 size: 31 LOC McCabe index: 8 number of parameters: 0 id: 46 unit: asfhookaddhistory: function() file: custom/asf.js start line: 328 end line: 358 size: 31 LOC McCabe index: 13 number of parameters: 2 id: 47 unit: module.exports = function() file: config/passport.js start line: 8 end line: 40 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 48 unit: async function showPortalView() file: default/cve5/portal.js start line: 66 end line: 94 size: 29 LOC McCabe index: 7 number of parameters: 2 id: 49 unit: get worker() file: default/cve5/cve.js start line: 240 end line: 274 size: 29 LOC McCabe index: 4 number of parameters: 0 id: 50 unit: diffline: function() file: public/js/util.js start line: 515 end line: 563 size: 29 LOC McCabe index: 9 number of parameters: 2 id: 51 unit: function publishCve() file: customRoutes/publishcve.js start line: 68 end line: 95 size: 28 LOC McCabe index: 5 number of parameters: 4 id: 52 unit: asfhookupsertdoc: function() file: custom/asf.js start line: 240 end line: 275 size: 26 LOC McCabe index: 11 number of parameters: 2 id: 53 unit: async function pageShow() file: default/cve5/portal.js start line: 426 end line: 452 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 54 unit: function() file: routes/onedoc.js start line: 290 end line: 316 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 55 unit: function plotCharts() file: default/home/static/chart.js start line: 51 end line: 77 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 56 unit: async function initCsClient() file: default/cve5/portal.js start line: 13 end line: 38 size: 24 LOC McCabe index: 6 number of parameters: 0 id: 57 unit: function cloneJSON() file: public/js/util.js start line: 25 end line: 51 size: 24 LOC McCabe index: 11 number of parameters: 1 id: 58 unit: timeSince: function() file: public/js/util.js start line: 439 end line: 465 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 59 unit: function itemDelete() file: public/js/comment.js start line: 74 end line: 97 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 60 unit: function newCommentBox() file: public/js/comment.js start line: 141 end line: 194 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 61 unit: function upgrade() file: scripts/misc/upgrade.js start line: 150 end line: 174 size: 24 LOC McCabe index: 3 number of parameters: 0 id: 62 unit: async function draftEmail() file: default/cve/script.js start line: 116 end line: 138 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 63 unit: async function cveRenderList() file: default/cve5/portal.js start line: 374 end line: 396 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 64 unit: getemaillistforpmc: function() file: custom/asf.js start line: 375 end line: 397 size: 23 LOC McCabe index: 8 number of parameters: 2 id: 65 unit: async function cveUserEdit() file: default/cve5/portal.js start line: 314 end line: 335 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 66 unit: (function (root, factory)() file: default/cve5/cve.js start line: 14 end line: 383 size: 22 LOC McCabe index: 7 number of parameters: 2 id: 67 unit: function addSlide() file: public/js/ppt.js start line: 3 end line: 26 size: 22 LOC McCabe index: 1 number of parameters: 4 id: 68 unit: async function asfpublicjson() file: custom/asf.js start line: 45 end line: 66 size: 22 LOC McCabe index: 8 number of parameters: 2 id: 69 unit: async function autoText() file: default/cve5/script.js start line: 419 end line: 443 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 70 unit: asfroutes: function() file: custom/asf.js start line: 202 end line: 222 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: function getCveIdState() file: customRoutes/publishcve.js start line: 46 end line: 66 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 72 unit: function tweetJSON() file: default/cve/script.js start line: 93 end line: 114 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 73 unit: async function check_create_key() file: default/cve5/static/cve5sw.js start line: 294 end line: 313 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 74 unit: nextPatchDay : function() file: public/js/util.js start line: 468 end line: 489 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 75 unit: async function draftEmail() file: default/cve5/script.js start line: 89 end line: 111 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 76 unit: function addRichText() file: default/cve5/script.js start line: 445 end line: 463 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: getCves() file: default/cve5/cve.js start line: 134 end line: 154 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 78 unit: module.exports = function() file: models/doc.js start line: 5 end line: 27 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: function orderKeys() file: public/js/util.js start line: 1 end line: 23 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 80 unit: jsonView: function() file: public/js/util.js start line: 78 end line: 96 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 81 unit: function severityLevel() file: scripts/misc/upgrade.js start line: 254 end line: 272 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 82 unit: compare: function() file: lib/pbkdf2.js start line: 33 end line: 53 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 83 unit: function allowedtopushlive() file: customRoutes/publishcve.js start line: 24 end line: 44 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 84 unit: function downloadElement() file: default/home/static/chart.js start line: 3 end line: 21 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 85 unit: function htmltoText() file: default/cve5/script.js start line: 358 end line: 379 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: function loadimg() file: public/js/util.js start line: 54 end line: 75 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 87 unit: async function getSubDocs() file: public/js/comment.js start line: 107 end line: 125 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 88 unit: async function asfpublicjsonlist() file: custom/asf.js start line: 23 end line: 43 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: function allowedtoallocatelive() file: customRoutes/allocatecve.js start line: 16 end line: 33 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 90 unit: function showPortalLogin() file: default/cve5/portal.js start line: 40 end line: 57 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: function portalErrorHandler() file: default/cve5/portal.js start line: 166 end line: 183 size: 17 LOC McCabe index: 10 number of parameters: 1 id: 92 unit: async function userlistUpdate() file: default/cve5/portal.js start line: 185 end line: 201 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 93 unit: function validateForm() file: default/cve5/portal.js start line: 294 end line: 312 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 94 unit: async function cveReserve() file: default/cve5/portal.js start line: 532 end line: 550 size: 17 LOC McCabe index: 6 number of parameters: 2 id: 95 unit: check_create_key() file: default/cve5/static/cve5sw.js start line: 42 end line: 58 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: function userslistjson() file: custom/asf.js start line: 172 end line: 189 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 97 unit: async function cveReserveAndRender() file: default/cve5/portal.js start line: 732 end line: 747 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 98 unit: function addRichTextCVE() file: default/cve5/script.js start line: 471 end line: 487 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 99 unit: module.exports = function() file: models/sections.js start line: 3 end line: 18 size: 16 LOC McCabe index: 7 number of parameters: 0 id: 100 unit: function paginate() file: default/cve5/portal.js start line: 405 end line: 423 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 101 unit: async function cveReject() file: default/cve5/portal.js start line: 617 end line: 631 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 102 unit: function cvssv3_0_to_cvss3_1() file: default/cve5/script.js start line: 489 end line: 503 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 103 unit: reader.onload = function() file: default/cve5/script.js start line: 511 end line: 526 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 104 unit: function preview() file: public/js/comment.js start line: 196 end line: 210 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 105 unit: function setpmc() file: custom/asf.js start line: 119 end line: 133 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 106 unit: sendemail: async function() file: customRoutes/email.js start line: 6 end line: 20 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 107 unit: function getProblemTypeString() file: default/cve5/script.js start line: 380 end line: 393 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 108 unit: function cveFixForVulnogram() file: default/cve5/script.js start line: 537 end line: 550 size: 14 LOC McCabe index: 10 number of parameters: 1 id: 109 unit: getDocuments: async function() file: public/js/util.js start line: 500 end line: 513 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 110 unit: severity: function() file: public/js/util.js start line: 697 end line: 710 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 111 unit: xhr.onreadystatechange = function() file: public/js/comment.js start line: 284 end line: 297 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 112 unit: img.onload = function() file: default/home/static/chart.js start line: 33 end line: 47 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: function tweetJSON() file: default/cve5/script.js start line: 9 end line: 27 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 114 unit: simpleMessage() file: default/cve5/cve.js start line: 276 end line: 290 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: mergeJSON : function() file: public/js/util.js start line: 416 end line: 438 size: 13 LOC McCabe index: 8 number of parameters: 2 id: 116 unit: severityLevel: function() file: public/js/util.js start line: 684 end line: 696 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 117 unit: var onDataHandler = function() file: scripts/useradd.js start line: 15 end line: 28 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 118 unit: function phraseSplit() file: lib/querymw.js start line: 2 end line: 14 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 119 unit: var updateResponse = function() file: routes/users.js start line: 204 end line: 216 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 120 unit: async function rejectRecord() file: default/cve5/script.js start line: 76 end line: 87 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 121 unit: reserveSeqCveIds() file: default/cve5/cve.js start line: 93 end line: 105 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: reserveNonSeqCveIds() file: default/cve5/cve.js start line: 107 end line: 119 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: function attach() file: public/js/comment.js start line: 212 end line: 244 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 124 unit: function setupYM() file: scripts/misc/upgrade.js start line: 176 end line: 187 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 125 unit: function setupYMsa() file: scripts/misc/upgrade.js start line: 189 end line: 200 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 126 unit: function calc() file: scripts/misc/upgrade.js start line: 228 end line: 239 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 127 unit: function sacalc() file: scripts/misc/upgrade.js start line: 241 end line: 252 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 128 unit: function() file: scripts/useradd.js start line: 85 end line: 96 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 129 unit: function() file: lib/pbkdf2.js start line: 18 end line: 30 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 130 unit: function() file: init-vulnogram.js start line: 55 end line: 66 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 131 unit: async function loadEmailLists() file: custom/cve/asfpreload.js start line: 45 end line: 56 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 132 unit: async function loadEmailLists() file: custom/cve5/asfpreload.js start line: 141 end line: 152 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 133 unit: asfhookaddcomment: function() file: custom/asf.js start line: 315 end line: 326 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 134 unit: function ensureConnected() file: app.js start line: 133 end line: 144 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 135 unit: async function cveShowError() file: default/cve5/portal.js start line: 454 end line: 464 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 136 unit: async function loadCVEFile() file: default/cve5/script.js start line: 505 end line: 535 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 137 unit: async function encryptMessage() file: default/cve5/static/cve5sw.js start line: 194 end line: 204 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 138 unit: async function decryptMessage() file: default/cve5/static/cve5sw.js start line: 205 end line: 216 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 139 unit: reserveCveId() file: default/cve5/cve.js start line: 80 end line: 91 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: send() file: default/cve5/cve.js start line: 292 end line: 302 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 141 unit: destroy() file: default/cve5/cve.js start line: 361 end line: 374 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 142 unit: function editPost() file: public/js/comment.js start line: 127 end line: 139 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: function idUpgrade() file: scripts/misc/upgrade.js start line: 204 end line: 215 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: getProductListNoVendor: function() file: custom/cve/conf.js start line: 361 end line: 371 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 145 unit: function getProductListNoVendor() file: custom/cve/asfpreload.js start line: 1 end line: 11 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 146 unit: asfgroupacls: function() file: custom/asf.js start line: 224 end line: 236 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 147 unit: function downloadPNG() file: default/home/static/chart.js start line: 23 end line: 49 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 148 unit: async function cveSelectLoad() file: default/cve5/portal.js start line: 552 end line: 561 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 149 unit: getPR: function() file: public/js/util.js start line: 139 end line: 148 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: function isObject() file: public/js/util.js start line: 417 end line: 426 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 151 unit: deep_value: function() file: public/js/util.js start line: 490 end line: 499 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 152 unit: vector: function() file: public/js/util.js start line: 642 end line: 652 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 153 unit: vector2: function() file: public/js/util.js start line: 653 end line: 662 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 154 unit: cve: optSet() file: scripts/standalone.js start line: 22 end line: 33 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 155 unit: function usersprofile() file: custom/asf.js start line: 145 end line: 154 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 156 unit: getsecurityemailaddress: function() file: custom/asf.js start line: 364 end line: 373 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 157 unit: function URItoarrayBuffer() file: default/cve5/static/cve5sw.js start line: 227 end line: 235 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 158 unit: async function sha256sum() file: default/cve5/static/cve5sw.js start line: 238 end line: 246 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: cve4: optSet() file: scripts/standalone.js start line: 23 end line: 33 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 160 unit: function usersmejson() file: custom/asf.js start line: 135 end line: 143 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 161 unit: asfinit: function() file: custom/asf.js start line: 192 end line: 200 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 162 unit: function addError() file: default/cve5/portal.js start line: 285 end line: 292 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: open.onupgradeneeded = function() file: default/cve5/static/cve5sw.js start line: 250 end line: 257 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 164 unit: open.onsuccess = function() file: default/cve5/static/cve5sw.js start line: 258 end line: 283 size: 8 LOC McCabe index: 4 number of parameters: 0 id: 165 unit: on() file: default/cve5/cve.js start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: constructor() file: default/cve5/cve.js start line: 230 end line: 238 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 167 unit: roundUp1: function Roundup() file: public/js/util.js start line: 711 end line: 718 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 168 unit: async function setComments() file: public/js/comment.js start line: 51 end line: 59 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 169 unit: async function getFiles() file: public/js/comment.js start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 170 unit: updateProgress: function() file: public/js/comment.js start line: 233 end line: 240 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 171 unit: function hidden() file: scripts/useradd.js start line: 13 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 172 unit: hash: function() file: lib/pbkdf2.js start line: 12 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 173 unit: function ensureAuthenticated() file: app.js start line: 124 end line: 131 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 174 unit: function getProductList() file: default/cve5/script.js start line: 394 end line: 400 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 175 unit: function getBestTitle() file: default/cve5/script.js start line: 401 end line: 407 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 176 unit: async function arrayBuffertoURI() file: default/cve5/static/cve5sw.js start line: 217 end line: 226 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 177 unit: serviceRequest() file: default/cve5/cve.js start line: 304 end line: 311 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: setCredentials() file: default/cve5/cve.js start line: 317 end line: 324 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: get() file: default/cve5/cve.js start line: 326 end line: 333 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 180 unit: post() file: default/cve5/cve.js start line: 335 end line: 342 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 181 unit: put() file: default/cve5/cve.js start line: 344 end line: 351 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 182 unit: get orgName() file: default/cve5/cve.js start line: 353 end line: 359 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 183 unit: var stringifyArray = function() file: public/js/util.js start line: 214 end line: 220 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 184 unit: async function getChanges() file: public/js/comment.js start line: 99 end line: 105 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: wys.composer.doc.onkeyup = function() file: public/js/comment.js start line: 160 end line: 166 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 186 unit: function alertFiles() file: public/js/comment.js start line: 172 end line: 188 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 187 unit: function getProductListNoVendor() file: custom/cve5/asfpreload.js start line: 1 end line: 7 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 188 unit: async function() file: routes/doc.js start line: 232 end line: 238 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 189 unit: function showError() file: default/home/static/chart.js start line: 79 end line: 84 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 190 unit: setValue: function() file: default/cve/script.js start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: async function preloadCve() file: default/cve5/preload.js start line: 1 end line: 7 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 192 unit: async function portalLogout() file: default/cve5/portal.js start line: 59 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 193 unit: async function editorSetCveDatalist() file: default/cve5/portal.js start line: 398 end line: 403 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: setValue: function() file: default/cve5/script.js start line: 187 end line: 192 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: function domhtml() file: default/cve5/script.js start line: 351 end line: 356 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 196 unit: checkSession() file: default/cve5/static/cve5sw.js start line: 169 end line: 174 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 197 unit: checkSession() file: default/cve5/static/cve5sw.js start line: 177 end line: 182 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: async function save_key() file: default/cve5/static/cve5sw.js start line: 287 end line: 292 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 199 unit: updateCveId() file: default/cve5/cve.js start line: 125 end line: 132 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 200 unit: success: function() file: public/js/comment.js start line: 221 end line: 228 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: async function() file: routes/attachments.js start line: 158 end line: 163 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: async function() file: routes/doc.js start line: 242 end line: 248 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 203 unit: setValue: function() file: default/home/script.js start line: 4 end line: 8 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: function addRichTextArray() file: default/cve5/script.js start line: 465 end line: 469 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 205 unit: function dbManager() file: default/cve5/static/cve5sw.js start line: 247 end line: 285 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 206 unit: defaultTabs.sourceTab.getValue = function() file: default/cve5/postload.js start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: getOrgInfo() file: default/cve5/cve.js start line: 180 end line: 184 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: updateOrgInfo() file: default/cve5/cve.js start line: 186 end line: 190 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: createOrgUser() file: default/cve5/cve.js start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: updateOrgUser() file: default/cve5/cve.js start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 211 unit: resetOrgUserApiKey() file: default/cve5/cve.js start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 212 unit: getOrgUsers() file: default/cve5/cve.js start line: 210 end line: 214 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: getOrgIdQuota() file: default/cve5/cve.js start line: 216 end line: 220 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: getOrgUser() file: default/cve5/cve.js start line: 222 end line: 226 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: doc_id: getDocID() file: public/js/comment.js start line: 66 end line: 75 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 216 unit: function fileDelete() file: public/js/comment.js start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: function asflogout() file: custom/asf.js start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 218 unit: ret: await unifiedComments() file: routes/comments.js start line: 80 end line: 84 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 219 unit: function hidepopups() file: default/cve5/script.js start line: 4 end line: 7 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 220 unit: reader.onerror = function() file: default/cve5/script.js start line: 527 end line: 530 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: reader.onload = function() file: public/js/util.js start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: fileSize : function() file: public/js/util.js start line: 564 end line: 567 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 223 unit: reader.onload = function() file: public/js/comment.js start line: 180 end line: 184 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: failure: function() file: public/js/comment.js start line: 229 end line: 232 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: async function asfemaillists() file: custom/asf.js start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 226 unit: ret: await unifiedComments() file: routes/comments.js start line: 106 end line: 110 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 227 unit: async function() file: routes/attachments.js start line: 126 end line: 129 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 228 unit: async function() file: routes/attachments.js start line: 153 end line: 156 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 229 unit: href: function() file: default/cve/conf.js start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: setValue: function() file: default/cve/script.js start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: href: function() file: default/cve5/conf.js start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 232 unit: loginChannel.onmessage = function() file: default/cve5/portal.js start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: logoutChannel.onmessage = function() file: default/cve5/portal.js start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: function resetPortalLoginErr() file: default/cve5/portal.js start line: 160 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 235 unit: function removeErrors() file: default/cve5/portal.js start line: 281 end line: 283 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: async function cveOrgUpdate() file: default/cve5/portal.js start line: 370 end line: 372 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 237 unit: setValue: function() file: default/cve5/script.js start line: 203 end line: 205 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: reader.onloadend = function() file: default/cve5/static/cve5sw.js start line: 221 end line: 223 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 239 unit: getUser.onsuccess = function() file: default/cve5/static/cve5sw.js start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: getSum.onsuccess = function() file: default/cve5/static/cve5sw.js start line: 273 end line: 275 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: tx.oncomplete = function() file: default/cve5/static/cve5sw.js start line: 280 end line: 282 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 242 unit: constructor() file: default/cve5/cve.js start line: 36 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 243 unit: login() file: default/cve5/cve.js start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 244 unit: logout() file: default/cve5/cve.js start line: 50 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 245 unit: active() file: default/cve5/cve.js start line: 55 end line: 57 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 246 unit: getCveIds() file: default/cve5/cve.js start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 247 unit: reserveCveIds() file: default/cve5/cve.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 248 unit: getCveId() file: default/cve5/cve.js start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 249 unit: getCve() file: default/cve5/cve.js start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: createCve() file: default/cve5/cve.js start line: 160 end line: 162 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 251 unit: updateCve() file: default/cve5/cve.js start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 252 unit: createRejectedCve() file: default/cve5/cve.js start line: 168 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: updateRejectedCve() file: default/cve5/cve.js start line: 172 end line: 174 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 254 unit: getOrg() file: default/cve5/cve.js start line: 176 end line: 178 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 255 unit: echo() file: default/cve5/cve.js start line: 313 end line: 315 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 256 unit: getMITREJSON: function() file: public/js/util.js start line: 136 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: plainText: htmltoText() file: public/js/comment.js start line: 7 end line: 9 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 258 unit: function preventDefault() file: public/js/comment.js start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: var uf = function() file: public/js/comment.js start line: 275 end line: 277 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 260 unit: href: function() file: custom/cve/conf.js start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: function userslist() file: custom/asf.js start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 262 unit: asfallowedtodelete: function() file: custom/asf.js start line: 360 end line: 362 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: var addHistory = function() file: routes/onedoc.js start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 264 unit: var random_slug = function() file: routes/comments.js start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 265 unit: function listenforLogins() file: default/cve5/portal.js start line: 99 end line: 103 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: function listenforLogouts() file: default/cve5/portal.js start line: 104 end line: 108 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: setValue: function() file: default/cve5/script.js start line: 196 end line: 198 size: 2 LOC McCabe index: 1 number of parameters: 0