id: 1 unit: module.exports = function() file: routes/onedoc.js start line: 20 end line: 388 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: 11 end line: 196 size: 129 LOC McCabe index: 14 number of parameters: 2 id: 4 unit: function() file: default/cve5/conf.js start line: 237 end line: 391 size: 128 LOC McCabe index: 49 number of parameters: 3 id: 5 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: 6 unit: Score() file: default/cve5/static/cvss40.js start line: 130 end line: 266 size: 113 LOC McCabe index: 21 number of parameters: 0 id: 7 unit: Score() file: default/cvss4/static/cvss40.js start line: 130 end line: 266 size: 113 LOC McCabe index: 21 number of parameters: 0 id: 8 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: 9 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: 10 unit: async function() file: routes/doc.js start line: 252 end line: 339 size: 81 LOC McCabe index: 15 number of parameters: 2 id: 11 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: 12 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: 13 unit: async function loadProjectUrl() file: custom/cve5/asfpreload.js start line: 78 end line: 154 size: 75 LOC McCabe index: 15 number of parameters: 1 id: 14 unit: async function cvePost() file: default/cve5/portal.js start line: 659 end line: 756 size: 74 LOC McCabe index: 16 number of parameters: 0 id: 15 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: 16 unit: macrovector() file: default/cve5/static/cvss40.js start line: 310 end line: 388 size: 72 LOC McCabe index: 58 number of parameters: 0 id: 17 unit: macrovector() file: default/cvss4/static/cvss40.js start line: 310 end line: 388 size: 72 LOC McCabe index: 58 number of parameters: 0 id: 18 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: 19 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: 20 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: 21 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: 22 unit: async function loadProductNames() file: custom/cve5/asfpreload.js start line: 9 end line: 75 size: 67 LOC McCabe index: 18 number of parameters: 0 id: 23 unit: function() file: custom/cve5/conf.js start line: 461 end line: 527 size: 66 LOC McCabe index: 49 number of parameters: 3 id: 24 unit: await request() file: customRoutes/allocatecve.js start line: 117 end line: 197 size: 66 LOC McCabe index: 9 number of parameters: 4 id: 25 unit: async function cveGetList() file: default/cve5/portal.js start line: 486 end line: 550 size: 65 LOC McCabe index: 21 number of parameters: 0 id: 26 unit: async function() file: routes/doc.js start line: 561 end line: 625 size: 63 LOC McCabe index: 8 number of parameters: 2 id: 27 unit: function normalizeQuery() file: routes/doc.js start line: 340 end line: 404 size: 59 LOC McCabe index: 19 number of parameters: 1 id: 28 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: 29 unit: async function cveLoad() file: default/cve5/portal.js start line: 584 end line: 635 size: 49 LOC McCabe index: 12 number of parameters: 1 id: 30 unit: function loadCVE() file: default/cve5/script.js start line: 29 end line: 74 size: 46 LOC McCabe index: 9 number of parameters: 1 id: 31 unit: async function portalLogin() file: default/cve5/portal.js start line: 125 end line: 174 size: 42 LOC McCabe index: 8 number of parameters: 2 id: 32 unit: async function cveUpdateUser() file: default/cve5/portal.js start line: 253 end line: 296 size: 42 LOC McCabe index: 11 number of parameters: 1 id: 33 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: 34 unit: function asflogin() file: custom/asf.js start line: 99 end line: 140 size: 39 LOC McCabe index: 10 number of parameters: 2 id: 35 unit: module.addModelHistory = function() file: routes/onedoc.js start line: 137 end line: 178 size: 39 LOC McCabe index: 4 number of parameters: 3 id: 36 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: 37 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: 38 unit: async function showPortalView() file: default/cve5/portal.js start line: 73 end line: 109 size: 37 LOC McCabe index: 9 number of parameters: 2 id: 39 unit: asfhookshowcveacl: function() file: custom/asf.js start line: 302 end line: 336 size: 35 LOC McCabe index: 9 number of parameters: 3 id: 40 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: 41 unit: getemaillistforpmc: function() file: custom/asf.js start line: 400 end line: 432 size: 33 LOC McCabe index: 13 number of parameters: 2 id: 42 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: 43 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: 44 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: 45 unit: async function cveAddUser() file: default/cve5/portal.js start line: 354 end line: 387 size: 33 LOC McCabe index: 6 number of parameters: 1 id: 46 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: 47 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: 48 unit: async function cveUserKeyReset() file: default/cve5/portal.js start line: 220 end line: 251 size: 32 LOC McCabe index: 5 number of parameters: 2 id: 49 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: 50 unit: function() file: default/cve/conf.js start line: 1062 end line: 1094 size: 32 LOC McCabe index: 12 number of parameters: 3 id: 51 unit: asfhookaddhistory: function() file: custom/asf.js start line: 353 end line: 383 size: 31 LOC McCabe index: 13 number of parameters: 2 id: 52 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: 53 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: 54 unit: get worker() file: default/cve5/cve.js start line: 240 end line: 275 size: 30 LOC McCabe index: 4 number of parameters: 0 id: 55 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: 56 unit: function publishCve() file: customRoutes/publishcve.js start line: 68 end line: 95 size: 28 LOC McCabe index: 5 number of parameters: 4 id: 57 unit: asfhookupsertdoc: function() file: custom/asf.js start line: 265 end line: 300 size: 26 LOC McCabe index: 11 number of parameters: 2 id: 58 unit: async function asfpublicjsonlist() file: custom/asf.js start line: 23 end line: 49 size: 25 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: function() file: routes/onedoc.js start line: 284 end line: 310 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 60 unit: async function pageShow() file: default/cve5/portal.js start line: 445 end line: 471 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 61 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: 62 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: 63 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: 64 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: 65 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: 66 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: 67 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: 68 unit: function showPortalLogin() file: default/cve5/portal.js start line: 40 end line: 64 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 69 unit: async function cveRenderList() file: default/cve5/portal.js start line: 393 end line: 415 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 70 unit: async function autoText() file: default/cve5/script.js start line: 438 end line: 463 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 71 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: 72 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: 73 unit: (function (root, factory)() file: default/cve5/cve.js start line: 14 end line: 384 size: 22 LOC McCabe index: 7 number of parameters: 2 id: 74 unit: async function cveUserEdit() file: default/cve5/portal.js start line: 331 end line: 352 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 75 unit: asfroutes: function() file: custom/asf.js start line: 227 end line: 247 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: getReal() file: default/cve5/static/cvss40.js start line: 288 end line: 309 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 77 unit: getReal() file: default/cvss4/static/cvss40.js start line: 288 end line: 309 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 78 unit: function getCveIdState() file: customRoutes/publishcve.js start line: 46 end line: 66 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 79 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: 80 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: 81 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: 82 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: 83 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: 84 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: 85 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: 86 unit: getCves() file: default/cve5/cve.js start line: 134 end line: 154 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 87 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: 88 unit: function htmltoText() file: default/cve5/script.js start line: 359 end line: 382 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: function addRichText() file: default/cve5/script.js start line: 465 end line: 483 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 90 unit: function allowedtopushlive() file: customRoutes/publishcve.js start line: 24 end line: 44 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 91 unit: compare: function() file: lib/pbkdf2.js start line: 33 end line: 53 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 92 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: 93 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: 94 unit: static Rating() file: default/cve5/static/cvss40.js start line: 412 end line: 429 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 95 unit: function portalErrorHandler() file: default/cve5/portal.js start line: 182 end line: 200 size: 18 LOC McCabe index: 10 number of parameters: 1 id: 96 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: 97 unit: static Rating() file: default/cvss4/static/cvss40.js start line: 412 end line: 429 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 98 unit: function allowedtoallocatelive() file: customRoutes/allocatecve.js start line: 16 end line: 33 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 99 unit: function userslistjson() file: custom/asf.js start line: 197 end line: 214 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 100 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: 101 unit: async function userlistUpdate() file: default/cve5/portal.js start line: 202 end line: 218 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 102 unit: function validateForm() file: default/cve5/portal.js start line: 311 end line: 329 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 103 unit: async function cveReserve() file: default/cve5/portal.js start line: 552 end line: 570 size: 17 LOC McCabe index: 6 number of parameters: 2 id: 104 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: 105 unit: async function cveReserveAndRender() file: default/cve5/portal.js start line: 758 end line: 773 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 106 unit: function addRichTextCVE() file: default/cve5/script.js start line: 491 end line: 507 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 107 unit: function setpmc() file: custom/asf.js start line: 144 end line: 158 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 108 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: 109 unit: parse() file: default/cve5/static/cvss40.js start line: 55 end line: 72 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 110 unit: Nomenclature() file: default/cve5/static/cvss40.js start line: 273 end line: 287 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 111 unit: function paginate() file: default/cve5/portal.js start line: 424 end line: 442 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: async function cveReject() file: default/cve5/portal.js start line: 637 end line: 651 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 113 unit: function cvssv3_0_to_cvss3_1() file: default/cve5/script.js start line: 509 end line: 523 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 114 unit: reader.onload = function() file: default/cve5/script.js start line: 531 end line: 546 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 115 unit: parse() file: default/cvss4/static/cvss40.js start line: 55 end line: 72 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 116 unit: Nomenclature() file: default/cvss4/static/cvss40.js start line: 273 end line: 287 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 117 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: 118 unit: xhr.onreadystatechange = function() file: public/js/comment.js start line: 286 end line: 299 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 119 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: 120 unit: severity: function() file: public/js/util.js start line: 765 end line: 778 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 121 unit: function getProblemTypeString() file: default/cve5/script.js start line: 383 end line: 396 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 122 unit: function cveFixForVulnogram() file: default/cve5/script.js start line: 557 end line: 570 size: 14 LOC McCabe index: 10 number of parameters: 1 id: 123 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: 124 unit: severityLevel: function() file: public/js/util.js start line: 752 end line: 764 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 125 unit: var onDataHandler = function() file: scripts/useradd.js start line: 16 end line: 29 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 126 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: 127 unit: simpleMessage() file: default/cve5/cve.js start line: 277 end line: 291 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 128 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: 129 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: 130 unit: function phraseSplit() file: lib/querymw.js start line: 2 end line: 14 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 131 unit: async function loadEmailLists() file: custom/cve5/asfpreload.js start line: 156 end line: 167 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 132 unit: asfhookaddcomment: function() file: custom/asf.js start line: 340 end line: 351 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 133 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: 134 unit: function attach() file: public/js/comment.js start line: 212 end line: 246 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 135 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: 136 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: 137 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: 138 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: 139 unit: function() file: scripts/useradd.js start line: 84 end line: 95 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 140 unit: reserveSeqCveIds() file: default/cve5/cve.js start line: 93 end line: 105 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 141 unit: reserveNonSeqCveIds() file: default/cve5/cve.js start line: 107 end line: 119 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 142 unit: async function cveShowError() file: default/cve5/portal.js start line: 473 end line: 484 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 143 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: 144 unit: function() file: init-vulnogram.js start line: 54 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 145 unit: function() file: lib/pbkdf2.js start line: 18 end line: 30 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 146 unit: function ensureConnected() file: app.js start line: 133 end line: 144 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 147 unit: async function findCVE() file: custom/asf.js start line: 52 end line: 62 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 148 unit: async function asfpublicjson() file: custom/asf.js start line: 64 end line: 91 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 149 unit: asfgroupacls: function() file: custom/asf.js start line: 249 end line: 261 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 150 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: 151 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: 152 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: 153 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: 154 unit: Vector() file: default/cve5/static/cvss40.js start line: 78 end line: 89 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 155 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: 156 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: 157 unit: reserveCveId() file: default/cve5/cve.js start line: 80 end line: 91 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: send() file: default/cve5/cve.js start line: 293 end line: 303 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 159 unit: destroy() file: default/cve5/cve.js start line: 362 end line: 375 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 160 unit: async function loadCVEFile() file: default/cve5/script.js start line: 525 end line: 555 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 161 unit: Vector() file: default/cvss4/static/cvss40.js start line: 78 end line: 89 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 162 unit: function usersprofile() file: custom/asf.js start line: 170 end line: 179 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 163 unit: getsecurityemailaddress: function() file: custom/asf.js start line: 389 end line: 398 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 164 unit: updateProgress: function() file: public/js/comment.js start line: 233 end line: 242 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 165 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: 166 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: 167 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: 168 unit: m: function() file: public/js/util.js start line: 690 end line: 699 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 169 unit: vector4: function() file: public/js/util.js start line: 700 end line: 709 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 170 unit: vector3: function() file: public/js/util.js start line: 710 end line: 720 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 171 unit: vector2: function() file: public/js/util.js start line: 721 end line: 730 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 172 unit: async function checkDir() file: routes/attachments.js start line: 15 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 173 unit: Set() file: default/cve5/static/cvss40.js start line: 111 end line: 120 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 174 unit: async function cveSelectLoad() file: default/cve5/portal.js start line: 572 end line: 581 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 175 unit: function enoughAutoTextFields() file: default/cve5/script.js start line: 427 end line: 436 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 176 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: 177 unit: Set() file: default/cvss4/static/cvss40.js start line: 111 end line: 120 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 178 unit: function usersmejson() file: custom/asf.js start line: 160 end line: 168 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 179 unit: asfinit: function() file: custom/asf.js start line: 217 end line: 225 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 180 unit: static getValue() file: default/cve5/static/cvss40.js start line: 393 end line: 401 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 181 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: 182 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: 183 unit: static getValue() file: default/cvss4/static/cvss40.js start line: 393 end line: 401 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 184 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: 185 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: 186 unit: roundUp1: function Roundup() file: public/js/util.js start line: 779 end line: 786 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 187 unit: cve: optSet() file: scripts/standalone.js start line: 22 end line: 30 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 188 unit: function hidden() file: scripts/useradd.js start line: 14 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 189 unit: constructor() file: default/cve5/static/cvss40.js start line: 35 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 190 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: 191 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: 192 unit: on() file: default/cve5/cve.js start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: constructor() file: default/cve5/cve.js start line: 230 end line: 238 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 194 unit: function addError() file: default/cve5/portal.js start line: 302 end line: 309 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: constructor() file: default/cvss4/static/cvss40.js start line: 35 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: hash: function() file: lib/pbkdf2.js start line: 12 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 197 unit: function ensureAuthenticated() file: app.js start line: 124 end line: 131 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 198 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: 199 unit: async function() file: custom/asf.js start line: 82 end line: 88 size: 7 LOC McCabe index: 6 number of parameters: 1 id: 200 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: 201 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: 202 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: 203 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: 204 unit: cvss4: optSet() file: scripts/standalone.js start line: 23 end line: 30 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 205 unit: async function() file: routes/doc.js start line: 232 end line: 238 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 206 unit: Get() file: default/cve5/static/cvss40.js start line: 97 end line: 103 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 207 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: 208 unit: serviceRequest() file: default/cve5/cve.js start line: 305 end line: 312 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: setCredentials() file: default/cve5/cve.js start line: 318 end line: 325 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: get() file: default/cve5/cve.js start line: 327 end line: 334 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 211 unit: post() file: default/cve5/cve.js start line: 336 end line: 343 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 212 unit: put() file: default/cve5/cve.js start line: 345 end line: 352 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 213 unit: get orgName() file: default/cve5/cve.js start line: 354 end line: 360 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: function transatePath() file: default/cve5/portal.js start line: 652 end line: 658 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 215 unit: function getProductList() file: default/cve5/script.js start line: 397 end line: 403 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 216 unit: function getBestTitle() file: default/cve5/script.js start line: 404 end line: 410 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 217 unit: Get() file: default/cvss4/static/cvss40.js start line: 97 end line: 103 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 218 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: 219 unit: async function() file: routes/attachments.js start line: 171 end line: 176 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: async function() file: routes/doc.js start line: 242 end line: 248 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 221 unit: constructor() file: default/cve5/static/cvss40.js start line: 14 end line: 19 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 222 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: 223 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: 224 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: 225 unit: updateCveId() file: default/cve5/cve.js start line: 125 end line: 132 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 226 unit: async function portalLogout() file: default/cve5/portal.js start line: 66 end line: 71 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 227 unit: async function editorSetCveDatalist() file: default/cve5/portal.js start line: 417 end line: 422 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 228 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: 229 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: 230 unit: function domhtml() file: default/cve5/script.js start line: 352 end line: 357 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 231 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: 232 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: 233 unit: constructor() file: default/cvss4/static/cvss40.js start line: 14 end line: 19 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 234 unit: function asflogout() file: custom/asf.js start line: 93 end line: 97 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 235 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: 236 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: 237 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: 238 unit: constructor() file: default/cve5/static/cvss40.js start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 239 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: 240 unit: getOrgInfo() file: default/cve5/cve.js start line: 180 end line: 184 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 241 unit: updateOrgInfo() file: default/cve5/cve.js start line: 186 end line: 190 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: createOrgUser() file: default/cve5/cve.js start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: updateOrgUser() file: default/cve5/cve.js start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 244 unit: resetOrgUserApiKey() file: default/cve5/cve.js start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: getOrgUsers() file: default/cve5/cve.js start line: 210 end line: 214 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: getOrgIdQuota() file: default/cve5/cve.js start line: 216 end line: 220 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 247 unit: getOrgUser() file: default/cve5/cve.js start line: 222 end line: 226 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 248 unit: JSONEditor.defaults.editors.string.prototype.sanitize = function() file: default/cve5/preload.js start line: 34 end line: 38 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 249 unit: function addRichTextArray() file: default/cve5/script.js start line: 485 end line: 489 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 250 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: 251 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: 252 unit: constructor() file: default/cvss4/static/cvss40.js start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 253 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: 254 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: 255 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: 256 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: 257 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: 258 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: 259 unit: async function() file: routes/attachments.js start line: 139 end line: 142 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 260 unit: async function() file: routes/attachments.js start line: 166 end line: 169 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 261 unit: static severityDistance() file: default/cve5/static/cvss40.js start line: 389 end line: 392 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 262 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: 263 unit: reader.onerror = function() file: default/cve5/script.js start line: 547 end line: 550 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 264 unit: static severityDistance() file: default/cvss4/static/cvss40.js start line: 389 end line: 392 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 265 unit: async function() file: custom/asf.js start line: 74 end line: 90 size: 3 LOC McCabe index: 5 number of parameters: 1 id: 266 unit: function userslist() file: custom/asf.js start line: 181 end line: 183 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 267 unit: asfallowedtodelete: function() file: custom/asf.js start line: 385 end line: 387 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 268 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: 269 unit: plainText: domhtml() file: public/js/comment.js start line: 7 end line: 9 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 270 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: 271 unit: var uf = function() file: public/js/comment.js start line: 277 end line: 279 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 272 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: 273 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: 274 unit: var addHistory = function() file: routes/onedoc.js start line: 180 end line: 182 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 275 unit: static roundup() file: default/cve5/static/cvss40.js start line: 402 end line: 404 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 276 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: 277 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: 278 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: 279 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: 280 unit: constructor() file: default/cve5/cve.js start line: 36 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 281 unit: login() file: default/cve5/cve.js start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 282 unit: logout() file: default/cve5/cve.js start line: 50 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 283 unit: active() file: default/cve5/cve.js start line: 55 end line: 57 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 284 unit: getCveIds() file: default/cve5/cve.js start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 285 unit: reserveCveIds() file: default/cve5/cve.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: getCveId() file: default/cve5/cve.js start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 287 unit: getCve() file: default/cve5/cve.js start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 288 unit: createCve() file: default/cve5/cve.js start line: 160 end line: 162 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 289 unit: updateCve() file: default/cve5/cve.js start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 290 unit: createRejectedCve() file: default/cve5/cve.js start line: 168 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 291 unit: updateRejectedCve() file: default/cve5/cve.js start line: 172 end line: 174 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 292 unit: getOrg() file: default/cve5/cve.js start line: 176 end line: 178 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 293 unit: echo() file: default/cve5/cve.js start line: 314 end line: 316 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 294 unit: loginChannel.onmessage = function() file: default/cve5/portal.js start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 295 unit: logoutChannel.onmessage = function() file: default/cve5/portal.js start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: function resetPortalLoginErr() file: default/cve5/portal.js start line: 176 end line: 179 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: function removeErrors() file: default/cve5/portal.js start line: 298 end line: 300 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: async function cveOrgUpdate() file: default/cve5/portal.js start line: 389 end line: 391 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 299 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: 300 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: 301 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: 302 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: 303 unit: static roundup() file: default/cvss4/static/cvss40.js start line: 402 end line: 404 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: function listenforLogins() file: default/cve5/portal.js start line: 114 end line: 118 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 305 unit: function listenforLogouts() file: default/cve5/portal.js start line: 119 end line: 123 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: setValue: function() file: default/cve5/script.js start line: 196 end line: 198 size: 2 LOC McCabe index: 1 number of parameters: 0