id: 1 unit: module.exports = function() file: src/main.ts start line: 57 end line: 297 size: 224 LOC McCabe index: 4 number of parameters: 1 id: 2 unit: async onFile() file: src/package.ts start line: 658 end line: 801 size: 110 LOC McCabe index: 40 number of parameters: 1 id: 3 unit: constructor() file: src/package.ts start line: 365 end line: 459 size: 83 LOC McCabe index: 20 number of parameters: 2 id: 4 unit: async function _publish() file: src/publish.ts start line: 100 end line: 185 size: 72 LOC McCabe index: 22 number of parameters: 3 id: 5 unit: export function validateManifest() file: src/package.ts start line: 1138 end line: 1219 size: 66 LOC McCabe index: 22 number of parameters: 1 id: 6 unit: async onEnd() file: src/package.ts start line: 553 end line: 624 size: 63 LOC McCabe index: 18 number of parameters: 0 id: 7 unit: function showOverview() file: src/show.ts start line: 40 end line: 100 size: 56 LOC McCabe index: 2 number of parameters: 12 id: 8 unit: export async function publish() file: src/publish.ts start line: 36 end line: 92 size: 51 LOC McCabe index: 12 number of parameters: 1 id: 9 unit: bugs: getBugsUrl() file: src/package.ts start line: 436 end line: 496 size: 50 LOC McCabe index: 11 number of parameters: 2 id: 10 unit: export function validateVSCodeTypesCompatibility() file: src/validation.ts start line: 56 end line: 109 size: 45 LOC McCabe index: 10 number of parameters: 2 id: 11 unit: function collectFiles() file: src/package.ts start line: 1446 end line: 1499 size: 43 LOC McCabe index: 7 number of parameters: 4 id: 12 unit: export async function versionBump() file: src/package.ts start line: 298 end line: 348 size: 41 LOC McCabe index: 16 number of parameters: 1 id: 13 unit: private guessBaseUrls() file: src/package.ts start line: 804 end line: 847 size: 37 LOC McCabe index: 10 number of parameters: 1 id: 14 unit: export async function search() file: src/search.ts start line: 17 end line: 56 size: 37 LOC McCabe index: 4 number of parameters: 2 id: 15 unit: homepage: getHomepageUrl() file: src/package.ts start line: 437 end line: 496 size: 36 LOC McCabe index: 8 number of parameters: 2 id: 16 unit: function selectYarnDependencies() file: src/npm.ts start line: 112 end line: 155 size: 33 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: export function readManifest() file: src/package.ts start line: 1221 end line: 1255 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: export async function readZip() file: src/zip.ts start line: 15 end line: 46 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 19 unit: async onEnd() file: src/package.ts start line: 480 end line: 510 size: 26 LOC McCabe index: 7 number of parameters: 0 id: 20 unit: export function processFiles() file: src/package.ts start line: 1501 end line: 1528 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: function deduceExtensionKinds() file: src/package.ts start line: 1023 end line: 1054 size: 25 LOC McCabe index: 10 number of parameters: 1 id: 22 unit: function writeVsix() file: src/package.ts start line: 1575 end line: 1600 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 23 unit: async function openDefaultStore() file: src/store.ts start line: 152 end line: 182 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 24 unit: constructor() file: src/package.ts start line: 1059 end line: 1087 size: 23 LOC McCabe index: 9 number of parameters: 1 id: 25 unit: async function getYarnProductionDependencies() file: src/npm.ts start line: 157 end line: 183 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: async extensionQuery() file: src/publicgalleryapi.ts start line: 33 end line: 57 size: 22 LOC McCabe index: 2 number of parameters: 6 id: 27 unit: function asYarnDependency() file: src/npm.ts start line: 84 end line: 110 size: 21 LOC McCabe index: 7 number of parameters: 3 id: 28 unit: export async function unpublish() file: src/publish.ts start line: 192 end line: 218 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: export function show() file: src/show.ts start line: 18 end line: 38 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: export async function verifyPat() file: src/store.ts start line: 116 end line: 142 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 31 unit: function main() file: src/main.ts start line: 33 end line: 55 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: export async function packageCommand() file: src/package.ts start line: 1675 end line: 1698 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: function getRepositoryUrl() file: src/package.ts start line: 151 end line: 171 size: 18 LOC McCabe index: 7 number of parameters: 2 id: 34 unit: function getBugsUrl() file: src/package.ts start line: 174 end line: 192 size: 17 LOC McCabe index: 8 number of parameters: 2 id: 35 unit: export async function pack() file: src/package.ts start line: 1653 end line: 1673 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 36 unit: export function wordWrap() file: src/viewutils.ts start line: 51 end line: 67 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 37 unit: export async function toContentTypes() file: src/package.ts start line: 1374 end line: 1393 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: function getDependenciesOption() file: src/package.ts start line: 1544 end line: 1560 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: export async function loginPublisher() file: src/store.ts start line: 201 end line: 221 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: function getExtensionKind() file: src/package.ts start line: 1001 end line: 1021 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 41 unit: export async function prepublish() file: src/package.ts start line: 1616 end line: 1633 size: 15 LOC McCabe index: 6 number of parameters: 3 id: 42 unit: async function getPackagePath() file: src/package.ts start line: 1635 end line: 1651 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 43 unit: export async function readVSIXPackage() file: src/zip.ts start line: 48 end line: 66 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: function fatal() file: src/main.ts start line: 14 end line: 31 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 45 unit: async onEnd() file: src/package.ts start line: 1119 end line: 1135 size: 14 LOC McCabe index: 5 number of parameters: 0 id: 46 unit: export async function detectYarn() file: src/npm.ts start line: 200 end line: 212 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: export async function getDependencies() file: src/npm.ts start line: 214 end line: 226 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 48 unit: async onFile() file: src/package.ts start line: 461 end line: 478 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: constructor() file: src/package.ts start line: 872 end line: 887 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 50 unit: async function collectAllFiles() file: src/package.ts start line: 1431 end line: 1444 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 51 unit: export function createDefaultProcessors() file: src/package.ts start line: 1530 end line: 1542 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: static async open() file: src/store.ts start line: 23 end line: 36 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 53 unit: function createPatcher() file: src/nls.ts start line: 9 end line: 23 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: async function getYarnDependencies() file: src/npm.ts start line: 185 end line: 198 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 55 unit: export async function getPublisher() file: src/store.ts start line: 184 end line: 199 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: export async function deletePublisher() file: src/store.ts start line: 236 end line: 250 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: export function validatePublisher() file: src/validation.ts start line: 6 end line: 18 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: async onFile() file: src/package.ts start line: 1105 end line: 1117 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: export function patchOptionsWithManifest() file: src/util.ts start line: 151 end line: 163 size: 11 LOC McCabe index: 5 number of parameters: 2 id: 60 unit: export function collect() file: src/package.ts start line: 1562 end line: 1573 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 61 unit: function getDefaultPackageName() file: src/package.ts start line: 1602 end line: 1614 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 62 unit: function _log() file: src/util.ts start line: 128 end line: 138 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 63 unit: function getHomepageUrl() file: src/package.ts start line: 195 end line: 205 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 64 unit: constructor() file: src/package.ts start line: 856 end line: 864 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: constructor() file: src/package.ts start line: 922 end line: 930 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: static async open() file: src/store.ts start line: 76 end line: 85 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: export async function logoutPublisher() file: src/store.ts start line: 223 end line: 234 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: export function publishVSIX() file: src/api.ts start line: 160 end line: 167 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: constructor() file: src/npm.ts start line: 115 end line: 122 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 70 unit: async onEnd() file: src/package.ts start line: 908 end line: 916 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 71 unit: async onEnd() file: src/package.ts start line: 944 end line: 951 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 72 unit: export async function listFiles() file: src/package.ts start line: 1712 end line: 1721 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: async getExtension() file: src/publicgalleryapi.ts start line: 59 end line: 66 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: export function validateExtensionName() file: src/validation.ts start line: 20 end line: 28 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: export function validateVersion() file: src/validation.ts start line: 30 end line: 38 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 76 unit: export function validateEngineCompatibility() file: src/validation.ts start line: 40 end line: 48 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: async function bufferStream() file: src/zip.ts start line: 6 end line: 13 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: async function checkNPM() file: src/npm.ts start line: 56 end line: 63 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: function getNpmDependencies() file: src/npm.ts start line: 65 end line: 71 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: export function read() file: src/package.ts start line: 47 end line: 53 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 81 unit: export async function toVsixManifest() file: src/package.ts start line: 1269 end line: 1275 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: export function repeatString() file: src/viewutils.ts start line: 30 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: export function tableView() file: src/viewutils.ts start line: 43 end line: 49 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: function toExtensionTags() file: src/package.ts start line: 213 end line: 218 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: export async function ls() file: src/package.ts start line: 1726 end line: 1732 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: async deleteStore() file: src/store.ts start line: 48 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 87 unit: async function requestPAT() file: src/store.ts start line: 144 end line: 150 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: export async function listPublishers() file: src/store.ts start line: 252 end line: 258 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 89 unit: export function read() file: src/util.ts start line: 11 end line: 17 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 90 unit: function chain2() file: src/util.ts start line: 52 end line: 58 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 91 unit: export function wordTrim() file: src/viewutils.ts start line: 73 end line: 78 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 92 unit: export function getLatestVersion() file: src/npm.ts start line: 228 end line: 232 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: function toLanguagePackTags() file: src/package.ts start line: 220 end line: 224 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: constructor() file: src/package.ts start line: 958 end line: 963 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: async onEnd() file: src/package.ts start line: 975 end line: 979 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 96 unit: private constructor() file: src/store.ts start line: 91 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: export async function getSecurityRolesAPI() file: src/util.ts start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: export async function sequence() file: src/util.ts start line: 108 end line: 112 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 99 unit: export function patchNLS() file: src/nls.ts start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: function getGitHost() file: src/package.ts start line: 145 end line: 148 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 101 unit: export function isWebKind() file: src/package.ts start line: 984 end line: 987 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: async add() file: src/store.ts start line: 60 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: async delete() file: src/store.ts start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: private readonly keytar: typeof import() file: src/store.ts start line: 92 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: async add() file: src/store.ts start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: async delete() file: src/store.ts start line: 106 end line: 109 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: export async function getGalleryAPI() file: src/util.ts start line: 29 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: export function ratingStars() file: src/viewutils.ts start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 109 unit: export function createVSIX() file: src/api.ts start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: export function publish() file: src/api.ts start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: export function listFiles() file: src/api.ts start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: function parseStdout() file: src/npm.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: function exec() file: src/npm.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: function isInMemoryFile() file: src/package.ts start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: async onFile() file: src/package.ts start line: 136 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: function escapeRegExp() file: src/package.ts start line: 209 end line: 211 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: function isGitHubRepository() file: src/package.ts start line: 274 end line: 276 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: function isGitLabRepository() file: src/package.ts start line: 278 end line: 280 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: function isGitHubBadge() file: src/package.ts start line: 282 end line: 284 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 120 unit: function isHostTrusted() file: src/package.ts start line: 286 end line: 288 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 121 unit: constructor() file: src/package.ts start line: 851 end line: 853 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: function escape() file: src/package.ts start line: 1265 end line: 1267 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: private post() file: src/publicgalleryapi.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 124 unit: get size() file: src/store.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: private async save() file: src/store.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: get size() file: src/store.ts start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: export function getPublishedUrl() file: src/util.ts start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: export function getHubUrl() file: src/util.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 129 unit: export function getPublicGalleryAPI() file: src/util.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: export function normalize() file: src/util.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: export function chain() file: src/util.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 132 unit: export function flatten() file: src/util.ts start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: export function nonnull() file: src/util.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: export function isCancelledError() file: src/util.ts start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: get isCancelled() file: src/util.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: export function formatDate() file: src/viewutils.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: export function formatTime() file: src/viewutils.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: export function formatDateTime() file: src/viewutils.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: export function indentRow() file: src/viewutils.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: function createXMLParser() file: src/xml.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: async onEnd() file: src/package.ts start line: 139 end line: 141 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: private constructor() file: src/store.ts start line: 42 end line: 42 size: 1 LOC McCabe index: 1 number of parameters: 2