id: 1 unit: async function createCertFile() file: lib/CertificateTools.js start line: 54 end line: 210 size: 143 LOC McCabe index: 24 number of parameters: 2 id: 2 unit: function generateSettings() file: lib/VisualGenerator.js start line: 131 end line: 219 size: 81 LOC McCabe index: 21 number of parameters: 2 id: 3 unit: async function resolveCertificate() file: lib/CertificateTools.js start line: 310 end line: 380 size: 64 LOC McCabe index: 18 number of parameters: 0 id: 4 unit: FlattenHTML <- function() file: templates/visuals/rhtml/r_files/flatten_HTML.r start line: 18 end line: 71 size: 45 LOC McCabe index: 7 number of parameters: 2 id: 5 unit: static validationLog() file: lib/ConsoleWriter.js start line: 163 end line: 207 size: 37 LOC McCabe index: 13 number of parameters: 1 id: 6 unit: static generate() file: lib/VisualGenerator.js start line: 250 end line: 284 size: 33 LOC McCabe index: 13 number of parameters: 3 id: 7 unit: async configureCustomVisualsWebpackPlugin() file: lib/WebPackWrap.js start line: 126 end line: 167 size: 33 LOC McCabe index: 8 number of parameters: 3 id: 8 unit: private injectCodeFromPayload() file: templates/visuals/rhtml/src/visual.ts start line: 123 end line: 169 size: 33 LOC McCabe index: 11 number of parameters: 1 id: 9 unit: async function veryfyCertFile() file: lib/CertificateTools.js start line: 382 end line: 416 size: 31 LOC McCabe index: 9 number of parameters: 4 id: 10 unit: async appendPlugins() file: lib/WebPackWrap.js start line: 169 end line: 202 size: 31 LOC McCabe index: 4 number of parameters: 3 id: 11 unit: export function visualTransform() file: templates/visuals/table/src/visualTransform.ts start line: 8 end line: 40 size: 31 LOC McCabe index: 11 number of parameters: 1 id: 12 unit: module.exports = function() file: templates/pbiviz-json-template.js start line: 1 end line: 29 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: runNpmInstall() file: lib/TemplateFetcher.js start line: 83 end line: 109 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 14 unit: async function removeCertFiles() file: lib/CertificateTools.js start line: 261 end line: 283 size: 23 LOC McCabe index: 7 number of parameters: 3 id: 15 unit: static checkVisualName() file: lib/VisualGenerator.js start line: 303 end line: 328 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 16 unit: async applyWebpackConfig() file: lib/WebPackWrap.js start line: 257 end line: 285 size: 23 LOC McCabe index: 4 number of parameters: 9 id: 17 unit: public update() file: templates/visuals/rhtml/src/visual.ts start line: 91 end line: 116 size: 23 LOC McCabe index: 11 number of parameters: 1 id: 18 unit: async function getCertFile() file: lib/CertificateTools.js start line: 212 end line: 235 size: 22 LOC McCabe index: 7 number of parameters: 2 id: 19 unit: async function getGlobalPbivizCerts() file: lib/CertificateTools.js start line: 285 end line: 308 size: 22 LOC McCabe index: 9 number of parameters: 0 id: 20 unit: public update() file: templates/visuals/rvisual/src/visual.ts start line: 53 end line: 78 size: 22 LOC McCabe index: 10 number of parameters: 1 id: 21 unit: async function openCertFile() file: lib/CertificateTools.js start line: 237 end line: 259 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 22 unit: async configureDevServer() file: lib/WebPackWrap.js start line: 74 end line: 95 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 23 unit: async installAPIpackage() file: lib/WebPackWrap.js start line: 46 end line: 64 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 24 unit: configureVisualPlugin() file: lib/WebPackWrap.js start line: 97 end line: 114 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 25 unit: export function parseElement() file: templates/visuals/rhtml/src/htmlInjectionUtility.ts start line: 10 end line: 27 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: public updateInternal() file: templates/visuals/table/src/visual.ts start line: 71 end line: 91 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: FindSrcReplacement <- function() file: templates/visuals/rhtml/r_files/flatten_HTML.r start line: 97 end line: 119 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: static formattedErrors() file: lib/ConsoleWriter.js start line: 135 end line: 150 size: 16 LOC McCabe index: 9 number of parameters: 1 id: 29 unit: async extractFiles() file: lib/TemplateFetcher.js start line: 40 end line: 58 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: async prepareWebPackConfig() file: lib/WebPackWrap.js start line: 225 end line: 243 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 31 unit: static infoTable() file: lib/ConsoleWriter.js start line: 100 end line: 114 size: 15 LOC McCabe index: 8 number of parameters: 3 id: 32 unit: async setApiVersion() file: lib/TemplateFetcher.js start line: 60 end line: 74 size: 15 LOC McCabe index: 6 number of parameters: 0 id: 33 unit: function createPbiVizJson() file: lib/VisualGenerator.js start line: 74 end line: 99 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: function createScriptNode() file: templates/visuals/rhtml/src/htmlInjectionUtility.ts start line: 29 end line: 45 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: static installPackages() file: lib/VisualPackage.js start line: 83 end line: 96 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: module.exports = function() file: templates/plugin-ts-template.js start line: 1 end line: 14 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: constructor() file: templates/visuals/default/src/visual.ts start line: 45 end line: 58 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: constructor() file: templates/visuals/slicer/src/visual.ts start line: 45 end line: 58 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: function exec() file: lib/CertificateTools.js start line: 38 end line: 52 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 40 unit: static createSubCommandHelpCallback() file: lib/CommandHelpManager.js start line: 34 end line: 48 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: static loadVisualPackage() file: lib/VisualPackage.js start line: 63 end line: 74 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: static async prepareFoldersAndFiles() file: lib/WebPackWrap.js start line: 22 end line: 33 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: static expectFileToMatch() file: spec/helpers/FileSystem.js start line: 63 end line: 74 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 44 unit: function download() file: lib/utils.js start line: 5 end line: 15 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: static expectFileToExist() file: spec/helpers/FileSystem.js start line: 39 end line: 49 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: static readFile() file: spec/helpers/FileSystem.js start line: 51 end line: 61 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: ReadFileForEmbedding <- function() file: templates/visuals/rhtml/r_files/flatten_HTML.r start line: 73 end line: 84 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: fetch() file: lib/TemplateFetcher.js start line: 19 end line: 28 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: function generateVisualOptions() file: lib/VisualGenerator.js start line: 44 end line: 53 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: static loadAPIPackage() file: lib/WebPackWrap.js start line: 35 end line: 44 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 51 unit: async assemblyExternalJSFiles() file: lib/WebPackWrap.js start line: 245 end line: 255 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: export function runHTMLWidgetRenderer() file: templates/visuals/rhtml/src/htmlInjectionUtility.ts start line: 47 end line: 58 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 53 unit: async removeZipFile() file: lib/TemplateFetcher.js start line: 30 end line: 38 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: async getEnvironmentDetails() file: lib/WebPackWrap.js start line: 116 end line: 124 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: ReadFullFile <- function() file: templates/visuals/rhtml/r_files/flatten_HTML.r start line: 86 end line: 95 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: function generateVisualName() file: lib/VisualGenerator.js start line: 58 end line: 65 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: function fileExists() file: lib/VisualGenerator.js start line: 106 end line: 113 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: function validTemplate() file: lib/VisualGenerator.js start line: 225 end line: 232 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: static runPbiviz() file: spec/helpers/FileSystem.js start line: 115 end line: 123 size: 8 LOC McCabe index: 5 number of parameters: 4 id: 60 unit: static killProcess() file: spec/helpers/FileSystem.js start line: 162 end line: 169 size: 8 LOC McCabe index: 4 number of parameters: 3 id: 61 unit: public constructor() file: templates/visuals/rvisual/src/visual.ts start line: 44 end line: 51 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: constructor() file: templates/visuals/table/src/visual.ts start line: 56 end line: 65 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: private updateContainerViewports() file: templates/visuals/table/src/visual.ts start line: 93 end line: 100 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: static createVisualPackage() file: lib/VisualPackage.js start line: 49 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 65 unit: enableOptimization() file: lib/WebPackWrap.js start line: 66 end line: 72 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: static deleteTempDirectory() file: spec/helpers/FileSystem.js start line: 99 end line: 105 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 67 unit: static runCMDCommand() file: spec/helpers/FileSystem.js start line: 132 end line: 138 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 68 unit: public update() file: templates/visuals/default/src/visual.ts start line: 60 end line: 66 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 69 unit: ReadFullFileReplaceString <- function() file: templates/visuals/rhtml/r_files/flatten_HTML.r start line: 121 end line: 129 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 70 unit: public constructor() file: templates/visuals/rhtml/src/visual.ts start line: 83 end line: 89 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: public update() file: templates/visuals/slicer/src/visual.ts start line: 60 end line: 66 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 72 unit: static infoTableRow() file: lib/ConsoleWriter.js start line: 123 end line: 128 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 73 unit: constructor() file: lib/TemplateFetcher.js start line: 12 end line: 17 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 74 unit: async setVisualGUID() file: lib/TemplateFetcher.js start line: 76 end line: 81 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: static runPbivizAsync() file: spec/helpers/FileSystem.js start line: 147 end line: 153 size: 6 LOC McCabe index: 4 number of parameters: 3 id: 76 unit: internalSaveWidget <- function() file: templates/visuals/rhtml/r_files/flatten_HTML.r start line: 11 end line: 16 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: showNextSteps() file: lib/TemplateFetcher.js start line: 111 end line: 115 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: function createFolder() file: lib/utils.js start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: static done() file: lib/ConsoleWriter.js start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: static info() file: lib/ConsoleWriter.js start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: static warn() file: lib/ConsoleWriter.js start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: static error() file: lib/ConsoleWriter.js start line: 88 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: static logo() file: lib/ConsoleWriter.js start line: 155 end line: 158 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: function copyVisualTemplate() file: lib/VisualGenerator.js start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 85 unit: constructor() file: lib/VisualPackage.js start line: 103 end line: 106 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: static resetTempDirectory() file: spec/helpers/FileSystem.js start line: 91 end line: 94 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: public enumerateObjectInstances() file: templates/visuals/rhtml/src/visual.ts start line: 180 end line: 183 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: public onResizing() file: templates/visuals/rvisual/src/visual.ts start line: 80 end line: 83 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: public enumerateObjectInstances() file: templates/visuals/rvisual/src/visual.ts start line: 92 end line: 95 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: public enumerateObjectInstances() file: templates/visuals/slicer/src/visual.ts start line: 75 end line: 78 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: function prependLogTag() file: lib/ConsoleWriter.js start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: static beep() file: lib/ConsoleWriter.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: static blank() file: lib/ConsoleWriter.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: static generateVisualGuid() file: lib/VisualGenerator.js start line: 289 end line: 291 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: buildPath() file: lib/VisualPackage.js start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: static getBinPath() file: spec/helpers/FileSystem.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: static getTempPath() file: spec/helpers/FileSystem.js start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: static getTemplatePath() file: spec/helpers/FileSystem.js start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: private static parseSettings() file: templates/visuals/default/src/visual.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: public enumerateObjectInstances() file: templates/visuals/default/src/visual.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 101 unit: export function resetInjector() file: templates/visuals/rhtml/src/htmlInjectionUtility.ts start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: export function injectorReady() file: templates/visuals/rhtml/src/htmlInjectionUtility.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: private static parseSettings() file: templates/visuals/rhtml/src/visual.ts start line: 171 end line: 173 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: private static parseSettings() file: templates/visuals/rvisual/src/visual.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: private static parseSettings() file: templates/visuals/slicer/src/visual.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: public update() file: templates/visuals/table/src/visual.ts start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: public onResizing() file: templates/visuals/rhtml/src/visual.ts start line: 118 end line: 121 size: 2 LOC McCabe index: 1 number of parameters: 1