id: 1 unit: function yargsOptions() file: index.js start line: 39 end line: 200 size: 150 LOC McCabe index: 1 number of parameters: 1 id: 2 unit: async waitForActivations() file: src/agentmgr.js start line: 260 end line: 380 size: 78 LOC McCabe index: 22 number of parameters: 0 id: 3 unit: async startContainer() file: src/invoker.js start line: 282 end line: 383 size: 77 LOC McCabe index: 4 number of parameters: 1 id: 4 unit: async start() file: src/debugger.js start line: 92 end line: 185 size: 54 LOC McCabe index: 6 number of parameters: 0 id: 5 unit: async installAgent() file: src/agentmgr.js start line: 163 end line: 234 size: 52 LOC McCabe index: 11 number of parameters: 2 id: 6 unit: async function doMain() file: agent/agent-ngrok.js start line: 47 end line: 100 size: 45 LOC McCabe index: 3 number of parameters: 1 id: 7 unit: async prepare() file: src/invoker.js start line: 116 end line: 181 size: 42 LOC McCabe index: 26 number of parameters: 0 id: 8 unit: ngrokHandler() file: src/agents/ngrok.js start line: 84 end line: 133 size: 40 LOC McCabe index: 4 number of parameters: 2 id: 9 unit: this.liveReloadServer.refresh = function() file: src/watcher.js start line: 56 end line: 104 size: 39 LOC McCabe index: 10 number of parameters: 1 id: 10 unit: async _restoreAction() file: src/agentmgr.js start line: 431 end line: 483 size: 37 LOC McCabe index: 9 number of parameters: 1 id: 11 unit: constructor() file: src/debugger.js start line: 50 end line: 90 size: 35 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: function getYargsParser() file: index.js start line: 202 end line: 241 size: 34 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: async function wskdebug() file: index.js start line: 275 end line: 316 size: 32 LOC McCabe index: 6 number of parameters: 2 id: 14 unit: async peekAction() file: src/agentmgr.js start line: 101 end line: 145 size: 28 LOC McCabe index: 7 number of parameters: 0 id: 15 unit: async init() file: src/invoker.js start line: 413 end line: 450 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 16 unit: async pushAgent() file: src/agentmgr.js start line: 504 end line: 536 size: 27 LOC McCabe index: 7 number of parameters: 3 id: 17 unit: async start() file: src/watcher.js start line: 31 end line: 111 size: 27 LOC McCabe index: 11 number of parameters: 0 id: 18 unit: async checkExistingContainers() file: src/invoker.js start line: 245 end line: 280 size: 26 LOC McCabe index: 10 number of parameters: 0 id: 19 unit: async _run() file: src/debugger.js start line: 216 end line: 259 size: 26 LOC McCabe index: 5 number of parameters: 0 id: 20 unit: async function pollActivations() file: agent/agent-activationdb.js start line: 57 end line: 88 size: 25 LOC McCabe index: 6 number of parameters: 3 id: 21 unit: async completeActivation() file: src/agentmgr.js start line: 382 end line: 411 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 22 unit: async _shutdown() file: src/debugger.js start line: 297 end line: 337 size: 25 LOC McCabe index: 6 number of parameters: 0 id: 23 unit: async function doMain() file: agent/agent-concurrency.js start line: 106 end line: 137 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: async getAgent() file: src/agents/ngrok.js start line: 34 end line: 69 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: function dockerRunArgs2CreateContainerConfig() file: src/dockerutils.js start line: 38 end line: 67 size: 24 LOC McCabe index: 9 number of parameters: 2 id: 26 unit: async logDetails() file: src/debugger.js start line: 187 end line: 210 size: 24 LOC McCabe index: 6 number of parameters: 0 id: 27 unit: async getImageForKind() file: src/invoker.js start line: 89 end line: 114 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: function onProgress() file: src/invoker.js start line: 210 end line: 234 size: 22 LOC McCabe index: 9 number of parameters: 1 id: 29 unit: constructor() file: src/invoker.js start line: 52 end line: 78 size: 20 LOC McCabe index: 3 number of parameters: 5 id: 30 unit: async createHelperAction() file: src/agentmgr.js start line: 538 end line: 558 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 31 unit: mountAction: function() file: src/kinds/nodejs/nodejs.js start line: 56 end line: 87 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 32 unit: async run() file: src/invoker.js start line: 452 end line: 472 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: function main() file: src/kinds/nodejs/mount-require.js start line: 40 end line: 65 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: async function waitForCompletion() file: agent/agent-activationdb.js start line: 90 end line: 108 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 35 unit: function hit() file: agent/agent-activationdb.js start line: 111 end line: 130 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: async function doMain() file: agent/agent-activationdb.js start line: 132 end line: 150 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: function hit() file: agent/agent-concurrency.js start line: 85 end line: 104 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: function hit() file: agent/agent-ngrok.js start line: 26 end line: 45 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 39 unit: async getOpenWhiskVersion() file: src/agentmgr.js start line: 562 end line: 577 size: 16 LOC McCabe index: 5 number of parameters: 0 id: 40 unit: async shutdown() file: src/agentmgr.js start line: 240 end line: 256 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 41 unit: updateContainerConfig: function() file: src/kinds/nodejs/nodejs.js start line: 38 end line: 53 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 42 unit: quiet: function() file: src/log.js start line: 62 end line: 77 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: enableConsoleColors: function() file: src/log.js start line: 192 end line: 209 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: function getWskEnvProps() file: src/wskprops.js start line: 74 end line: 86 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 45 unit: function getSupportedKinds() file: index.js start line: 26 end line: 37 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 46 unit: async openwhiskSupports() file: src/agentmgr.js start line: 579 end line: 605 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: function normalizeArgs() file: index.js start line: 243 end line: 256 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 48 unit: async pull() file: src/invoker.js start line: 194 end line: 239 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: async function getWskActionWithoutCode() file: src/agentmgr.js start line: 56 end line: 66 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 50 unit: async readActionWithCode() file: src/agentmgr.js start line: 147 end line: 161 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 51 unit: function getWskProps() file: src/wskprops.js start line: 48 end line: 60 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: async stop() file: src/debugger.js start line: 262 end line: 275 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 53 unit: async tryCatch() file: src/debugger.js start line: 341 end line: 351 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: async function waitForActivation() file: agent/agent-concurrency.js start line: 51 end line: 64 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: async isImagePresent() file: src/invoker.js start line: 183 end line: 192 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: async restoreAction() file: src/agentmgr.js start line: 415 end line: 429 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: async stop() file: src/agents/ngrok.js start line: 71 end line: 80 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 58 unit: async stop() file: src/watcher.js start line: 113 end line: 122 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 59 unit: function getAioEnvProps() file: src/wskprops.js start line: 62 end line: 72 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 60 unit: constructor() file: src/agentmgr.js start line: 87 end line: 96 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 61 unit: async getPollingActivationDbAgent() file: src/agentmgr.js start line: 491 end line: 502 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: function readWskPropsFile() file: src/wskprops.js start line: 37 end line: 46 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 63 unit: get() file: src/wskprops.js start line: 89 end line: 99 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: function registerExitHandler() file: index.js start line: 264 end line: 273 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: async function main() file: agent/agent-activationdb.js start line: 154 end line: 161 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: function complete() file: agent/agent-concurrency.js start line: 66 end line: 73 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: async function waitForCompletion() file: agent/agent-concurrency.js start line: 75 end line: 82 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: async function main() file: agent/agent-concurrency.js start line: 141 end line: 148 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: async function main() file: agent/agent-ngrok.js start line: 104 end line: 111 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: async checkIfDockerAvailable() file: src/invoker.js start line: 80 end line: 87 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 71 unit: async function actionExists() file: src/agentmgr.js start line: 68 end line: 75 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 72 unit: function load() file: src/kinds/nodejs/mount-plain.js start line: 32 end line: 43 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: resetConsoleColors: function() file: src/log.js start line: 211 end line: 218 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 74 unit: function checkTimeout() file: agent/agent-concurrency.js start line: 32 end line: 39 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: function resolveValue() file: src/invoker.js start line: 43 end line: 49 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 76 unit: retryOn: function() file: src/invoker.js start line: 437 end line: 443 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 77 unit: symbol: infoColor() file: src/log.js start line: 82 end line: 115 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 78 unit: exception: function() file: src/log.js start line: 132 end line: 139 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 79 unit: newDebug: function() file: src/log.js start line: 151 end line: 158 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: function prettyMBytes1024() file: src/debugger.js start line: 32 end line: 38 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: async kill() file: src/debugger.js start line: 278 end line: 285 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 82 unit: async shutdown() file: src/debugger.js start line: 287 end line: 295 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 83 unit: function removePrefix() file: agent/agent-activationdb.js start line: 37 end line: 42 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: function onFinished() file: src/invoker.js start line: 202 end line: 207 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: function getAnnotation() file: src/agentmgr.js start line: 33 end line: 38 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: function getActivationError() file: src/agentmgr.js start line: 49 end line: 54 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 87 unit: async function deleteActionIfExists() file: src/agentmgr.js start line: 77 end line: 82 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 88 unit: step: function() file: src/log.js start line: 80 end line: 85 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: succeed: function() file: src/log.js start line: 177 end line: 182 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: ready: function() file: src/log.js start line: 185 end line: 190 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: symbol: infoColor() file: src/log.js start line: 187 end line: 194 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: function safeContainerName() file: src/dockerutils.js start line: 22 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: function printErrorAndExit() file: index.js start line: 258 end line: 262 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: function newActivation() file: agent/agent-concurrency.js start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: function clearEntireRequireCache() file: src/kinds/nodejs/mount-require.js start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: function main() file: src/kinds/nodejs/mount-plain.js start line: 46 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: verbose: function() file: src/log.js start line: 114 end line: 118 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: verboseStep: function() file: src/log.js start line: 120 end line: 124 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 99 unit: verboseWrite: function() file: src/log.js start line: 126 end line: 130 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: resumeSpinner: function() file: src/log.js start line: 170 end line: 174 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 101 unit: text: infoColor() file: src/log.js start line: 180 end line: 186 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: text: infoColor() file: src/log.js start line: 188 end line: 194 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 103 unit: function getContainerName() file: src/dockerutils.js start line: 69 end line: 74 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 104 unit: async function newActivation() file: agent/agent-activationdb.js start line: 48 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: await openwhisk() file: agent/agent-activationdb.js start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: function isAgent() file: src/agentmgr.js start line: 44 end line: 47 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 107 unit: log: function() file: src/log.js start line: 94 end line: 98 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: warn: function() file: src/log.js start line: 101 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: error: function() file: src/log.js start line: 108 end line: 112 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: constructor() file: src/agents/ngrok.js start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: constructor() file: src/watcher.js start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: function getWskPropsUserHomeFile() file: src/wskprops.js start line: 32 end line: 35 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 113 unit: function outOfTime() file: agent/agent-activationdb.js start line: 28 end line: 31 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 114 unit: async function sleep() file: agent/agent-activationdb.js start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: function actionName() file: agent/agent-activationdb.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: async function sleep() file: agent/agent-concurrency.js start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: getFullActionName() file: src/invoker.js start line: 241 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 118 unit: getSourcePath() file: src/invoker.js start line: 385 end line: 387 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: getImage() file: src/invoker.js start line: 389 end line: 391 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: getDebugKind() file: src/invoker.js start line: 393 end line: 395 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 121 unit: getPort() file: src/invoker.js start line: 397 end line: 399 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 122 unit: name() file: src/invoker.js start line: 401 end line: 403 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: url() file: src/invoker.js start line: 405 end line: 407 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 124 unit: timeout() file: src/invoker.js start line: 409 end line: 411 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 125 unit: function getActionCopyName() file: src/agentmgr.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: stop() file: src/agentmgr.js start line: 236 end line: 238 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: async getConcurrencyAgent() file: src/agentmgr.js start line: 487 end line: 489 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: command: function() file: src/kinds/nodejs/nodejs.js start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: highlight: function() file: src/log.js start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 130 unit: deepObject: function() file: src/log.js start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: spinner: function() file: src/log.js start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: stopSpinner: function() file: src/log.js start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: function getNamespaceFromActionMetadata() file: src/debugger.js start line: 40 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: async run() file: src/debugger.js start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 0