id: 1 unit: function fetchPlugin() file: src/plugman/fetch.js start line: 40 end line: 173 size: 112 LOC McCabe index: 20 number of parameters: 3 id: 2 unit: module.exports.uninstallPlugin = function() file: src/plugman/uninstall.js start line: 93 end line: 227 size: 64 LOC McCabe index: 12 number of parameters: 3 id: 3 unit: function runInstall() file: src/plugman/install.js start line: 249 end line: 364 size: 57 LOC McCabe index: 9 number of parameters: 6 id: 4 unit: function installDependency() file: src/plugman/install.js start line: 485 end line: 553 size: 57 LOC McCabe index: 13 number of parameters: 3 id: 5 unit: function runUninstallPlatform() file: src/plugman/uninstall.js start line: 231 end line: 308 size: 57 LOC McCabe index: 13 number of parameters: 6 id: 6 unit: function tryFetchDependency() file: src/plugman/install.js start line: 401 end line: 483 size: 53 LOC McCabe index: 18 number of parameters: 3 id: 7 unit: function doPlatformBase() file: src/plugman/platform.js start line: 103 end line: 144 size: 37 LOC McCabe index: 5 number of parameters: 5 id: 8 unit: function getEngines() file: src/plugman/install.js start line: 196 end line: 244 size: 36 LOC McCabe index: 16 number of parameters: 4 id: 9 unit: function callEngineScripts() file: src/plugman/install.js start line: 161 end line: 193 size: 31 LOC McCabe index: 8 number of parameters: 2 id: 10 unit: generateDependencyInfo: function() file: src/plugman/util/dependencies.js start line: 28 end line: 64 size: 30 LOC McCabe index: 2 number of parameters: 3 id: 11 unit: function() file: src/plugman/install.js start line: 313 end line: 353 size: 29 LOC McCabe index: 3 number of parameters: 0 id: 12 unit: module.exports = function() file: src/plugman/util/default-engines.js start line: 22 end line: 49 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: function cleanVersionOutput() file: src/plugman/install.js start line: 125 end line: 157 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 14 unit: module.exports.uninstallPlatform = function() file: src/plugman/uninstall.js start line: 61 end line: 90 size: 25 LOC McCabe index: 7 number of parameters: 5 id: 15 unit: function getPlatformApi() file: src/platforms/index.js start line: 31 end line: 60 size: 24 LOC McCabe index: 7 number of parameters: 2 id: 16 unit: function loadLocalPlugins() file: src/plugman/fetch.js start line: 193 end line: 219 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 17 unit: function findLocalPlugin() file: src/plugman/fetch.js start line: 227 end line: 252 size: 21 LOC McCabe index: 6 number of parameters: 3 id: 18 unit: function mergeVariables() file: src/plugman/variable-merge.js start line: 34 end line: 62 size: 21 LOC McCabe index: 7 number of parameters: 3 id: 19 unit: function readDeps() file: src/plugman/init-defaults.js start line: 30 end line: 54 size: 21 LOC McCabe index: 7 number of parameters: 0 id: 20 unit: exports.repository = function() file: src/plugman/init-defaults.js start line: 92 end line: 113 size: 21 LOC McCabe index: 12 number of parameters: 1 id: 21 unit: function runScriptViaChildProcessSpawn() file: src/hooks/HooksRunner.js start line: 166 end line: 187 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 22 unit: function copyPlugin() file: src/plugman/fetch.js start line: 256 end line: 277 size: 19 LOC McCabe index: 7 number of parameters: 3 id: 23 unit: function createPackageJson() file: src/plugman/createpackagejson.js start line: 26 end line: 45 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: function handleInstall() file: src/plugman/install.js start line: 555 end line: 580 size: 17 LOC McCabe index: 2 number of parameters: 8 id: 25 unit: function runScript() file: src/hooks/HooksRunner.js start line: 118 end line: 137 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 26 unit: function runScriptViaModuleLoader() file: src/hooks/HooksRunner.js start line: 142 end line: 161 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 27 unit: function checkEngines() file: src/plugman/install.js start line: 99 end line: 123 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: add: function() file: src/plugman/platform.js start line: 29 end line: 55 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: function uninstall() file: src/plugman/uninstall.js start line: 39 end line: 58 size: 16 LOC McCabe index: 5 number of parameters: 5 id: 30 unit: function copyPlugin() file: src/plugman/install.js start line: 596 end line: 612 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 31 unit: function doPlatform() file: src/plugman/platform.js start line: 83 end line: 101 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 32 unit: function findDependencies() file: src/plugman/uninstall.js start line: 140 end line: 156 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: module.exports.setPluginSpec = function() file: spec/helpers.js start line: 135 end line: 150 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: function getAllPluginsHookScriptFiles() file: src/hooks/scriptsFinder.js start line: 101 end line: 117 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 35 unit: HooksRunner.prototype.prepareOptions = function() file: src/hooks/HooksRunner.js start line: 62 end line: 77 size: 14 LOC McCabe index: 9 number of parameters: 1 id: 36 unit: remove: function() file: src/plugman/platform.js start line: 56 end line: 80 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: function getApplicationHookScripts() file: src/hooks/scriptsFinder.js start line: 47 end line: 61 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: function handleUninstall() file: src/plugman/uninstall.js start line: 311 end line: 330 size: 12 LOC McCabe index: 1 number of parameters: 8 id: 39 unit: async projectWithPlatform() file: spec/fixture-helper.js start line: 60 end line: 74 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: module.exports.getEngineSpec = function() file: spec/helpers.js start line: 114 end line: 125 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 41 unit: function getJson() file: src/plugman/util/metadata.js start line: 25 end line: 35 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: function possiblyFetch() file: src/plugman/install.js start line: 82 end line: 97 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 43 unit: function getPluginsHookScripts() file: src/hooks/scriptsFinder.js start line: 66 end line: 81 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 44 unit: function getPluginScriptFiles() file: src/hooks/scriptsFinder.js start line: 86 end line: 96 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 45 unit: dependents: function() file: src/plugman/util/dependencies.js start line: 67 end line: 78 size: 10 LOC McCabe index: 3 number of parameters: 4 id: 46 unit: danglers: function() file: src/plugman/util/dependencies.js start line: 82 end line: 98 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 47 unit: function checkID() file: src/plugman/fetch.js start line: 176 end line: 188 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 48 unit: const doDelete = function() file: src/plugman/uninstall.js start line: 118 end line: 130 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: module.exports.getPluginSpec = function() file: spec/helpers.js start line: 152 end line: 161 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: module.exports.getPluginVariable = function() file: spec/helpers.js start line: 163 end line: 172 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 51 unit: function Q_chainmap() file: src/util/promise-util.js start line: 24 end line: 32 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: public boolean execute() file: templates/platforms/android/base.java start line: 35 end line: 42 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 53 unit: function getHookJobs() file: src/hooks/HooksRunner.js start line: 100 end line: 109 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 54 unit: function Context() file: src/hooks/Context.js start line: 29 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: function() file: src/plugman/install.js start line: 355 end line: 362 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: function installDependencies() file: src/plugman/install.js start line: 366 end line: 399 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 57 unit: function linkToGlobalModulesFrom() file: spec/fixture-helper.js start line: 101 end line: 107 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: module.exports.setEngineSpec = function() file: spec/helpers.js start line: 105 end line: 112 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 59 unit: private void coolMethod() file: templates/platforms/android/base.java start line: 44 end line: 50 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: module.exports.coolMethod = function() file: templates/platforms/windows/base.js start line: 20 end line: 26 size: 7 LOC McCabe index: 4 number of parameters: 3 id: 61 unit: getHookScripts: function() file: src/hooks/scriptsFinder.js start line: 34 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 62 unit: function globalFire() file: src/hooks/HooksRunner.js start line: 86 end line: 93 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: function() file: src/plugman/install.js start line: 378 end line: 396 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: function interp_vars() file: src/plugman/install.js start line: 582 end line: 588 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 65 unit: function getConfigPath() file: spec/helpers.js start line: 29 end line: 36 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: module.exports.removeEngine = function() file: spec/helpers.js start line: 127 end line: 133 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: module.exports.removePlugin = function() file: spec/helpers.js start line: 174 end line: 180 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: function isHookDisabled() file: src/hooks/HooksRunner.js start line: 195 end line: 200 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: exports.save_fetch_metadata = function() file: src/plugman/util/metadata.js start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 70 unit: exports.remove_fetch_metadata = function() file: src/plugman/util/metadata.js start line: 49 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: async copyTo() file: spec/fixture-helper.js start line: 92 end line: 96 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: function HooksRunner() file: src/hooks/HooksRunner.js start line: 31 end line: 35 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: module.exports = function() file: spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.js start line: 1 end line: 4 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: module.exports = function() file: spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeBuild.js start line: 1 end line: 4 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: module.exports = function() file: spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeBuild.js start line: 1 end line: 4 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: module.exports.tmpDir = function() file: spec/helpers.js start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: module.exports.getConfigContent = function() file: spec/helpers.js start line: 182 end line: 185 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: module.exports.writeConfigContent = function() file: spec/helpers.js start line: 187 end line: 190 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: startsWith: function() file: spec/common.js start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 80 unit: function hostSupports() file: src/platforms/index.js start line: 64 end line: 67 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 81 unit: function getEventHandlerJobs() file: src/hooks/HooksRunner.js start line: 95 end line: 98 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: exports.get_fetch_metadata = function() file: src/plugman/util/metadata.js start line: 37 end line: 40 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: function() file: src/plugman/install.js start line: 391 end line: 394 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: getInstall: function() file: spec/common.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: getDeleted: function() file: spec/common.js start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: exports.coolMethod = function() file: templates/base.js start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 87 unit: function runJobsSerially() file: src/hooks/HooksRunner.js start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: fromCode: function() file: src/plugman/util/strip-license.js start line: 21 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: module.exports = function() file: src/plugman/platform_operation.js start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: function() file: src/plugman/install.js start line: 548 end line: 550 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: function isAbsolutePath() file: src/plugman/install.js start line: 590 end line: 593 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 92 unit: function next() file: src/plugman/init-defaults.js start line: 49 end line: 51 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 93 unit: const createMsg = function() file: src/plugman/uninstall.js start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: const createMsg2 = function() file: src/plugman/uninstall.js start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 1