id: 1 unit: export function createFirebaseEndpoints() file: src/emulator/storage/apis/firebase.ts start line: 54 end line: 628 size: 401 LOC McCabe index: 59 number of parameters: 1 id: 2 unit: describe() file: scripts/storage-emulator-integration/tests.ts start line: 158 end line: 573 size: 330 LOC McCabe index: 14 number of parameters: 2 id: 3 unit: export async function startAll() file: src/emulator/controller.ts start line: 312 end line: 720 size: 330 LOC McCabe index: 45 number of parameters: 2 id: 4 unit: function addEmulatorOperations() file: scripts/gen-auth-api-spec.ts start line: 308 end line: 636 size: 329 LOC McCabe index: 1 number of parameters: 1 id: 5 unit: export function registerHandlers() file: src/emulator/auth/handlers.ts start line: 13 end line: 297 size: 231 LOC McCabe index: 37 number of parameters: 3 id: 6 unit: export function createCloudEndpoints() file: src/emulator/storage/apis/gcloud.ts start line: 19 end line: 282 size: 206 LOC McCabe index: 27 number of parameters: 1 id: 7 unit: function batchCreate() file: src/emulator/auth/operations.ts start line: 294 end line: 489 size: 169 LOC McCabe index: 45 number of parameters: 2 id: 8 unit: async function installExtension() file: src/commands/ext-install.ts start line: 56 end line: 217 size: 152 LOC McCabe index: 31 number of parameters: 1 id: 9 unit: module.exports = function() file: src/commands/index.js start line: 5 end line: 157 size: 143 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: function signInWithIdp() file: src/emulator/auth/operations.ts start line: 1416 end line: 1581 size: 141 LOC McCabe index: 29 number of parameters: 2 id: 11 unit: function parseEndpoints() file: src/deploy/functions/runtimes/discovery/v1alpha1.ts start line: 66 end line: 207 size: 139 LOC McCabe index: 17 number of parameters: 5 id: 12 unit: private async doRequest() file: src/apiv2.ts start line: 297 end line: 448 size: 133 LOC McCabe index: 33 number of parameters: 1 id: 13 unit: async loadTriggers() file: src/emulator/functionsEmulator.ts start line: 452 end line: 608 size: 132 LOC McCabe index: 21 number of parameters: 2 id: 14 unit: export async function publishExtensionVersionFromLocalSource() file: src/extensions/extensionsHelper.ts start line: 384 end line: 516 size: 124 LOC McCabe index: 21 number of parameters: 1 id: 15 unit: private recursiveBatchDelete() file: src/firestore/delete.ts start line: 307 end line: 463 size: 120 LOC McCabe index: 26 number of parameters: 0 id: 16 unit: export async function createApp() file: src/emulator/auth/server.ts start line: 117 end line: 363 size: 117 LOC McCabe index: 15 number of parameters: 2 id: 17 unit: export async function displayUpdateChangesRequiringConfirmation() file: src/extensions/displayExtensionInfo.ts start line: 131 end line: 250 size: 116 LOC McCabe index: 17 number of parameters: 1 id: 18 unit: export function validateSpec() file: src/extensions/extensionsHelper.ts start line: 212 end line: 324 size: 112 LOC McCabe index: 47 number of parameters: 1 id: 19 unit: export async function prepare() file: src/deploy/functions/prepare.ts start line: 52 end line: 189 size: 111 LOC McCabe index: 11 number of parameters: 3 id: 20 unit: export function proxyRequestHandler() file: src/hosting/proxy.ts start line: 42 end line: 175 size: 105 LOC McCabe index: 35 number of parameters: 2 id: 21 unit: export async function initGitHub() file: src/init/features/hosting/github.ts start line: 52 end line: 208 size: 104 LOC McCabe index: 14 number of parameters: 3 id: 22 unit: private async handleHttpsTrigger() file: src/emulator/functionsEmulator.ts start line: 1268 end line: 1409 size: 98 LOC McCabe index: 11 number of parameters: 2 id: 23 unit: var _validateRequiredParameters = function() file: src/accountImporter.js start line: 167 end line: 261 size: 94 LOC McCabe index: 30 number of parameters: 1 id: 24 unit: export async function prepare() file: src/deploy/extensions/prepare.ts start line: 16 end line: 117 size: 91 LOC McCabe index: 23 number of parameters: 3 id: 25 unit: function signUp() file: src/emulator/auth/operations.ts start line: 145 end line: 243 size: 89 LOC McCabe index: 18 number of parameters: 3 id: 26 unit: export async function profiler() file: src/profiler.ts start line: 21 end line: 122 size: 82 LOC McCabe index: 12 number of parameters: 1 id: 27 unit: async start() file: src/emulator/storage/rules/runtime.ts start line: 105 end line: 199 size: 82 LOC McCabe index: 11 number of parameters: 1 id: 28 unit: export function createApp() file: src/emulator/storage/server.ts start line: 14 end line: 118 size: 81 LOC McCabe index: 9 number of parameters: 2 id: 29 unit: export async function promptForMinInstances() file: src/deploy/functions/prompts.ts start line: 130 end line: 221 size: 81 LOC McCabe index: 12 number of parameters: 3 id: 30 unit: export function functionFromEndpoint() file: src/gcp/cloudfunctionsv2.ts start line: 364 end line: 449 size: 80 LOC McCabe index: 9 number of parameters: 2 id: 31 unit: export function addResourcesToBackend() file: src/deploy/functions/runtimes/node/parseTriggers.ts start line: 153 end line: 238 size: 79 LOC McCabe index: 16 number of parameters: 4 id: 32 unit: function sendOobCode() file: src/emulator/auth/operations.ts start line: 819 end line: 907 size: 78 LOC McCabe index: 12 number of parameters: 3 id: 33 unit: function processKillSignal() file: src/emulator/commandUtils.ts start line: 210 end line: 292 size: 74 LOC McCabe index: 11 number of parameters: 2 id: 34 unit: function signInWithCustomToken() file: src/emulator/auth/operations.ts start line: 1261 end line: 1350 size: 72 LOC McCabe index: 10 number of parameters: 2 id: 35 unit: var deploy = function() file: src/deploy/index.js start line: 43 end line: 122 size: 72 LOC McCabe index: 9 number of parameters: 3 id: 36 unit: export async function doSetup() file: src/init/features/database.ts start line: 121 end line: 207 size: 70 LOC McCabe index: 13 number of parameters: 2 id: 37 unit: export function parseModule() file: src/deploy/functions/runtimes/golang/gomod.ts start line: 12 end line: 87 size: 68 LOC McCabe index: 14 number of parameters: 1 id: 38 unit: async createRulesets() file: src/rulesDeploy.ts start line: 113 end line: 188 size: 66 LOC McCabe index: 10 number of parameters: 1 id: 39 unit: async function runScript() file: src/emulator/commandUtils.ts start line: 313 end line: 397 size: 66 LOC McCabe index: 9 number of parameters: 2 id: 40 unit: async function initializeFirebaseAdminStubs() file: src/emulator/functionsEmulatorRuntime.ts start line: 567 end line: 652 size: 66 LOC McCabe index: 7 number of parameters: 1 id: 41 unit: export async function implicitInit() file: src/hosting/implicitInit.ts start line: 30 end line: 103 size: 65 LOC McCabe index: 11 number of parameters: 1 id: 42 unit: public listItemsAndPrefixes() file: src/emulator/storage/files.ts start line: 319 end line: 393 size: 64 LOC McCabe index: 15 number of parameters: 5 id: 43 unit: async function getAndCheckAddress() file: src/emulator/controller.ts start line: 47 end line: 120 size: 64 LOC McCabe index: 9 number of parameters: 2 id: 44 unit: async function processHTTPS() file: src/emulator/functionsEmulatorRuntime.ts start line: 762 end line: 832 size: 63 LOC McCabe index: 4 number of parameters: 2 id: 45 unit: constructor() file: src/emulator/hub.ts start line: 71 end line: 144 size: 63 LOC McCabe index: 5 number of parameters: 1 id: 46 unit: export function convertConfig() file: src/deploy/hosting/convertConfig.ts start line: 41 end line: 119 size: 63 LOC McCabe index: 18 number of parameters: 1 id: 47 unit: module.exports = function() file: src/init/features/hosting/index.js start line: 21 end line: 87 size: 62 LOC McCabe index: 3 number of parameters: 3 id: 48 unit: async function _runBinary() file: src/emulator/downloadableEmulators.ts start line: 284 end line: 358 size: 62 LOC McCabe index: 11 number of parameters: 3 id: 49 unit: function fakeFetchUserInfoFromIdp() file: src/emulator/auth/operations.ts start line: 2398 end line: 2465 size: 61 LOC McCabe index: 8 number of parameters: 3 id: 50 unit: async createV2Function() file: src/deploy/functions/release/fabricator.ts start line: 252 end line: 323 size: 61 LOC McCabe index: 15 number of parameters: 1 id: 51 unit: private collectionDescendantsQuery() file: src/firestore/delete.ts start line: 158 end line: 222 size: 60 LOC McCabe index: 2 number of parameters: 3 id: 52 unit: function createAuthUri() file: src/emulator/auth/operations.ts start line: 549 end line: 616 size: 60 LOC McCabe index: 14 number of parameters: 2 id: 53 unit: export async function exportEmulatorData() file: src/emulator/controller.ts start line: 727 end line: 797 size: 60 LOC McCabe index: 14 number of parameters: 2 id: 54 unit: LocalFunction.prototype._call = function() file: src/localFunction.js start line: 157 end line: 219 size: 60 LOC McCabe index: 12 number of parameters: 2 id: 55 unit: export function endpointFromFunction() file: src/gcp/cloudfunctions.ts start line: 462 end line: 522 size: 58 LOC McCabe index: 6 number of parameters: 1 id: 56 unit: export function functionFromEndpoint() file: src/gcp/cloudfunctions.ts start line: 527 end line: 592 size: 58 LOC McCabe index: 7 number of parameters: 2 id: 57 unit: function signInWithPhoneNumber() file: src/emulator/auth/operations.ts start line: 1626 end line: 1690 size: 56 LOC McCabe index: 8 number of parameters: 2 id: 58 unit: Display name() file: src/emulator/auth/widget_ui.ts start line: 564 end line: 622 size: 56 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: function signInWithEmailLink() file: src/emulator/auth/operations.ts start line: 1352 end line: 1412 size: 55 LOC McCabe index: 11 number of parameters: 2 id: 60 unit: function registerLegacyRoutes() file: src/emulator/auth/server.ts start line: 365 end line: 431 size: 55 LOC McCabe index: 8 number of parameters: 1 id: 61 unit: ProfileReport.prototype.collapsePaths = function() file: src/profileReport.js start line: 277 end line: 331 size: 55 LOC McCabe index: 8 number of parameters: 3 id: 62 unit: export async function askForParam() file: src/extensions/askUserForParam.ts start line: 64 end line: 137 size: 54 LOC McCabe index: 8 number of parameters: 4 id: 63 unit: function handleIdpSigninEmailRequired() file: src/emulator/auth/operations.ts start line: 2522 end line: 2585 size: 54 LOC McCabe index: 8 number of parameters: 4 id: 64 unit: async function handleSecretParamForUpdate() file: src/deploy/extensions/secrets.ts start line: 142 end line: 200 size: 54 LOC McCabe index: 11 number of parameters: 4 id: 65 unit: async function packageSource() file: src/deploy/functions/prepareFunctionsUpload.ts start line: 58 end line: 116 size: 53 LOC McCabe index: 4 number of parameters: 3 id: 66 unit: export async function logAndTrackDeployStats() file: src/deploy/functions/release/reporter.ts start line: 55 end line: 113 size: 53 LOC McCabe index: 11 number of parameters: 1 id: 67 unit: async function promptReconfigureSecret() file: src/extensions/askUserForParam.ts start line: 139 end line: 190 size: 52 LOC McCabe index: 12 number of parameters: 3 id: 68 unit: public listItems() file: src/emulator/storage/files.ts start line: 395 end line: 456 size: 52 LOC McCabe index: 12 number of parameters: 5 id: 69 unit: request: function() file: src/api.js start line: 278 end line: 347 size: 52 LOC McCabe index: 10 number of parameters: 3 id: 70 unit: async function refreshTokens() file: src/auth.ts start line: 612 end line: 668 size: 51 LOC McCabe index: 9 number of parameters: 2 id: 71 unit: export async function doSetup() file: src/init/features/emulators.ts start line: 14 end line: 114 size: 51 LOC McCabe index: 20 number of parameters: 2 id: 72 unit: export async function updateToVersionFromPublisherSource() file: src/extensions/updateHelper.ts start line: 223 end line: 275 size: 51 LOC McCabe index: 8 number of parameters: 4 id: 73 unit: private updateUserProviderInfo() file: src/emulator/auth/state.ts start line: 241 end line: 295 size: 51 LOC McCabe index: 11 number of parameters: 3 id: 74 unit: async function invokeTrigger() file: src/emulator/functionsEmulatorRuntime.ts start line: 944 end line: 1002 size: 51 LOC McCabe index: 8 number of parameters: 2 id: 75 unit: var _genUploadAccountPostBody = function() file: src/accountImporter.js start line: 64 end line: 114 size: 51 LOC McCabe index: 14 number of parameters: 3 id: 76 unit: export async function checkAvailability() file: src/deploy/functions/backend.ts start line: 397 end line: 451 size: 51 LOC McCabe index: 8 number of parameters: 2 id: 77 unit: async function CheckFirebaseTools() file: standalone/welcome.js start line: 46 end line: 99 size: 50 LOC McCabe index: 3 number of parameters: 0 id: 78 unit: async function typescriptSelected() file: src/commands/ext-dev-init.ts start line: 34 end line: 84 size: 50 LOC McCabe index: 3 number of parameters: 1 id: 79 unit: export async function promptForNewParams() file: src/extensions/paramHelper.ts start line: 149 end line: 200 size: 50 LOC McCabe index: 5 number of parameters: 1 id: 80 unit: constructor() file: src/emulator/storage/metadata.ts start line: 391 end line: 448 size: 49 LOC McCabe index: 8 number of parameters: 1 id: 81 unit: ProfileReport.prototype.processOperation = function() file: src/profileReport.js start line: 222 end line: 270 size: 49 LOC McCabe index: 14 number of parameters: 1 id: 82 unit: async applyRegionalChanges() file: src/deploy/functions/release/fabricator.ts start line: 103 end line: 157 size: 49 LOC McCabe index: 7 number of parameters: 1 id: 83 unit: async function SetupFirebaseTools() file: standalone/firepit.js start line: 707 end line: 797 size: 48 LOC McCabe index: 4 number of parameters: 0 id: 84 unit: function toExpressionValue() file: src/emulator/storage/rules/runtime.ts start line: 318 end line: 379 size: 48 LOC McCabe index: 10 number of parameters: 1 id: 85 unit: function mfaEnrollmentFinalize() file: src/emulator/auth/operations.ts start line: 1837 end line: 1897 size: 48 LOC McCabe index: 7 number of parameters: 2 id: 86 unit: async function initializeRuntime() file: src/emulator/functionsEmulatorRuntime.ts start line: 1004 end line: 1061 size: 48 LOC McCabe index: 6 number of parameters: 3 id: 87 unit: var _request = function() file: src/api.js start line: 20 end line: 76 size: 48 LOC McCabe index: 13 number of parameters: 2 id: 88 unit: async function handleSecretParamForCreate() file: src/deploy/extensions/secrets.ts start line: 80 end line: 140 size: 48 LOC McCabe index: 13 number of parameters: 3 id: 89 unit: function getConfirmationMessage() file: src/commands/firestore-delete.ts start line: 12 end line: 66 size: 47 LOC McCabe index: 5 number of parameters: 2 id: 90 unit: async function initializeFirebaseFunctionsStubs() file: src/emulator/functionsEmulatorRuntime.ts start line: 412 end line: 487 size: 47 LOC McCabe index: 3 number of parameters: 1 id: 91 unit: module.exports = function() file: src/deploy/database/prepare.js start line: 14 end line: 66 size: 47 LOC McCabe index: 6 number of parameters: 2 id: 92 unit: function main() file: scripts/lint-changed-files.ts start line: 26 end line: 78 size: 46 LOC McCabe index: 9 number of parameters: 0 id: 93 unit: export async function checkInstanceNameAvailable() file: src/management/database.ts start line: 149 end line: 194 size: 46 LOC McCabe index: 5 number of parameters: 4 id: 94 unit: async function createDefaultDatabaseInstance() file: src/init/features/database.ts start line: 67 end line: 114 size: 46 LOC McCabe index: 5 number of parameters: 1 id: 95 unit: function startServer() file: src/serve/hosting.ts start line: 26 end line: 107 size: 46 LOC McCabe index: 4 number of parameters: 4 id: 96 unit: export async function release() file: src/deploy/functions/release/index.ts start line: 19 end line: 89 size: 46 LOC McCabe index: 6 number of parameters: 3 id: 97 unit: async addTrigger() file: src/emulator/pubsubEmulator.ts start line: 79 end line: 128 size: 45 LOC McCabe index: 12 number of parameters: 3 id: 98 unit: export async function checkHttpIam() file: src/deploy/functions/checkIam.ts start line: 59 end line: 110 size: 45 LOC McCabe index: 5 number of parameters: 3 id: 99 unit: it() file: scripts/storage-emulator-integration/tests.ts start line: 665 end line: 714 size: 44 LOC McCabe index: 2 number of parameters: 2 id: 100 unit: var main = function() file: scripts/test-functions-config.js start line: 95 end line: 138 size: 44 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: function encodeHelper() file: src/firestore/encodeFirestoreValue.ts start line: 13 end line: 57 size: 44 LOC McCabe index: 13 number of parameters: 1 id: 102 unit: export function getNodeVersion() file: src/extensions/emulator/specHelper.ts start line: 94 end line: 139 size: 44 LOC McCabe index: 8 number of parameters: 1 id: 103 unit: private async handleBackgroundTrigger() file: src/emulator/functionsEmulator.ts start line: 1160 end line: 1215 size: 44 LOC McCabe index: 10 number of parameters: 3 id: 104 unit: Screen name() file: src/emulator/auth/widget_ui.ts start line: 577 end line: 622 size: 44 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: async function handleMessage() file: src/emulator/functionsEmulatorRuntime.ts start line: 1073 end line: 1126 size: 44 LOC McCabe index: 12 number of parameters: 1 id: 106 unit: function findExportMetadata() file: src/emulator/controller.ts start line: 252 end line: 306 size: 44 LOC McCabe index: 5 number of parameters: 1 id: 107 unit: async function loginWithLocalhost() file: src/auth.ts start line: 468 end line: 515 size: 43 LOC McCabe index: 5 number of parameters: 6 id: 108 unit: async function buildCloudMonitoringLink() file: src/commands/ext-dev-usage.ts start line: 129 end line: 173 size: 43 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: export function initIndexes() file: src/init/features/firestore/indexes.ts start line: 17 end line: 62 size: 43 LOC McCabe index: 4 number of parameters: 2 id: 110 unit: export async function listExtensions() file: src/extensions/listExtensions.ts start line: 16 end line: 61 size: 43 LOC McCabe index: 4 number of parameters: 1 id: 111 unit: export function displayUpdateChangesNoInput() file: src/extensions/displayExtensionInfo.ts start line: 76 end line: 122 size: 43 LOC McCabe index: 7 number of parameters: 2 id: 112 unit: ProfileReport.prototype.renderOperationSpeed = function() file: src/profileReport.js start line: 449 end line: 495 size: 43 LOC McCabe index: 6 number of parameters: 2 id: 113 unit: export async function promptForFailurePolicies() file: src/deploy/functions/prompts.ts start line: 19 end line: 68 size: 43 LOC McCabe index: 9 number of parameters: 3 id: 114 unit: export async function ensureServiceAgentRoles() file: src/deploy/functions/checkIam.ts start line: 150 end line: 196 size: 43 LOC McCabe index: 4 number of parameters: 3 id: 115 unit: export function initRules() file: src/init/features/firestore/rules.ts start line: 17 end line: 63 size: 42 LOC McCabe index: 4 number of parameters: 2 id: 116 unit: module.exports = function() file: src/init/features/functions/typescript.js start line: 25 end line: 66 size: 42 LOC McCabe index: 3 number of parameters: 2 id: 117 unit: export function needProjectId() file: src/projectUtils.ts start line: 31 end line: 76 size: 42 LOC McCabe index: 6 number of parameters: 4 id: 118 unit: ProfileReport.prototype.parse = function() file: src/profileReport.js start line: 521 end line: 562 size: 42 LOC McCabe index: 4 number of parameters: 2 id: 119 unit: export async function deploy() file: src/deploy/functions/deploy.ts start line: 45 end line: 96 size: 42 LOC McCabe index: 9 number of parameters: 3 id: 120 unit: async createV1Function() file: src/deploy/functions/release/fabricator.ts start line: 203 end line: 250 size: 42 LOC McCabe index: 9 number of parameters: 2 id: 121 unit: export async function listFirebaseApps() file: src/management/apps.ts start line: 225 end line: 268 size: 41 LOC McCabe index: 7 number of parameters: 3 id: 122 unit: module.exports = function() file: src/responseToError.js start line: 6 end line: 54 size: 41 LOC McCabe index: 10 number of parameters: 2 id: 123 unit: module.exports = function() file: src/prepareUpload.js start line: 13 end line: 55 size: 41 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: export async function setEnqueuer() file: src/gcp/cloudtasks.ts start line: 156 end line: 201 size: 41 LOC McCabe index: 7 number of parameters: 3 id: 125 unit: var serialExportUsers = function() file: src/accountExporter.js start line: 155 end line: 198 size: 41 LOC McCabe index: 9 number of parameters: 2 id: 126 unit: module.exports = function() file: src/deploy/hosting/release.js start line: 5 end line: 50 size: 41 LOC McCabe index: 7 number of parameters: 2 id: 127 unit: async function runDeploys() file: src/deploy/hosting/deploy.ts start line: 44 end line: 102 size: 41 LOC McCabe index: 5 number of parameters: 2 id: 128 unit: export function assertKeyTypes() file: src/deploy/functions/runtimes/discovery/parsing.ts start line: 17 end line: 58 size: 41 LOC McCabe index: 18 number of parameters: 3 id: 129 unit: private async prepare() file: src/command.ts start line: 227 end line: 278 size: 40 LOC McCabe index: 11 number of parameters: 1 id: 130 unit: export async function getParams() file: src/extensions/paramHelper.ts start line: 59 end line: 98 size: 40 LOC McCabe index: 6 number of parameters: 1 id: 131 unit: export async function getParamsForUpdate() file: src/extensions/paramHelper.ts start line: 100 end line: 139 size: 40 LOC McCabe index: 6 number of parameters: 1 id: 132 unit: log() file: src/emulator/loggingEmulator.ts start line: 106 end line: 154 size: 40 LOC McCabe index: 11 number of parameters: 2 id: 133 unit: public async start() file: src/deploy/hosting/uploader.ts start line: 100 end line: 143 size: 40 LOC McCabe index: 5 number of parameters: 0 id: 134 unit: function parseTriggers() file: src/deploy/functions/runtimes/node/parseTriggers.ts start line: 88 end line: 131 size: 40 LOC McCabe index: 6 number of parameters: 4 id: 135 unit: async function zipDirectory() file: src/archiveDirectory.ts start line: 122 end line: 162 size: 40 LOC McCabe index: 4 number of parameters: 3 id: 136 unit: it() file: scripts/storage-emulator-integration/tests.ts start line: 820 end line: 862 size: 39 LOC McCabe index: 3 number of parameters: 2 id: 137 unit: var main = function() file: scripts/test-functions-deploy.js start line: 289 end line: 327 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: async start() file: src/serve/functions.ts start line: 27 end line: 75 size: 39 LOC McCabe index: 5 number of parameters: 2 id: 139 unit: export function resetPassword() file: src/emulator/auth/operations.ts start line: 772 end line: 817 size: 39 LOC McCabe index: 3 number of parameters: 2 id: 140 unit: function signInWithPassword() file: src/emulator/auth/operations.ts start line: 1583 end line: 1624 size: 39 LOC McCabe index: 9 number of parameters: 2 id: 141 unit: code: randomDigits() file: src/emulator/auth/state.ts start line: 470 end line: 520 size: 39 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: obj[method] = function() file: src/emulator/functionsEmulatorRuntime.ts start line: 349 end line: 389 size: 39 LOC McCabe index: 11 number of parameters: 1 id: 143 unit: export function shouldStart() file: src/emulator/controller.ts start line: 201 end line: 250 size: 39 LOC McCabe index: 12 number of parameters: 2 id: 144 unit: LocalFunction.prototype._constructAuth = function() file: src/localFunction.js start line: 77 end line: 116 size: 39 LOC McCabe index: 13 number of parameters: 2 id: 145 unit: export async function want() file: src/deploy/extensions/planner.ts start line: 77 end line: 117 size: 39 LOC McCabe index: 5 number of parameters: 1 id: 146 unit: async function tarDirectory() file: src/archiveDirectory.ts start line: 76 end line: 117 size: 39 LOC McCabe index: 4 number of parameters: 3 id: 147 unit: export async function listDatabaseInstances() file: src/management/database.ts start line: 233 end line: 271 size: 38 LOC McCabe index: 7 number of parameters: 3 id: 148 unit: async function javascriptSelected() file: src/commands/ext-dev-init.ts start line: 90 end line: 129 size: 38 LOC McCabe index: 2 number of parameters: 1 id: 149 unit: export async function grantServiceAgentRole() file: src/gcp/secretManager.ts start line: 122 end line: 163 size: 38 LOC McCabe index: 4 number of parameters: 3 id: 150 unit: function writeDeployToProdActionYMLFile() file: src/init/features/hosting/github.ts start line: 333 end line: 375 size: 38 LOC McCabe index: 3 number of parameters: 5 id: 151 unit: default: defaultGithubRepo() file: src/init/features/hosting/github.ts start line: 406 end line: 444 size: 38 LOC McCabe index: 4 number of parameters: 0 id: 152 unit: export function displayExtInfo() file: src/extensions/displayExtensionInfo.ts start line: 28 end line: 67 size: 38 LOC McCabe index: 6 number of parameters: 4 id: 153 unit: function queryAccounts() file: src/emulator/auth/operations.ts start line: 713 end line: 763 size: 38 LOC McCabe index: 11 number of parameters: 2 id: 154 unit: function mfaEnrollmentStart() file: src/emulator/auth/operations.ts start line: 1784 end line: 1835 size: 38 LOC McCabe index: 4 number of parameters: 2 id: 155 unit: function validateAndFixRestMappingRequestBody() file: src/emulator/auth/server.ts start line: 533 end line: 581 size: 38 LOC McCabe index: 12 number of parameters: 3 id: 156 unit: export function loadUserEnvs() file: src/functions/env.ts start line: 249 end line: 291 size: 38 LOC McCabe index: 9 number of parameters: 5 id: 157 unit: export function validateDeploy() file: src/deploy/hosting/validate.ts start line: 10 end line: 53 size: 38 LOC McCabe index: 14 number of parameters: 2 id: 158 unit: export async function getDatabaseInstanceDetails() file: src/management/database.ts start line: 60 end line: 99 size: 37 LOC McCabe index: 5 number of parameters: 2 id: 159 unit: function writeChannelActionYMLFile() file: src/init/features/hosting/github.ts start line: 290 end line: 331 size: 37 LOC McCabe index: 2 number of parameters: 4 id: 160 unit: export function checkResponse() file: src/extensions/askUserForParam.ts start line: 20 end line: 62 size: 37 LOC McCabe index: 17 number of parameters: 2 id: 161 unit: export function parseTimeseriesResponse() file: src/extensions/metricsUtils.ts start line: 10 end line: 53 size: 37 LOC McCabe index: 12 number of parameters: 1 id: 162 unit: async function checkProducts() file: src/extensions/provisioningHelper.ts start line: 48 end line: 86 size: 37 LOC McCabe index: 10 number of parameters: 2 id: 163 unit: export async function displayWarningsForDeploy() file: src/extensions/warnings.ts start line: 78 end line: 118 size: 37 LOC McCabe index: 6 number of parameters: 1 id: 164 unit: public async dispatch() file: src/emulator/storage/cloudFunctions.ts start line: 41 end line: 81 size: 37 LOC McCabe index: 7 number of parameters: 2 id: 165 unit: start: parseInt() file: src/emulator/storage/apis/firebase.ts start line: 192 end line: 235 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 166 unit: function lookup() file: src/emulator/auth/operations.ts start line: 245 end line: 292 size: 37 LOC McCabe index: 10 number of parameters: 3 id: 167 unit: private async exportDatabase() file: src/emulator/hubExport.ts start line: 143 end line: 195 size: 37 LOC McCabe index: 7 number of parameters: 1 id: 168 unit: async start() file: src/emulator/databaseEmulator.ts start line: 33 end line: 76 size: 37 LOC McCabe index: 7 number of parameters: 0 id: 169 unit: private async deletePath() file: src/database/remove.ts start line: 64 end line: 102 size: 37 LOC McCabe index: 8 number of parameters: 1 id: 170 unit: async function loadExistingBackend() file: src/deploy/functions/backend.ts start line: 347 end line: 387 size: 37 LOC McCabe index: 9 number of parameters: 1 id: 171 unit: function printIamErrors() file: src/deploy/functions/release/reporter.ts start line: 138 end line: 180 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 172 unit: async function main() file: scripts/gen-auth-api-spec.ts start line: 31 end line: 78 size: 36 LOC McCabe index: 2 number of parameters: 0 id: 173 unit: async function createRuntimeBinaries() file: standalone/firepit.js start line: 631 end line: 704 size: 36 LOC McCabe index: 4 number of parameters: 0 id: 174 unit: function uninstallLegacyFirepit() file: standalone/firepit.js start line: 805 end line: 863 size: 36 LOC McCabe index: 6 number of parameters: 0 id: 175 unit: async function VerifyNodePath() file: standalone/firepit.js start line: 893 end line: 950 size: 36 LOC McCabe index: 3 number of parameters: 1 id: 176 unit: async function getTokensFromAuthorizationCode() file: src/auth.ts start line: 327 end line: 363 size: 36 LOC McCabe index: 6 number of parameters: 2 id: 177 unit: async distribute() file: src/appdistribution/client.ts start line: 137 end line: 176 size: 36 LOC McCabe index: 7 number of parameters: 3 id: 178 unit: end: rangeEnd ? parseInt() file: src/emulator/storage/apis/firebase.ts start line: 193 end line: 235 size: 36 LOC McCabe index: 5 number of parameters: 1 id: 179 unit: function mfaSignInStart() file: src/emulator/auth/operations.ts start line: 1921 end line: 1965 size: 36 LOC McCabe index: 3 number of parameters: 2 id: 180 unit: async importData() file: src/emulator/databaseEmulator.ts start line: 116 end line: 154 size: 36 LOC McCabe index: 2 number of parameters: 2 id: 181 unit: async updateV2Function() file: src/deploy/functions/release/fabricator.ts start line: 358 end line: 401 size: 36 LOC McCabe index: 7 number of parameters: 1 id: 182 unit: async rm() file: src/deploy/functions/containerCleaner.ts start line: 383 end line: 426 size: 36 LOC McCabe index: 5 number of parameters: 1 id: 183 unit: parseFile() file: src/config.ts start line: 109 end line: 146 size: 36 LOC McCabe index: 9 number of parameters: 2 id: 184 unit: beforeEach() file: scripts/storage-emulator-integration/tests.ts start line: 597 end line: 638 size: 35 LOC McCabe index: 4 number of parameters: 1 id: 185 unit: function replaceWithFlatPath() file: scripts/gen-auth-api-spec.ts start line: 188 end line: 241 size: 35 LOC McCabe index: 6 number of parameters: 1 id: 186 unit: export function fetchMOTD() file: src/fetchMOTD.ts start line: 16 end line: 52 size: 35 LOC McCabe index: 9 number of parameters: 0 id: 187 unit: validate: async() file: src/init/features/hosting/github.ts start line: 409 end line: 444 size: 35 LOC McCabe index: 4 number of parameters: 1 id: 188 unit: export async function doSetup() file: src/init/features/project.ts start line: 106 end line: 148 size: 35 LOC McCabe index: 6 number of parameters: 3 id: 189 unit: function checkTestConfig() file: src/extensions/emulator/optionsHelper.ts start line: 71 end line: 108 size: 35 LOC McCabe index: 9 number of parameters: 2 id: 190 unit: function filterOnly() file: src/hosting/normalizedHostingConfigs.ts start line: 11 end line: 57 size: 35 LOC McCabe index: 9 number of parameters: 2 id: 191 unit: public async loadRuleset() file: src/emulator/storage/index.ts start line: 107 end line: 149 size: 35 LOC McCabe index: 6 number of parameters: 1 id: 192 unit: async function initializeFunctionsConfigHelper() file: src/emulator/functionsEmulatorRuntime.ts start line: 711 end line: 752 size: 35 LOC McCabe index: 4 number of parameters: 1 id: 193 unit: private async onMessage() file: src/emulator/pubsubEmulator.ts start line: 187 end line: 224 size: 35 LOC McCabe index: 8 number of parameters: 2 id: 194 unit: export async function deprecateExtensionVersion() file: src/extensions/extensionsApi.ts start line: 611 end line: 644 size: 34 LOC McCabe index: 5 number of parameters: 2 id: 195 unit: function mfaSignInFinalize() file: src/emulator/auth/operations.ts start line: 1967 end line: 2008 size: 34 LOC McCabe index: 5 number of parameters: 2 id: 196 unit: function parseIdToken() file: src/emulator/auth/operations.ts start line: 2092 end line: 2133 size: 34 LOC McCabe index: 4 number of parameters: 2 id: 197 unit: async function CheckIsLoggedIn() file: standalone/welcome.js start line: 121 end line: 157 size: 33 LOC McCabe index: 3 number of parameters: 0 id: 198 unit: private async compileRuleset() file: src/rulesDeploy.ts start line: 225 end line: 261 size: 33 LOC McCabe index: 7 number of parameters: 2 id: 199 unit: export async function setInvokerUpdate() file: src/gcp/run.ts start line: 219 end line: 253 size: 33 LOC McCabe index: 6 number of parameters: 4 id: 200 unit: export async function updateFunction() file: src/gcp/cloudfunctions.ts start line: 353 end line: 390 size: 33 LOC McCabe index: 3 number of parameters: 1 id: 201 unit: async function checkProjectSetup() file: src/init/features/firestore/index.ts start line: 12 end line: 48 size: 33 LOC McCabe index: 5 number of parameters: 3 id: 202 unit: async function promptForAccount() file: src/init/features/account.ts start line: 14 end line: 51 size: 33 LOC McCabe index: 4 number of parameters: 0 id: 203 unit: async function writeModFile() file: src/init/features/functions/golang.ts start line: 32 end line: 72 size: 33 LOC McCabe index: 5 number of parameters: 1 id: 204 unit: export async function writeFiles() file: src/extensions/export.ts start line: 103 end line: 135 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 205 unit: export async function getCleanDomains() file: src/hosting/api.ts start line: 500 end line: 534 size: 33 LOC McCabe index: 4 number of parameters: 2 id: 206 unit: async start() file: src/emulator/storage/index.ts start line: 53 end line: 94 size: 33 LOC McCabe index: 6 number of parameters: 0 id: 207 unit: function sendFileBytes() file: src/emulator/storage/apis/gcloud.ts start line: 284 end line: 321 size: 33 LOC McCabe index: 6 number of parameters: 4 id: 208 unit: async function isPermitted() file: src/emulator/storage/apis/firebase.ts start line: 12 end line: 49 size: 33 LOC McCabe index: 6 number of parameters: 1 id: 209 unit: export function warnEmulatorNotSupported() file: src/emulator/commandUtils.ts start line: 88 end line: 123 size: 33 LOC McCabe index: 6 number of parameters: 2 id: 210 unit: function parsePendingCredential() file: src/emulator/auth/operations.ts start line: 2685 end line: 2719 size: 33 LOC McCabe index: 3 number of parameters: 2 id: 211 unit: function toExegesisOperation() file: src/emulator/auth/server.ts start line: 468 end line: 511 size: 33 LOC McCabe index: 11 number of parameters: 1 id: 212 unit: export async function release() file: src/deploy/extensions/release.ts start line: 9 end line: 51 size: 33 LOC McCabe index: 6 number of parameters: 3 id: 213 unit: constructor() file: src/deploy/hosting/uploader.ts start line: 57 end line: 92 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 214 unit: export async function detectFromPort() file: src/deploy/functions/runtimes/discovery/index.ts start line: 59 end line: 97 size: 33 LOC McCabe index: 5 number of parameters: 4 id: 215 unit: async function selectProjectFromList() file: src/management/projects.ts start line: 167 end line: 202 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 216 unit: exports.updateRules = function() file: src/rtdb.js start line: 8 end line: 39 size: 32 LOC McCabe index: 5 number of parameters: 4 id: 217 unit: export async function setInvokerUpdate() file: src/gcp/cloudfunctions.ts start line: 314 end line: 347 size: 32 LOC McCabe index: 6 number of parameters: 3 id: 218 unit: async request() file: src/apiv2.ts start line: 202 end line: 241 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 219 unit: import() file: src/emulator/storage/files.ts start line: 533 end line: 577 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 220 unit: Profile photo URL() file: src/emulator/auth/widget_ui.ts start line: 590 end line: 622 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: export async function requireAuth() file: src/requireAuth.ts start line: 47 end line: 84 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 222 unit: export function getRulesConfig() file: src/database/rulesConfig.ts start line: 34 end line: 71 size: 32 LOC McCabe index: 10 number of parameters: 2 id: 223 unit: var transArrayToUser = function() file: src/accountImporter.js start line: 116 end line: 148 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 224 unit: module.exports = function() file: src/deploy/hosting/prepare.js start line: 12 end line: 59 size: 32 LOC McCabe index: 4 number of parameters: 2 id: 225 unit: it() file: scripts/storage-emulator-integration/tests.ts start line: 991 end line: 1024 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 226 unit: export function allSettled() file: src/utils.ts start line: 220 end line: 254 size: 31 LOC McCabe index: 4 number of parameters: 1 id: 227 unit: export async function promptAvailableProjectId() file: src/management/projects.ts start line: 215 end line: 247 size: 31 LOC McCabe index: 4 number of parameters: 0 id: 228 unit: export async function createInstance() file: src/management/database.ts start line: 108 end line: 139 size: 31 LOC McCabe index: 3 number of parameters: 4 id: 229 unit: export async function promptCreateSecret() file: src/extensions/askUserForParam.ts start line: 192 end line: 222 size: 31 LOC McCabe index: 7 number of parameters: 4 id: 230 unit: async importData() file: src/emulator/auth/index.ts start line: 52 end line: 111 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 231 unit: function main() file: src/emulator/functionsEmulatorRuntime.ts start line: 1128 end line: 1170 size: 31 LOC McCabe index: 4 number of parameters: 0 id: 232 unit: public async exportAll() file: src/emulator/hubExport.ts start line: 64 end line: 124 size: 31 LOC McCabe index: 5 number of parameters: 0 id: 233 unit: export function getProjectInfos() file: src/functions/runtimeConfigExport.ts start line: 37 end line: 72 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 234 unit: ProfileReport.prototype.renderUnindexedData = function() file: src/profileReport.js start line: 333 end line: 363 size: 31 LOC McCabe index: 3 number of parameters: 0 id: 235 unit: ProfileReport.prototype.renderBandwidth = function() file: src/profileReport.js start line: 365 end line: 399 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 236 unit: ProfileReport.prototype.renderUnpathedOperationSpeed = function() file: src/profileReport.js start line: 417 end line: 447 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 237 unit: async updateV1Function() file: src/deploy/functions/release/fabricator.ts start line: 325 end line: 356 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 238 unit: module.exports = function() file: src/checkValidTargetFilters.js start line: 7 end line: 50 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 239 unit: export async function listAppAndroidSha() file: src/management/apps.ts start line: 352 end line: 382 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 240 unit: export async function testResourceIamPermissions() file: src/gcp/iam.ts start line: 150 end line: 181 size: 30 LOC McCabe index: 3 number of parameters: 4 id: 241 unit: export async function createOrReplaceJob() file: src/gcp/cloudscheduler.ts start line: 139 end line: 171 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 242 unit: exports.askInstallDependencies = function() file: src/init/features/functions/npm-dependencies.js start line: 8 end line: 39 size: 30 LOC McCabe index: 3 number of parameters: 2 id: 243 unit: module.exports = function() file: src/init/features/functions/javascript.js start line: 23 end line: 52 size: 30 LOC McCabe index: 2 number of parameters: 2 id: 244 unit: export async function listChannels() file: src/hosting/api.ts start line: 233 end line: 262 size: 30 LOC McCabe index: 8 number of parameters: 2 id: 245 unit: function createSessionCookie() file: src/emulator/auth/operations.ts start line: 621 end line: 653 size: 30 LOC McCabe index: 3 number of parameters: 3 id: 246 unit: function parseClaims() file: src/emulator/auth/operations.ts start line: 2366 end line: 2396 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 247 unit: function handleLinkIdp() file: src/emulator/auth/operations.ts start line: 2473 end line: 2502 size: 30 LOC McCabe index: 11 number of parameters: 3 id: 248 unit: export function getServiceFromEventType() file: src/emulator/functionsEmulatorShared.ts start line: 215 end line: 246 size: 30 LOC McCabe index: 10 number of parameters: 1 id: 249 unit: ProfileReport.prototype.collectSpeed = function() file: src/profileReport.js start line: 152 end line: 181 size: 30 LOC McCabe index: 7 number of parameters: 3 id: 250 unit: export async function deploy() file: src/deploy/extensions/deploy.ts start line: 12 end line: 70 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 251 unit: export function readParams() file: src/deploy/extensions/params.ts start line: 19 end line: 48 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 252 unit: export async function tryCreateDelegate() file: src/deploy/functions/runtimes/golang/index.ts start line: 26 end line: 58 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 253 unit: export function checkFunctionsSDKVersion() file: src/deploy/functions/runtimes/node/versioning.ts start line: 85 end line: 117 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 254 unit: function runCommand() file: src/deploy/lifecycleHooks.js start line: 13 end line: 43 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 255 unit: export async function addServiceAccountToRoles() file: src/gcp/resourceManager.ts start line: 59 end line: 98 size: 29 LOC McCabe index: 3 number of parameters: 3 id: 256 unit: export function functionResourceToEmulatedTriggerDefintion() file: src/extensions/emulator/triggerHelper.ts start line: 9 end line: 37 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 257 unit: async function createInstanceHelper() file: src/extensions/extensionsApi.ts start line: 180 end line: 208 size: 29 LOC McCabe index: 3 number of parameters: 4 id: 258 unit: async loadRuleset() file: src/emulator/storage/rules/runtime.ts start line: 232 end line: 263 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 259 unit: function updateEmulatorProjectConfig() file: src/emulator/auth/operations.ts start line: 1740 end line: 1768 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 260 unit: static fromJSON() file: src/emulator/types.ts start line: 230 end line: 261 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 261 unit: async function resolveDeveloperNodeModule() file: src/emulator/functionsEmulatorRuntime.ts start line: 209 end line: 245 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 262 unit: export function endpointsAreValid() file: src/deploy/functions/validate.ts start line: 9 end line: 40 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 263 unit: export function checkForIllegalUpdate() file: src/deploy/functions/release/planner.ts start line: 199 end line: 233 size: 29 LOC McCabe index: 8 number of parameters: 2 id: 264 unit: module.exports = function() file: src/deploy/database/release.js start line: 8 end line: 38 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 265 unit: constructor() file: src/config.ts start line: 49 end line: 87 size: 29 LOC McCabe index: 9 number of parameters: 2 id: 266 unit: export function filterTargets() file: src/filterTargets.ts start line: 11 end line: 42 size: 29 LOC McCabe index: 7 number of parameters: 2 id: 267 unit: var testFunctionsTrigger = function() file: scripts/test-functions-deploy.js start line: 260 end line: 287 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 268 unit: async function firepit() file: standalone/firepit.js start line: 508 end line: 565 size: 28 LOC McCabe index: 4 number of parameters: 0 id: 269 unit: export function getSourceOrigin() file: src/extensions/extensionsHelper.ts start line: 713 end line: 740 size: 28 LOC McCabe index: 15 number of parameters: 1 id: 270 unit: async function patchInstance() file: src/extensions/extensionsApi.ts start line: 404 end line: 431 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 271 unit: export async function undeprecateExtensionVersion() file: src/extensions/extensionsApi.ts start line: 649 end line: 676 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 272 unit: async addPubsubTrigger() file: src/emulator/functionsEmulator.ts start line: 695 end line: 730 size: 28 LOC McCabe index: 4 number of parameters: 5 id: 273 unit: export async function beforeEmulatorCommand() file: src/emulator/commandUtils.ts start line: 125 end line: 158 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 274 unit: static async stopAll() file: src/emulator/registry.ts start line: 45 end line: 88 size: 28 LOC McCabe index: 3 number of parameters: 0 id: 275 unit: export function parse() file: src/functions/env.ts start line: 91 end line: 127 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 276 unit: var validateUserJson = function() file: src/accountImporter.js start line: 279 end line: 306 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 277 unit: public static load() file: src/config.ts start line: 229 end line: 265 size: 28 LOC McCabe index: 8 number of parameters: 2 id: 278 unit: export async function deleteAppAndroidSha() file: src/management/apps.ts start line: 429 end line: 455 size: 27 LOC McCabe index: 4 number of parameters: 3 id: 279 unit: async function checkRequiredPermission() file: src/commands/functions-config-export.ts start line: 42 end line: 71 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 280 unit: async function initiateIosAppCreation() file: src/commands/apps-create.ts start line: 75 end line: 110 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 281 unit: export async function createSourceFromLocation() file: src/extensions/extensionsHelper.ts start line: 524 end line: 551 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 282 unit: export async function updateInstanceFromRegistry() file: src/extensions/extensionsApi.ts start line: 376 end line: 402 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 283 unit: export async function listSites() file: src/hosting/api.ts start line: 371 end line: 397 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 284 unit: async start() file: src/emulator/firestoreEmulator.ts start line: 31 end line: 63 size: 27 LOC McCabe index: 7 number of parameters: 0 id: 285 unit: public finalizeUpload() file: src/emulator/storage/files.ts start line: 255 end line: 286 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 286 unit: public oneShotUpload() file: src/emulator/storage/files.ts start line: 288 end line: 317 size: 27 LOC McCabe index: 2 number of parameters: 5 id: 287 unit: function sendAuthEventViaIframeRelay() file: src/emulator/auth/widget_ui.ts start line: 77 end line: 103 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 288 unit: async start() file: src/emulator/workQueue.ts start line: 62 end line: 93 size: 27 LOC McCabe index: 7 number of parameters: 0 id: 289 unit: var validateOptions = function() file: src/accountExporter.js start line: 108 end line: 134 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 290 unit: async build() file: src/deploy/functions/runtimes/golang/index.ts start line: 73 end line: 99 size: 27 LOC McCabe index: 4 number of parameters: 0 id: 291 unit: beforeEach() file: scripts/storage-emulator-integration/tests.ts start line: 760 end line: 788 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 292 unit: beforeEach() file: scripts/storage-emulator-integration/tests.ts start line: 791 end line: 818 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 293 unit: exports.Script_NodeJS = function() file: standalone/runtime.js start line: 26 end line: 58 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 294 unit: constructor() file: src/appdistribution/distribution.ts start line: 19 end line: 47 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 295 unit: async function selectAppInteractively() file: src/commands/apps-sdkconfig.ts start line: 21 end line: 49 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 296 unit: export async function doSetup() file: src/init/features/remoteconfig.ts start line: 22 end line: 47 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 297 unit: export function readFileFromDirectory() file: src/extensions/emulator/specHelper.ts start line: 46 end line: 71 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 298 unit: export async function createInstance() file: src/extensions/extensionsApi.ts start line: 219 end line: 245 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 299 unit: export async function serve() file: src/serve/index.ts start line: 20 end line: 45 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 300 unit: async connect() file: src/emulator/functionsEmulator.ts start line: 393 end line: 421 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 301 unit: private updateRules() file: src/emulator/firestoreEmulator.ts start line: 93 end line: 122 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 302 unit: function batchDelete() file: src/emulator/auth/operations.ts start line: 491 end line: 518 size: 26 LOC McCabe index: 7 number of parameters: 2 id: 303 unit: autoHandleHttpErrors() file: src/emulator/auth/server.ts start line: 210 end line: 239 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 304 unit: function finishWithUser() file: src/emulator/auth/widget_ui.ts start line: 171 end line: 198 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 305 unit: function runAutogen() file: src/emulator/auth/widget_ui.ts start line: 292 end line: 320 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: function removeOldFiles() file: src/emulator/download.ts start line: 55 end line: 85 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 307 unit: async listPath() file: src/database/listRemote.ts start line: 31 end line: 58 size: 26 LOC McCabe index: 4 number of parameters: 4 id: 308 unit: export default async function() file: src/deploy/storage/release.ts start line: 10 end line: 37 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 309 unit: export async function getFunctionsConfig() file: src/deploy/functions/prepareFunctionsUpload.ts start line: 22 end line: 48 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 310 unit: export async function ensureStorageTriggerRegion() file: src/deploy/functions/services/storage.ts start line: 40 end line: 66 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 311 unit: function printQuotaErrors() file: src/deploy/functions/release/reporter.ts start line: 183 end line: 208 size: 26 LOC McCabe index: 8 number of parameters: 1 id: 312 unit: function getReleventConfigs() file: src/deploy/lifecycleHooks.js start line: 116 end line: 146 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 313 unit: async function getSafeCrossPlatformPath() file: standalone/firepit.js start line: 1003 end line: 1047 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 314 unit: export async function loginAdditionalAccount() file: src/auth.ts start line: 200 end line: 232 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 315 unit: applyTarget() file: src/rc.ts start line: 112 end line: 143 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 316 unit: async patchField() file: src/firestore/indexes.ts start line: 372 end line: 399 size: 25 LOC McCabe index: 1 number of parameters: 2 id: 317 unit: async function syncAuthState() file: src/commands/hosting-channel-deploy.ts start line: 190 end line: 214 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 318 unit: function logPostAppCreationInformation() file: src/commands/apps-create.ts start line: 48 end line: 73 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 319 unit: function runJar() file: src/commands/crashlytics-symbols-upload.ts start line: 170 end line: 202 size: 25 LOC McCabe index: 11 number of parameters: 2 id: 320 unit: async function listFunctionsInternal() file: src/gcp/cloudfunctionsv2.ts start line: 302 end line: 327 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 321 unit: async function createServiceAccountAndKey() file: src/init/features/hosting/github.ts start line: 567 end line: 615 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 322 unit: export async function buildOptions() file: src/extensions/emulator/optionsHelper.ts start line: 17 end line: 44 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 323 unit: export async function updateInstance() file: src/extensions/extensionsApi.ts start line: 341 end line: 365 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 324 unit: export async function publishExtensionVersion() file: src/extensions/extensionsApi.ts start line: 683 end line: 710 size: 25 LOC McCabe index: 2 number of parameters: 3 id: 325 unit: export async function deleteExtension() file: src/extensions/extensionsApi.ts start line: 745 end line: 769 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 326 unit: export default function() file: src/hosting/functionsProxy.ts start line: 25 end line: 56 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 327 unit: async start() file: src/emulator/functionsEmulator.ts start line: 365 end line: 391 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 328 unit: function sendVerificationCode() file: src/emulator/auth/operations.ts start line: 909 end line: 943 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 329 unit: function grantToken() file: src/emulator/auth/operations.ts start line: 1692 end line: 1724 size: 25 LOC McCabe index: 1 number of parameters: 2 id: 330 unit: function createTenant() file: src/emulator/auth/operations.ts start line: 2721 end line: 2749 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 331 unit: set state() file: src/emulator/functionsRuntimeWorker.ts start line: 86 end line: 114 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 332 unit: export function configToEnv() file: src/functions/runtimeConfigExport.ts start line: 122 end line: 147 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 333 unit: export async function checkServiceAccountIam() file: src/deploy/functions/checkIam.ts start line: 23 end line: 49 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 334 unit: async cleanupFunction() file: src/deploy/functions/containerCleaner.ts start line: 211 end line: 238 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 335 unit: function runTargetCommands() file: src/deploy/lifecycleHooks.js start line: 71 end line: 114 size: 25 LOC McCabe index: 4 number of parameters: 4 id: 336 unit: export async function fetchWebSetup() file: src/fetchWebSetup.ts start line: 98 end line: 130 size: 25 LOC McCabe index: 8 number of parameters: 1 id: 337 unit: export async function prompt() file: src/prompt.ts start line: 33 end line: 63 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 338 unit: export async function promptOnce() file: src/prompt.ts start line: 65 end line: 98 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 339 unit: private getPollingTask() file: src/operation-poller.ts start line: 60 end line: 85 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 340 unit: function patchSecurity() file: scripts/gen-auth-api-spec.ts start line: 243 end line: 277 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 341 unit: async handle() file: src/throttler/throttler.ts start line: 160 end line: 184 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 342 unit: export function setupLoggers() file: src/utils.ts start line: 450 end line: 473 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 343 unit: private prettyIndexString() file: src/firestore/indexes.ts start line: 584 end line: 616 size: 24 LOC McCabe index: 7 number of parameters: 2 id: 344 unit: export async function addFirebaseToCloudProject() file: src/management/projects.ts start line: 298 end line: 321 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 345 unit: export async function getTemplate() file: src/remoteconfig/get.ts start line: 46 end line: 69 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 346 unit: function logProjectsList() file: src/commands/projects-list.ts start line: 12 end line: 37 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 347 unit: export function queueFromEndpoint() file: src/gcp/cloudtasks.ts start line: 211 end line: 237 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 348 unit: export async function listEntries() file: src/gcp/cloudlogging.ts start line: 30 end line: 53 size: 24 LOC McCabe index: 2 number of parameters: 4 id: 349 unit: export async function createFunction() file: src/gcp/cloudfunctions.ts start line: 200 end line: 225 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 350 unit: function fieldMasksHelper() file: src/gcp/proto.ts start line: 98 end line: 125 size: 24 LOC McCabe index: 7 number of parameters: 4 id: 351 unit: async function promptToSetupDeploys() file: src/init/features/hosting/github.ts start line: 476 end line: 501 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 352 unit: async function projectChoicePrompt() file: src/init/features/project.ts start line: 73 end line: 98 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 353 unit: export function validateCommandLineParams() file: src/extensions/extensionsHelper.ts start line: 181 end line: 205 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 354 unit: export async function listExtensionVersions() file: src/extensions/extensionsApi.ts start line: 546 end line: 569 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 355 unit: export function parseSetArgs() file: src/functionsConfig.ts start line: 155 end line: 180 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 356 unit: private tokenFromAuthHeader() file: src/emulator/functionsEmulator.ts start line: 1233 end line: 1266 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 357 unit: static getServiceName() file: src/emulator/constants.ts start line: 85 end line: 108 size: 24 LOC McCabe index: 10 number of parameters: 1 id: 358 unit: function batchGet() file: src/emulator/auth/operations.ts start line: 520 end line: 547 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 359 unit: function wrapCallableHandler() file: src/emulator/functionsEmulatorRuntime.ts start line: 493 end line: 520 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 360 unit: export async function downloadEmulator() file: src/emulator/download.ts start line: 15 end line: 44 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 361 unit: var _sendRequest = function() file: src/accountImporter.js start line: 308 end line: 331 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 362 unit: async applyPlan() file: src/deploy/functions/release/fabricator.ts start line: 76 end line: 101 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 363 unit: async function pollCheckEnabled() file: src/ensureApiEnabled.ts start line: 66 end line: 91 size: 24 LOC McCabe index: 5 number of parameters: 6 id: 364 unit: export function getFunctionsEventProvider() file: src/utils.ts start line: 323 end line: 347 size: 23 LOC McCabe index: 9 number of parameters: 1 id: 365 unit: private docDescendantsQuery() file: src/firestore/delete.ts start line: 237 end line: 261 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 366 unit: async updateReleaseNotes() file: src/appdistribution/client.ts start line: 109 end line: 135 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 367 unit: async function readdirRecursiveHelper() file: src/fsAsync.ts start line: 18 end line: 41 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 368 unit: export function jobFromEndpoint() file: src/gcp/cloudscheduler.ts start line: 189 end line: 219 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 369 unit: async function createServiceAccountAndKeyWithRetry() file: src/init/features/hosting/github.ts start line: 537 end line: 565 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 370 unit: export async function promptForValidInstanceId() file: src/extensions/extensionsHelper.ts start line: 329 end line: 351 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 371 unit: export async function createSource() file: src/extensions/extensionsApi.ts start line: 454 end line: 476 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 372 unit: export async function unpublishExtension() file: src/extensions/extensionsApi.ts start line: 716 end line: 738 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 373 unit: function showUpdateVersionInfo() file: src/extensions/updateHelper.ts start line: 47 end line: 69 size: 23 LOC McCabe index: 3 number of parameters: 4 id: 374 unit: async function chooseBillingAccount() file: src/extensions/checkProjectBilling.ts start line: 51 end line: 76 size: 23 LOC McCabe index: 2 number of parameters: 2 id: 375 unit: function getCloudRunUrl() file: src/hosting/cloudRunProxy.ts start line: 23 end line: 47 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 376 unit: export function extractParamsFromPath() file: src/emulator/functionsEmulatorUtils.ts start line: 18 end line: 41 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 377 unit: private async getCredentialsEnvironment() file: src/emulator/functionsEmulator.ts start line: 180 end line: 206 size: 23 LOC McCabe index: 4 number of parameters: 0 id: 378 unit: function getNormalizedUri() file: src/emulator/auth/operations.ts start line: 2341 end line: 2364 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 379 unit: function mfaPending() file: src/emulator/auth/operations.ts start line: 2630 end line: 2656 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 380 unit: function redirectToIos() file: src/emulator/auth/widget_ui.ts start line: 124 end line: 147 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 381 unit: private createCloudEventRequestBody() file: src/emulator/pubsubEmulator.ts start line: 163 end line: 185 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 382 unit: function parseStrict() file: src/functions/env.ts start line: 163 end line: 189 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 383 unit: var _transUserJson = function() file: src/accountExporter.js start line: 84 end line: 106 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 384 unit: function extractPattern() file: src/deploy/hosting/convertConfig.ts start line: 12 end line: 35 size: 23 LOC McCabe index: 8 number of parameters: 2 id: 385 unit: export function backendFromV1Alpha1() file: src/deploy/functions/runtimes/discovery/v1alpha1.ts start line: 25 end line: 47 size: 23 LOC McCabe index: 4 number of parameters: 4 id: 386 unit: beforeEach() file: scripts/storage-emulator-integration/tests.ts start line: 943 end line: 966 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 387 unit: async listIndexes() file: src/firestore/indexes.ts start line: 165 end line: 192 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 388 unit: export function parseDatabaseLocation() file: src/management/database.ts start line: 202 end line: 223 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 389 unit: export async function getVersions() file: src/remoteconfig/versionslist.ts start line: 20 end line: 41 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 390 unit: module.exports = function() file: src/logError.js start line: 7 end line: 29 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 391 unit: async function initiateAndroidAppCreation() file: src/commands/apps-create.ts start line: 112 end line: 142 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 392 unit: export async function queryTimeSeries() file: src/gcp/cloudmonitoring.ts start line: 133 end line: 154 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 393 unit: function _createVariable() file: src/gcp/runtimeconfig.js start line: 77 end line: 99 size: 22 LOC McCabe index: 2 number of parameters: 4 id: 394 unit: export async function upload() file: src/gcp/storage.ts start line: 150 end line: 171 size: 22 LOC McCabe index: 1 number of parameters: 3 id: 395 unit: async function promptForBuildScript() file: src/init/features/hosting/github.ts start line: 450 end line: 474 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 396 unit: export async function listInstances() file: src/extensions/extensionsApi.ts start line: 281 end line: 302 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 397 unit: export async function getExtensionVersion() file: src/extensions/extensionsApi.ts start line: 494 end line: 515 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 398 unit: export async function listExtensions() file: src/extensions/extensionsApi.ts start line: 520 end line: 541 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 399 unit: private async _sendRequest() file: src/emulator/storage/rules/runtime.ts start line: 205 end line: 230 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 400 unit: private createCloudEventRequestBody() file: src/emulator/storage/cloudFunctions.ts start line: 103 end line: 124 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 401 unit: export async function emulatorExec() file: src/emulator/commandUtils.ts start line: 405 end line: 427 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 402 unit: export async function stop() file: src/emulator/downloadableEmulators.ts start line: 386 end line: 408 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 403 unit: function logOobMessage() file: src/emulator/auth/operations.ts start line: 1234 end line: 1259 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 404 unit: async function verifyDeveloperNodeModules() file: src/emulator/functionsEmulatorRuntime.ts start line: 263 end line: 292 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 405 unit: var LocalFunction = function() file: src/localFunction.js start line: 17 end line: 40 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 406 unit: private async patch() file: src/database/removeRemote.ts start line: 46 end line: 67 size: 22 LOC McCabe index: 2 number of parameters: 3 id: 407 unit: var _transUserToArray = function() file: src/accountExporter.js start line: 61 end line: 82 size: 22 LOC McCabe index: 11 number of parameters: 1 id: 408 unit: export function createExtensionInstanceTask() file: src/deploy/extensions/tasks.ts start line: 39 end line: 60 size: 22 LOC McCabe index: 1 number of parameters: 3 id: 409 unit: export function updateExtensionInstanceTask() file: src/deploy/extensions/tasks.ts start line: 62 end line: 83 size: 22 LOC McCabe index: 1 number of parameters: 3 id: 410 unit: exports.load = function() file: src/deploy/hosting/hashcache.js start line: 9 end line: 30 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 411 unit: async hashHandler() file: src/deploy/hosting/uploader.ts start line: 169 end line: 193 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 412 unit: export function inferDetailsFromExisting() file: src/deploy/functions/prepare.ts start line: 196 end line: 226 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 413 unit: var extractTriggers = function() file: src/deploy/functions/runtimes/node/extractTriggers.js start line: 11 end line: 33 size: 22 LOC McCabe index: 10 number of parameters: 3 id: 414 unit: async function retry() file: src/deploy/functions/containerCleaner.ts start line: 18 end line: 40 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 415 unit: export async function getCredentialPathAsync() file: src/defaultCredentials.ts start line: 20 end line: 45 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 416 unit: function credFilePath() file: src/defaultCredentials.ts start line: 74 end line: 101 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 417 unit: it() file: scripts/storage-emulator-integration/tests.ts start line: 640 end line: 663 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 418 unit: var saveToStorage = function() file: scripts/test-functions-deploy.js start line: 238 end line: 258 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 419 unit: private deletePath() file: src/firestore/delete.ts start line: 472 end line: 494 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 420 unit: private prettyFieldString() file: src/firestore/indexes.ts start line: 621 end line: 645 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 421 unit: async release() file: src/rulesDeploy.ts start line: 197 end line: 218 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 422 unit: async function infoInstallByReference() file: src/commands/ext-install.ts start line: 239 end line: 259 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 423 unit: async function downloadBuiltoolsJar() file: src/commands/crashlytics-symbols-upload.ts start line: 125 end line: 148 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 424 unit: export async function updateRelease() file: src/gcp/rules.ts start line: 242 end line: 264 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 425 unit: async function list() file: src/gcp/cloudfunctions.ts start line: 415 end line: 436 size: 21 LOC McCabe index: 8 number of parameters: 2 id: 426 unit: function getRulesFromConsole() file: src/init/features/firestore/rules.ts start line: 71 end line: 97 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 427 unit: export function getUsedProducts() file: src/extensions/provisioningHelper.ts start line: 92 end line: 112 size: 21 LOC McCabe index: 7 number of parameters: 1 id: 428 unit: export async function update() file: src/extensions/updateHelper.ts start line: 136 end line: 156 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 429 unit: export async function updateFromLocalSource() file: src/extensions/updateHelper.ts start line: 165 end line: 185 size: 21 LOC McCabe index: 2 number of parameters: 4 id: 430 unit: export async function updateFromUrlSource() file: src/extensions/updateHelper.ts start line: 195 end line: 215 size: 21 LOC McCabe index: 2 number of parameters: 4 id: 431 unit: export function displayReleaseNotes() file: src/extensions/changelog.ts start line: 54 end line: 75 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 432 unit: export async function requirePermissions() file: src/requirePermissions.ts start line: 18 end line: 41 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 433 unit: export async function cloneVersion() file: src/hosting/api.ts start line: 325 end line: 345 size: 21 LOC McCabe index: 1 number of parameters: 3 id: 434 unit: private logRequest() file: src/apiv2.ts start line: 450 end line: 470 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 435 unit: function createRequestExpressionValue() file: src/emulator/storage/rules/runtime.ts start line: 396 end line: 419 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 436 unit: export function printNoticeIfEmulated() file: src/emulator/commandUtils.ts start line: 65 end line: 86 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 437 unit: function deleteAccount() file: src/emulator/auth/operations.ts start line: 655 end line: 677 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 438 unit: const fieldsToCopy:() file: src/emulator/auth/operations.ts start line: 1101 end line: 1121 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 439 unit: function generateJwt() file: src/emulator/auth/operations.ts start line: 2135 end line: 2155 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 440 unit: postController() file: src/emulator/auth/server.ts start line: 290 end line: 311 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 441 unit: constructor() file: src/emulator/functionsRuntimeWorker.ts start line: 42 end line: 64 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 442 unit: export function findModuleRoot() file: src/emulator/functionsEmulatorShared.ts start line: 261 end line: 284 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 443 unit: static waitForLog() file: src/emulator/types.ts start line: 207 end line: 228 size: 21 LOC McCabe index: 5 number of parameters: 4 id: 444 unit: constructor() file: src/emulator/functionsEmulatorRuntime.ts start line: 153 end line: 175 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 445 unit: async function processBackground() file: src/emulator/functionsEmulatorRuntime.ts start line: 834 end line: 862 size: 21 LOC McCabe index: 7 number of parameters: 3 id: 446 unit: private async updateRules() file: src/emulator/databaseEmulator.ts start line: 156 end line: 178 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 447 unit: private async writeLocatorFile() file: src/emulator/hub.ts start line: 189 end line: 211 size: 21 LOC McCabe index: 4 number of parameters: 0 id: 448 unit: ProfileReport.prototype.collectUnindexed = function() file: src/profileReport.js start line: 107 end line: 127 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 449 unit: ProfileReport.prototype.collectSpeedUnpathed = function() file: src/profileReport.js start line: 129 end line: 150 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 450 unit: export default async function() file: src/deploy/storage/prepare.ts start line: 12 end line: 37 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 451 unit: export function configureExtensionInstanceTask() file: src/deploy/extensions/tasks.ts start line: 85 end line: 105 size: 21 LOC McCabe index: 1 number of parameters: 3 id: 452 unit: export function changedV2PubSubTopic() file: src/deploy/functions/release/planner.ts start line: 154 end line: 174 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 453 unit: export function mergeBindings() file: src/deploy/functions/checkIam.ts start line: 122 end line: 142 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 454 unit: var _cloneConfigOrVariable = function() file: src/functionsConfigClone.js start line: 47 end line: 67 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 455 unit: export async function promptOnce() file: src/prompt.ts start line: 69 end line: 98 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 456 unit: askWriteProjectFile() file: src/config.ts start line: 206 end line: 227 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 457 unit: export function handlePreviewToggles() file: src/handlePreviewToggles.ts start line: 14 end line: 36 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 458 unit: it() file: scripts/storage-emulator-integration/tests.ts start line: 968 end line: 989 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 459 unit: function fetchJson() file: scripts/gen-auth-api-spec.ts start line: 80 end line: 99 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 460 unit: constructor() file: src/throttler/throttler.ts start line: 82 end line: 101 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 461 unit: async function loginWithoutLocalhost() file: src/auth.ts start line: 409 end line: 433 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 462 unit: export async function logout() file: src/auth.ts start line: 678 end line: 697 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 463 unit: export async function promiseWhile() file: src/utils.ts start line: 381 end line: 400 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 464 unit: export function createDestroyer() file: src/utils.ts start line: 500 end line: 522 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 465 unit: public deleteDatabase() file: src/firestore/delete.ts start line: 501 end line: 524 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 466 unit: export async function getFirebaseProjectPage() file: src/management/projects.ts start line: 356 end line: 377 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 467 unit: function getListAppsResourceString() file: src/management/apps.ts start line: 195 end line: 215 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 468 unit: export async function getAppConfig() file: src/management/apps.ts start line: 325 end line: 344 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 469 unit: export async function setIamPolicy() file: src/gcp/run.ts start line: 143 end line: 165 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 470 unit: export async function createSecret() file: src/gcp/secretManager.ts start line: 82 end line: 101 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 471 unit: export async function doSetup() file: src/init/features/account.ts start line: 59 end line: 85 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 472 unit: export default function() file: src/hosting/cloudRunProxy.ts start line: 54 end line: 75 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 473 unit: constructor() file: src/emulator/storage/metadata.ts start line: 300 end line: 319 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 474 unit: function getAuthTime() file: src/emulator/auth/operations.ts start line: 2221 end line: 2240 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 475 unit: public async dispatch() file: src/emulator/auth/cloudFunctions.ts start line: 37 end line: 59 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 476 unit: private flush() file: src/emulator/types.ts start line: 300 end line: 324 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 477 unit: function initializeNetworkFiltering() file: src/emulator/functionsEmulatorRuntime.ts start line: 327 end line: 395 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 478 unit: function makeProxiedFirebaseApp() file: src/emulator/functionsEmulatorRuntime.ts start line: 654 end line: 673 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 479 unit: async flush() file: src/emulator/workQueue.ts start line: 102 end line: 124 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 480 unit: function findEnvfiles() file: src/functions/env.ts start line: 191 end line: 211 size: 20 LOC McCabe index: 4 number of parameters: 4 id: 481 unit: module.exports = function() file: src/parseBoltRules.js start line: 9 end line: 33 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 482 unit: async function deployIndexes() file: src/deploy/firestore/deploy.ts start line: 27 end line: 50 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 483 unit: export async function handleSecretParams() file: src/deploy/extensions/secrets.ts start line: 22 end line: 41 size: 20 LOC McCabe index: 7 number of parameters: 3 id: 484 unit: export function extensionsDeploymentHandler() file: src/deploy/extensions/tasks.ts start line: 17 end line: 37 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 485 unit: async discoverSpec() file: src/deploy/functions/runtimes/golang/index.ts start line: 144 end line: 164 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 486 unit: export function yamlToBackend() file: src/deploy/functions/runtimes/discovery/index.ts start line: 16 end line: 35 size: 20 LOC McCabe index: 4 number of parameters: 4 id: 487 unit: export async function detectFromYaml() file: src/deploy/functions/runtimes/discovery/index.ts start line: 37 end line: 57 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 488 unit: export function packageJsonIsValid() file: src/deploy/functions/runtimes/node/validate.ts start line: 35 end line: 55 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 489 unit: function getChildEnvironment() file: src/deploy/lifecycleHooks.js start line: 45 end line: 69 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 490 unit: export function isBillingError() file: src/error.ts start line: 40 end line: 59 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 491 unit: function deleteAccount() file: src/auth.ts start line: 558 end line: 581 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 492 unit: export function envOverride() file: src/utils.ts start line: 53 end line: 71 size: 19 LOC McCabe index: 5 number of parameters: 4 id: 493 unit: private getDescendantBatch() file: src/firestore/delete.ts start line: 277 end line: 299 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 494 unit: function convertDatabaseInstance() file: src/management/database.ts start line: 274 end line: 292 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 495 unit: async function infoInstallBySource() file: src/commands/ext-install.ts start line: 219 end line: 237 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 496 unit: export async function upsertQueue() file: src/gcp/cloudtasks.ts start line: 106 end line: 127 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 497 unit: export async function setInvokerCreate() file: src/gcp/run.ts start line: 189 end line: 209 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 498 unit: export async function createRelease() file: src/gcp/rules.ts start line: 214 end line: 234 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 499 unit: function _createConfig() file: src/gcp/runtimeconfig.js start line: 22 end line: 41 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 500 unit: export async function configureInstance() file: src/extensions/extensionsApi.ts start line: 312 end line: 330 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 501 unit: function refNotFoundError() file: src/extensions/extensionsApi.ts start line: 792 end line: 810 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 502 unit: export async function getReleaseNotesForUpdate() file: src/extensions/changelog.ts start line: 30 end line: 48 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 503 unit: function filterExcept() file: src/hosting/normalizedHostingConfigs.ts start line: 59 end line: 81 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 504 unit: public deleteFile() file: src/emulator/storage/files.ts start line: 225 end line: 249 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 505 unit: function initFrameMessaging() file: src/emulator/auth/handlers.ts start line: 250 end line: 269 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 506 unit: private createUserInfoPayload() file: src/emulator/auth/cloudFunctions.ts start line: 78 end line: 96 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 507 unit: export function emulatedFunctionsByRegion() file: src/emulator/functionsEmulatorShared.ts start line: 143 end line: 165 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 508 unit: var ProfileReport = function() file: src/profileReport.js start line: 33 end line: 51 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 509 unit: async function getSecretInfo() file: src/deploy/extensions/secrets.ts start line: 202 end line: 221 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 510 unit: async function promptForCreateSecret() file: src/deploy/extensions/secrets.ts start line: 223 end line: 241 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 511 unit: async setConcurrency() file: src/deploy/functions/release/fabricator.ts start line: 433 end line: 452 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 512 unit: async cleanupFunction() file: src/deploy/functions/containerCleaner.ts start line: 134 end line: 154 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 513 unit: module.exports = function() file: src/functionsConfigClone.js start line: 69 end line: 88 size: 19 LOC McCabe index: 3 number of parameters: 4 id: 514 unit: private validateOptions() file: src/firestore/delete.ts start line: 123 end line: 145 size: 18 LOC McCabe index: 8 number of parameters: 0 id: 515 unit: export async function getAvailableCloudProjectPage() file: src/management/projects.ts start line: 383 end line: 400 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 516 unit: private applyRC() file: src/command.ts start line: 285 end line: 305 size: 18 LOC McCabe index: 8 number of parameters: 1 id: 517 unit: export async function createServiceAccount() file: src/gcp/iam.ts start line: 56 end line: 74 size: 18 LOC McCabe index: 1 number of parameters: 4 id: 518 unit: export async function addVersion() file: src/gcp/secretManager.ts start line: 103 end line: 120 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 519 unit: export async function setInvokerCreate() file: src/gcp/cloudfunctions.ts start line: 286 end line: 304 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 520 unit: export async function getDefaultBucket() file: src/gcp/storage.ts start line: 131 end line: 148 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 521 unit: async function uploadSecretToGitHub() file: src/init/features/hosting/github.ts start line: 377 end line: 394 size: 18 LOC McCabe index: 1 number of parameters: 5 id: 522 unit: export async function getManagedSecrets() file: src/extensions/secretsUtils.ts start line: 33 end line: 50 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 523 unit: export async function promptForRepeatInstance() file: src/extensions/extensionsHelper.ts start line: 647 end line: 664 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 524 unit: export async function instanceIdExists() file: src/extensions/extensionsHelper.ts start line: 671 end line: 688 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 525 unit: export function getParamsFromFile() file: src/extensions/paramHelper.ts start line: 202 end line: 219 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 526 unit: async function setUpBillingAccount() file: src/extensions/checkProjectBilling.ts start line: 82 end line: 101 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 527 unit: export async function displayWarningPrompts() file: src/extensions/warnings.ts start line: 44 end line: 62 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 528 unit: export async function displayNode10CreateBillingNotice() file: src/extensions/billingMigrationHelper.ts start line: 68 end line: 85 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 529 unit: export async function materializeConfig() file: src/functionsConfig.ts start line: 113 end line: 132 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 530 unit: export function parseUnsetArgs() file: src/functionsConfig.ts start line: 182 end line: 201 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 531 unit: private addRequestHeaders() file: src/apiv2.ts start line: 243 end line: 260 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 532 unit: export function shutdownWhenKilled() file: src/emulator/commandUtils.ts start line: 294 end line: 311 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 533 unit: function listTenants() file: src/emulator/auth/operations.ts start line: 2751 end line: 2772 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 534 unit: function serversWithEmulators() file: src/emulator/auth/server.ts start line: 86 end line: 104 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 535 unit: function toExegesisController() file: src/emulator/auth/server.ts start line: 433 end line: 512 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 536 unit: function initializeRuntimeConfig() file: src/emulator/functionsEmulatorRuntime.ts start line: 526 end line: 556 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 537 unit: function validateChecksum() file: src/emulator/download.ts start line: 107 end line: 124 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 538 unit: export function logEntries() file: src/functions/functionslog.ts start line: 34 end line: 52 size: 18 LOC McCabe index: 10 number of parameters: 1 id: 539 unit: export function validateKey() file: src/functions/env.ts start line: 141 end line: 158 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 540 unit: export async function shortenUrl() file: src/shortenUrl.ts start line: 33 end line: 51 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 541 unit: export function canCalculateMinInstanceCost() file: src/deploy/functions/pricing.ts start line: 131 end line: 153 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 542 unit: export async function obtainStorageBindings() file: src/deploy/functions/services/storage.ts start line: 15 end line: 32 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 543 unit: export function upgradedScheduleFromV1ToV2() file: src/deploy/functions/release/planner.ts start line: 177 end line: 196 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 544 unit: async updateEndpoint() file: src/deploy/functions/release/fabricator.ts start line: 172 end line: 192 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 545 unit: export function printErrors() file: src/deploy/functions/release/reporter.ts start line: 116 end line: 135 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 546 unit: export async function ensure() file: src/ensureApiEnabled.ts start line: 117 end line: 134 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 547 unit: readProjectFile() file: src/config.ts start line: 178 end line: 195 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 548 unit: async poll() file: src/operation-poller.ts start line: 38 end line: 58 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 549 unit: async function runTest() file: scripts/test-functions-env.js start line: 71 end line: 88 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 550 unit: async function GetFirebaseToolsBins() file: standalone/welcome.js start line: 101 end line: 119 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 551 unit: function SimpleSpinner() file: standalone/welcome.js start line: 159 end line: 178 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 552 unit: async function loginWithLocalhostGoogle() file: src/auth.ts start line: 435 end line: 453 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 553 unit: function logNewFirebaseProjectInfo() file: src/management/projects.ts start line: 112 end line: 128 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 554 unit: export async function getFirebaseProject() file: src/management/projects.ts start line: 426 end line: 442 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 555 unit: function getAppConfigResourceString() file: src/management/apps.ts start line: 270 end line: 287 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 556 unit: export function parseTemplateForTable() file: src/remoteconfig/get.ts start line: 22 end line: 38 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 557 unit: export async function readdirRecursive() file: src/fsAsync.ts start line: 48 end line: 64 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 558 unit: async function initiateWebAppCreation() file: src/commands/apps-create.ts start line: 144 end line: 160 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 559 unit: function functionsOpLogReject() file: src/gcp/cloudfunctionsv2.ts start line: 209 end line: 225 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 560 unit: export async function createFunction() file: src/gcp/cloudfunctionsv2.ts start line: 250 end line: 267 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 561 unit: export async function updateFunction() file: src/gcp/cloudfunctionsv2.ts start line: 333 end line: 349 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 562 unit: function functionsOpLogReject() file: src/gcp/cloudfunctions.ts start line: 153 end line: 169 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 563 unit: export async function generateUploadUrl() file: src/gcp/cloudfunctions.ts start line: 177 end line: 194 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 564 unit: export async function doSetup() file: src/init/features/storage.ts start line: 13 end line: 31 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 565 unit: export async function getFirebaseProjectParams() file: src/extensions/extensionsHelper.ts start line: 108 end line: 126 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: export async function promptForPublisherTOS() file: src/extensions/askUserForConsent.ts start line: 94 end line: 116 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 567 unit: export function parse() file: src/extensions/refs.ts start line: 22 end line: 38 size: 17 LOC McCabe index: 9 number of parameters: 1 id: 568 unit: function renderChangeCell() file: src/extensions/metricsUtils.ts start line: 96 end line: 113 size: 17 LOC McCabe index: 7 number of parameters: 2 id: 569 unit: export function getParams() file: src/extensions/emulator/optionsHelper.ts start line: 47 end line: 65 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 570 unit: function getFunctionSourceDirectory() file: src/extensions/emulator/optionsHelper.ts start line: 166 end line: 183 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 571 unit: export function inferUpdateSource() file: src/extensions/updateHelper.ts start line: 297 end line: 313 size: 17 LOC McCabe index: 8 number of parameters: 2 id: 572 unit: async function openBillingAccount() file: src/extensions/checkProjectBilling.ts start line: 29 end line: 46 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 573 unit: export function parseChangelog() file: src/extensions/changelog.ts start line: 107 end line: 124 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 574 unit: export async function getChannel() file: src/hosting/api.ts start line: 210 end line: 226 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 575 unit: function makeVary() file: src/hosting/proxy.ts start line: 14 end line: 33 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 576 unit: export function setExportOnExitOptions() file: src/emulator/commandUtils.ts start line: 184 end line: 208 size: 17 LOC McCabe index: 9 number of parameters: 1 id: 577 unit: function mfaEnrollmentWithdraw() file: src/emulator/auth/operations.ts start line: 1899 end line: 1919 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 578 unit: private removeUserFromIndex() file: src/emulator/auth/state.ts start line: 562 end line: 581 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 579 unit: function specForRouter() file: src/emulator/auth/server.ts start line: 44 end line: 63 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 580 unit: function wrapValidateBody() file: src/emulator/auth/server.ts start line: 514 end line: 531 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 581 unit: private createLegacyEventRequestBody() file: src/emulator/pubsubEmulator.ts start line: 145 end line: 161 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 582 unit: private async exportStorage() file: src/emulator/hubExport.ts start line: 232 end line: 252 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 583 unit: constructor() file: src/emulator/functionsEmulatorShell.ts start line: 22 end line: 40 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 584 unit: async function getProjectAdminSdkConfig() file: src/emulator/adminSdkConfig.ts start line: 55 end line: 72 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 585 unit: export function hydrateEnvs() file: src/functions/runtimeConfigExport.ts start line: 154 end line: 170 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 586 unit: export async function createRuleset() file: src/database/metadata.ts start line: 68 end line: 84 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 587 unit: var _createWriteUsersToFile = function() file: src/accountExporter.js start line: 136 end line: 153 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 588 unit: export async function resolveVersion() file: src/deploy/extensions/planner.ts start line: 126 end line: 142 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 589 unit: async function handleSecretsUpdateInstance() file: src/deploy/extensions/secrets.ts start line: 60 end line: 78 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 590 unit: export function calculateRegionalChanges() file: src/deploy/functions/release/planner.ts start line: 29 end line: 47 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 591 unit: export function upgradedToGCFv2WithoutSettingConcurrency() file: src/deploy/functions/release/planner.ts start line: 112 end line: 132 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 592 unit: async function handler() file: src/deploy/functions/release/executor.ts start line: 17 end line: 39 size: 17 LOC McCabe index: 8 number of parameters: 1 id: 593 unit: export async function tryCreateDelegate() file: src/deploy/functions/runtimes/node/index.ts start line: 14 end line: 37 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 594 unit: export function getFunctionsSDKVersion() file: src/deploy/functions/runtimes/node/versioning.ts start line: 44 end line: 60 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 595 unit: export function getLatestSDKVersion() file: src/deploy/functions/runtimes/node/versioning.ts start line: 62 end line: 78 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 596 unit: export async function promptOnce() file: src/prompt.ts start line: 73 end line: 98 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 597 unit: materialize() file: src/config.ts start line: 89 end line: 107 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 598 unit: export async function requireDatabaseInstance() file: src/requireDatabaseInstance.ts start line: 17 end line: 33 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 599 unit: var checkFunctionsListMatch = function() file: scripts/test-functions-deploy.js start line: 95 end line: 110 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 600 unit: var publishPubsub = function() file: scripts/test-functions-deploy.js start line: 206 end line: 221 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 601 unit: function ImitateNPM() file: standalone/firepit.js start line: 578 end line: 593 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 602 unit: async function getFirebaseToolsCommand() file: standalone/firepit.js start line: 865 end line: 891 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 603 unit: function FindTool() file: standalone/firepit.js start line: 952 end line: 973 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 604 unit: export function selectAccount() file: src/auth.ts start line: 172 end line: 193 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 605 unit: async removeTesters() file: src/appdistribution/client.ts start line: 192 end line: 207 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 606 unit: export function errorOut() file: src/errorOut.ts start line: 8 end line: 24 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 607 unit: var listAliases = function() file: src/commands/use.js start line: 14 end line: 29 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 608 unit: function buildArgs() file: src/commands/crashlytics-symbols-upload.ts start line: 150 end line: 168 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 609 unit: export async function listRulesets() file: src/gcp/rules.ts start line: 125 end line: 140 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 610 unit: export async function createServiceAccountKey() file: src/gcp/iam.ts start line: 92 end line: 107 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 611 unit: export function megabytes() file: src/gcp/cloudfunctionsv2.ts start line: 186 end line: 201 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 612 unit: export async function generateUploadUrl() file: src/gcp/cloudfunctionsv2.ts start line: 230 end line: 245 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 613 unit: export function assertOneOf() file: src/gcp/proto.ts start line: 27 end line: 43 size: 16 LOC McCabe index: 5 number of parameters: 4 id: 614 unit: function getIndexesFromConsole() file: src/init/features/firestore/indexes.ts start line: 64 end line: 81 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 615 unit: export async function getTrustedPublishers() file: src/extensions/resolveSource.ts start line: 133 end line: 150 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 616 unit: export function populateDefaultParams() file: src/extensions/extensionsHelper.ts start line: 157 end line: 174 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 617 unit: export function displayReleaseNotes() file: src/extensions/extensionsHelper.ts start line: 609 end line: 624 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 618 unit: export async function getExtension() file: src/extensions/extensionsApi.ts start line: 775 end line: 790 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 619 unit: export function warningUpdateToOtherSource() file: src/extensions/updateHelper.ts start line: 75 end line: 90 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 620 unit: export function calculateChannelExpireTTL() file: src/hosting/expireUtils.ts start line: 39 end line: 54 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 621 unit: async stop() file: src/emulator/functionsEmulator.ts start line: 423 end line: 439 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 622 unit: function handleIdpSigninEmailNotRequired() file: src/emulator/auth/operations.ts start line: 2504 end line: 2520 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 623 unit: function validateForm() file: src/emulator/auth/widget_ui.ts start line: 271 end line: 289 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 624 unit: private createEventRequestBody() file: src/emulator/auth/cloudFunctions.ts start line: 61 end line: 76 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 625 unit: function requirePackageJson() file: src/emulator/functionsEmulatorRuntime.ts start line: 297 end line: 313 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 626 unit: async function moduleResolutionDetective() file: src/emulator/functionsEmulatorRuntime.ts start line: 914 end line: 938 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 627 unit: private async runNext() file: src/emulator/workQueue.ts start line: 138 end line: 154 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 628 unit: addRequestHeaders: function() file: src/api.js start line: 255 end line: 277 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 629 unit: export function getApiFilter() file: src/functions/functionslog.ts start line: 11 end line: 28 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 630 unit: export async function hydrateConfigs() file: src/functions/runtimeConfigExport.ts start line: 77 end line: 92 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 631 unit: export function convertKey() file: src/functions/runtimeConfigExport.ts start line: 100 end line: 117 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 632 unit: LocalFunction.prototype._requestCallBack = function() file: src/localFunction.js start line: 134 end line: 155 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 633 unit: export async function setRulesetLabels() file: src/database/metadata.ts start line: 86 end line: 101 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 634 unit: var validateOptions = function() file: src/accountImporter.js start line: 150 end line: 165 size: 16 LOC McCabe index: 7 number of parameters: 1 id: 635 unit: function prepareIndexes() file: src/deploy/firestore/prepare.ts start line: 29 end line: 47 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 636 unit: export function matchingBackend() file: src/deploy/functions/backend.ts start line: 474 end line: 489 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 637 unit: export function triggerTag() file: src/deploy/functions/release/reporter.ts start line: 226 end line: 244 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 638 unit: function getRuntimeChoiceFromPackageJson() file: src/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.ts start line: 45 end line: 65 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 639 unit: export function getRuntimeChoice() file: src/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.ts start line: 74 end line: 95 size: 16 LOC McCabe index: 7 number of parameters: 2 id: 640 unit: function track() file: src/track.js start line: 26 end line: 43 size: 16 LOC McCabe index: 6 number of parameters: 3 id: 641 unit: var waitForAck = function() file: scripts/test-functions-deploy.js start line: 162 end line: 179 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 642 unit: function ImitateNode() file: standalone/firepit.js start line: 595 end line: 609 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 643 unit: export function compareApiField() file: src/firestore/indexes-sort.ts start line: 70 end line: 87 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 644 unit: async listFieldOverrides() file: src/firestore/indexes.ts start line: 198 end line: 219 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 645 unit: export async function addFirebaseToCloudProjectAndLog() file: src/management/projects.ts start line: 94 end line: 110 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 646 unit: function parseConfigFromResponse() file: src/management/apps.ts start line: 290 end line: 304 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 647 unit: function logCertificatesList() file: src/commands/apps-android-sha-list.ts start line: 10 end line: 29 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 648 unit: export async function listReleases() file: src/gcp/rules.ts start line: 48 end line: 62 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 649 unit: export function formatServiceAccount() file: src/gcp/proto.ts start line: 154 end line: 169 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 650 unit: export async function init() file: src/init/index.ts start line: 27 end line: 43 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 651 unit: function writeDBRules() file: src/init/features/database.ts start line: 51 end line: 65 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 652 unit: export function parameterizeProject() file: src/extensions/export.ts start line: 20 end line: 34 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 653 unit: private async addAuthHeader() file: src/apiv2.ts start line: 262 end line: 276 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 654 unit: constructor() file: src/emulator/functionsEmulator.ts start line: 159 end line: 178 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 655 unit: async export() file: src/emulator/storage/files.ts start line: 499 end line: 527 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 656 unit: constructor() file: src/emulator/storage/metadata.ts start line: 336 end line: 350 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 657 unit: private createLegacyEventRequestBody() file: src/emulator/storage/cloudFunctions.ts start line: 84 end line: 100 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 658 unit: function saveAuthEvent() file: src/emulator/auth/widget_ui.ts start line: 53 end line: 70 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 659 unit: function redirectToAndroid() file: src/emulator/auth/widget_ui.ts start line: 105 end line: 122 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 660 unit: sub: randomProviderRawId() file: src/emulator/auth/widget_ui.ts start line: 247 end line: 262 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 661 unit: function createFakeClaims() file: src/emulator/auth/handlers.ts start line: 299 end line: 313 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 662 unit: export async function exportOnExit() file: src/emulator/controller.ts start line: 139 end line: 153 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 663 unit: private async exportAuth() file: src/emulator/hubExport.ts start line: 197 end line: 230 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 664 unit: export async function getProjectAdminSdkConfigOrCached() file: src/emulator/adminSdkConfig.ts start line: 34 end line: 50 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 665 unit: LocalFunction.prototype._constructCallableFunc = function() file: src/localFunction.js start line: 59 end line: 75 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 666 unit: constructor() file: src/database/remove.ts start line: 33 end line: 47 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 667 unit: var _validateProviderUserInfo = function() file: src/accountImporter.js start line: 263 end line: 277 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 668 unit: export default async function() file: src/deploy/firestore/prepare.ts start line: 54 end line: 70 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 669 unit: export default async function() file: src/deploy/remoteconfig/prepare.ts start line: 7 end line: 21 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 670 unit: export function validateInputRemoteConfigTemplate() file: src/deploy/remoteconfig/functions.ts start line: 33 end line: 47 size: 15 LOC McCabe index: 8 number of parameters: 1 id: 671 unit: export async function have() file: src/deploy/extensions/planner.ts start line: 54 end line: 68 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 672 unit: export function deleteExtensionInstanceTask() file: src/deploy/extensions/tasks.ts start line: 107 end line: 121 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 673 unit: function maybeCopyTriggerRegion() file: src/deploy/functions/prepare.ts start line: 228 end line: 245 size: 15 LOC McCabe index: 6 number of parameters: 2 id: 674 unit: export function changedTriggerRegion() file: src/deploy/functions/release/planner.ts start line: 137 end line: 151 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 675 unit: function parseRequiredAPIs() file: src/deploy/functions/runtimes/discovery/v1alpha1.ts start line: 49 end line: 64 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 676 unit: async function enable() file: src/ensureApiEnabled.ts start line: 49 end line: 64 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 677 unit: async function enableApiWithRetries() file: src/ensureApiEnabled.ts start line: 93 end line: 107 size: 15 LOC McCabe index: 3 number of parameters: 5 id: 678 unit: before() file: scripts/storage-emulator-integration/tests.ts start line: 580 end line: 595 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 679 unit: var postTest = function() file: scripts/test-functions-deploy.js start line: 78 end line: 93 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 680 unit: async function toOpenapi3() file: scripts/gen-auth-api-spec.ts start line: 103 end line: 129 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 681 unit: function getLoginUrl() file: src/auth.ts start line: 312 end line: 325 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 682 unit: async function respondWithFile() file: src/auth.ts start line: 394 end line: 407 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 683 unit: function haveValidTokens() file: src/auth.ts start line: 539 end line: 556 size: 14 LOC McCabe index: 7 number of parameters: 2 id: 684 unit: export function parseIndexName() file: src/firestore/util.ts start line: 26 end line: 41 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 685 unit: export function getAppPlatform() file: src/management/apps.ts start line: 72 end line: 85 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 686 unit: export async function rollbackTemplate() file: src/remoteconfig/rollback.ts start line: 18 end line: 31 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 687 unit: private async resolveProjectIdentifiers() file: src/command.ts start line: 307 end line: 320 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 688 unit: async uploadRelease() file: src/appdistribution/client.ts start line: 81 end line: 95 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 689 unit: export async function setIamPolicy() file: src/gcp/resourceManager.ts start line: 37 end line: 50 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 690 unit: function _deleteVariable() file: src/gcp/runtimeconfig.js start line: 129 end line: 142 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 691 unit: export async function getServiceAccount() file: src/gcp/storage.ts start line: 242 end line: 255 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 692 unit: function getGitFolderPath() file: src/init/features/hosting/github.ts start line: 220 end line: 237 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 693 unit: async function promptForRepo() file: src/init/features/hosting/github.ts start line: 396 end line: 448 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 694 unit: async function promptAndCreateNewProject() file: src/init/features/project.ts start line: 44 end line: 58 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 695 unit: export async function confirmUpdateWarning() file: src/extensions/resolveSource.ts start line: 33 end line: 46 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 696 unit: export function resolveSourceUrl() file: src/extensions/resolveSource.ts start line: 55 end line: 68 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 697 unit: export async function getExtensionRegistry() file: src/extensions/resolveSource.ts start line: 114 end line: 128 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 698 unit: export async function getExtensionSourceFromName() file: src/extensions/extensionsHelper.ts start line: 573 end line: 587 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 699 unit: choices: convertOfficialExtensionsToList() file: src/extensions/extensionsHelper.ts start line: 637 end line: 651 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 700 unit: export function displayApis() file: src/extensions/askUserForConsent.ts start line: 75 end line: 88 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 701 unit: export async function getPublisherProfile() file: src/extensions/extensionsApi.ts start line: 575 end line: 588 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 702 unit: export function compareVersionStrings() file: src/emulator/functionsEmulatorUtils.ts start line: 116 end line: 133 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 703 unit: public getBytes() file: src/emulator/storage/files.ts start line: 170 end line: 183 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 704 unit: public deleteDownloadToken() file: src/emulator/storage/files.ts start line: 469 end line: 482 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 705 unit: export function toSerializedDate() file: src/emulator/storage/metadata.ts start line: 457 end line: 470 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 706 unit: function stat() file: src/emulator/auth/index.ts start line: 114 end line: 127 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 707 unit: function createFakeClaims() file: src/emulator/auth/widget_ui.ts start line: 245 end line: 258 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 708 unit: refresh() file: src/emulator/functionsRuntimeWorker.ts start line: 176 end line: 189 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 709 unit: async function assertResolveDeveloperNodeModule() file: src/emulator/functionsEmulatorRuntime.ts start line: 247 end line: 261 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 710 unit: httpsProvider.onCall = function() file: src/emulator/functionsEmulatorRuntime.ts start line: 473 end line: 486 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 711 unit: private async exportFirestore() file: src/emulator/hubExport.ts start line: 126 end line: 141 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 712 unit: LocalFunction.prototype._makeFirestoreValue = function() file: src/localFunction.js start line: 118 end line: 132 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 713 unit: ProfileReport.formatBytes = function() file: src/profileReport.js start line: 81 end line: 94 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 714 unit: export function updatesSummary() file: src/deploy/extensions/deploymentSummary.ts start line: 34 end line: 47 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 715 unit: exports.dump = function() file: src/deploy/hosting/hashcache.js start line: 32 end line: 45 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 716 unit: export function calculateUpdate() file: src/deploy/functions/release/planner.ts start line: 55 end line: 69 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 717 unit: async deleteV1Function() file: src/deploy/functions/release/fabricator.ts start line: 403 end line: 416 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 718 unit: async deleteV2Function() file: src/deploy/functions/release/fabricator.ts start line: 418 end line: 431 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 719 unit: async setTrigger() file: src/deploy/functions/release/fabricator.ts start line: 456 end line: 469 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 720 unit: async deleteTrigger() file: src/deploy/functions/release/fabricator.ts start line: 471 end line: 484 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 721 unit: export async function getRuntimeDelegate() file: src/deploy/functions/runtimes/index.ts start line: 113 end line: 131 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 722 unit: export async function discoverBackend() file: src/deploy/functions/runtimes/node/parseTriggers.ts start line: 138 end line: 151 size: 14 LOC McCabe index: 2 number of parameters: 5 id: 723 unit: function forEachOperation() file: scripts/gen-auth-api-spec.ts start line: 279 end line: 291 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 724 unit: function sortKeys() file: scripts/gen-auth-api-spec.ts start line: 641 end line: 653 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 725 unit: function ImitateFirebaseTools() file: standalone/firepit.js start line: 611 end line: 623 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 726 unit: async function getGithubTokensFromAuthorizationCode() file: src/auth.ts start line: 380 end line: 392 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 727 unit: function updateAccount() file: src/auth.ts start line: 583 end line: 596 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 728 unit: export function compareApiIndex() file: src/firestore/indexes-sort.ts start line: 43 end line: 60 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 729 unit: async function selectProjectInteractively() file: src/management/projects.ts start line: 140 end line: 153 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 730 unit: export async function listFirebaseProjects() file: src/management/projects.ts start line: 407 end line: 421 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 731 unit: async function promptForPrefix() file: src/commands/functions-config-export.ts start line: 73 end line: 85 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 732 unit: export async function listDatabaseInstances() file: src/gcp/firedata.ts start line: 28 end line: 40 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 733 unit: export async function getIamPolicy() file: src/gcp/run.ts start line: 167 end line: 179 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 734 unit: export async function createRuleset() file: src/gcp/rules.ts start line: 192 end line: 206 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 735 unit: function _deleteConfig() file: src/gcp/runtimeconfig.js start line: 43 end line: 55 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 736 unit: function _updateVariable() file: src/gcp/runtimeconfig.js start line: 101 end line: 113 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 737 unit: function _setVariable() file: src/gcp/runtimeconfig.js start line: 115 end line: 127 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 738 unit: export async function setIamPolicy() file: src/gcp/cloudfunctions.ts start line: 240 end line: 253 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 739 unit: export async function deleteFunction() file: src/gcp/cloudfunctions.ts start line: 396 end line: 408 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 740 unit: export async function setBillingAccount() file: src/gcp/cloudbilling.ts start line: 31 end line: 43 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 741 unit: export function substituteParams() file: src/extensions/extensionsHelper.ts start line: 136 end line: 148 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 742 unit: export async function setSecretParamsToLatest() file: src/extensions/export.ts start line: 40 end line: 52 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 743 unit: export function displayExportInfo() file: src/extensions/export.ts start line: 54 end line: 68 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 744 unit: function buildRef() file: src/extensions/metricsUtils.ts start line: 120 end line: 134 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 745 unit: function populateResourceProperties() file: src/extensions/extensionsApi.ts start line: 433 end line: 445 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 746 unit: export async function updateFromPublisherSource() file: src/extensions/updateHelper.ts start line: 283 end line: 295 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 747 unit: export function breakingChangesInUpdate() file: src/extensions/changelog.ts start line: 81 end line: 93 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 748 unit: export async function updateChannelTtl() file: src/hosting/api.ts start line: 291 end line: 303 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 749 unit: export async function getSite() file: src/hosting/api.ts start line: 405 end line: 417 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 750 unit: export async function materializeAll() file: src/functionsConfig.ts start line: 134 end line: 147 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 751 unit: private logResponse() file: src/apiv2.ts start line: 472 end line: 484 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 752 unit: async disableBackgroundTriggers() file: src/emulator/functionsEmulator.ts start line: 1136 end line: 1149 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 753 unit: export function parseInspectionPort() file: src/emulator/commandUtils.ts start line: 160 end line: 174 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 754 unit: static async stop() file: src/emulator/registry.ts start line: 30 end line: 43 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 755 unit: async function _fatal() file: src/emulator/downloadableEmulators.ts start line: 255 end line: 270 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 756 unit: function setAccountInfo() file: src/emulator/auth/operations.ts start line: 945 end line: 957 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 757 unit: function issueTokens() file: src/emulator/auth/operations.ts start line: 2047 end line: 2059 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 758 unit: function obfuscatePhoneNumber() file: src/emulator/auth/operations.ts start line: 2671 end line: 2683 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 759 unit: private cleanUpWorkers() file: src/emulator/functionsRuntimeWorker.ts start line: 286 end line: 300 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 760 unit: private toStringCore() file: src/emulator/types.ts start line: 326 end line: 338 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 761 unit: function validateSize() file: src/emulator/download.ts start line: 90 end line: 102 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 762 unit: export function filterEmulatorTargets() file: src/emulator/controller.ts start line: 180 end line: 194 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 763 unit: private ensureFunctionsClient() file: src/emulator/pubsubEmulator.ts start line: 130 end line: 143 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 764 unit: static readLocatorFile() file: src/emulator/hub.ts start line: 45 end line: 60 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 765 unit: setScopes: function() file: src/api.js start line: 236 end line: 248 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 766 unit: export function getErrorMessage() file: src/firebaseConfigValidate.ts start line: 31 end line: 43 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 767 unit: export default async function() file: src/deploy/firestore/release.ts start line: 12 end line: 25 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 768 unit: export async function getEtag() file: src/deploy/remoteconfig/functions.ts start line: 14 end line: 26 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 769 unit: export async function getExtensionVersion() file: src/deploy/extensions/planner.ts start line: 22 end line: 34 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 770 unit: export function endpointTriggerType() file: src/deploy/functions/backend.ts start line: 117 end line: 129 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 771 unit: export function getFilterGroups() file: src/deploy/functions/functionsDeployHelper.ts start line: 25 end line: 38 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 772 unit: export function printTriggerUrls() file: src/deploy/functions/release/index.ts start line: 96 end line: 109 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 773 unit: export function printAbortedErrors() file: src/deploy/functions/release/reporter.ts start line: 211 end line: 223 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 774 unit: async cleanupFunctionCache() file: src/deploy/functions/containerCleaner.ts start line: 156 end line: 170 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 775 unit: export async function check() file: src/ensureApiEnabled.ts start line: 26 end line: 38 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 776 unit: export async function promptOnce() file: src/prompt.ts start line: 77 end line: 98 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 777 unit: function preTest() file: scripts/test-functions-env.js start line: 34 end line: 45 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 778 unit: var sendHttpRequest = function() file: scripts/test-functions-deploy.js start line: 193 end line: 204 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 779 unit: var triggerSchedule = function() file: scripts/test-functions-deploy.js start line: 223 end line: 236 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 780 unit: var runTest = function() file: scripts/test-functions-config.js start line: 82 end line: 93 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 781 unit: export function getProjectDefaultAccount() file: src/auth.ts start line: 103 end line: 117 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 782 unit: function getGithubLoginUrl() file: src/auth.ts start line: 367 end line: 378 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 783 unit: async function loginWithLocalhostGitHub() file: src/auth.ts start line: 455 end line: 466 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 784 unit: export async function loginGoogle() file: src/auth.ts start line: 517 end line: 528 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 785 unit: export function getDatabaseViewDataUrl() file: src/utils.ts start line: 86 end line: 98 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 786 unit: export async function promiseWithSpinner() file: src/utils.ts start line: 478 end line: 490 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 787 unit: function compareIndexField() file: src/firestore/indexes-sort.ts start line: 117 end line: 131 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 788 unit: function compareFieldIndex() file: src/firestore/indexes-sort.ts start line: 133 end line: 147 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 789 unit: export function assertHasOneOf() file: src/firestore/validator.ts start line: 18 end line: 30 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 790 unit: export async function checkDatabaseType() file: src/firestore/checkDatabaseType.ts start line: 13 end line: 25 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 791 unit: export function validateProjectId() file: src/command.ts start line: 365 end line: 377 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 792 unit: async addTesters() file: src/appdistribution/client.ts start line: 178 end line: 190 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 793 unit: function logAppsList() file: src/commands/apps-list.ts start line: 13 end line: 25 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 794 unit: function logInstances() file: src/commands/database-instances-list.ts start line: 21 end line: 33 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 795 unit: export async function getLatestRulesetName() file: src/gcp/rules.ts start line: 29 end line: 41 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 796 unit: export async function listAllReleases() file: src/gcp/rules.ts start line: 81 end line: 92 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 797 unit: export async function listAllRulesets() file: src/gcp/rules.ts start line: 147 end line: 158 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 798 unit: export function assertValidJob() file: src/gcp/cloudscheduler.ts start line: 71 end line: 82 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 799 unit: export async function getBucket() file: src/gcp/storage.ts start line: 220 end line: 231 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 800 unit: export function copyIfPresent() file: src/gcp/proto.ts start line: 52 end line: 63 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 801 unit: export function convertOfficialExtensionsToList() file: src/extensions/utils.ts start line: 33 end line: 44 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 802 unit: export async function formatDescription() file: src/extensions/askUserForConsent.ts start line: 25 end line: 36 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 803 unit: choices: convertExtensionOptionToLabeledList() file: src/extensions/askUserForParam.ts start line: 115 end line: 127 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 804 unit: export function readEnvFile() file: src/extensions/paramHelper.ts start line: 221 end line: 232 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 805 unit: export async function bulkCheckProductsProvisioned() file: src/extensions/provisioningHelper.ts start line: 35 end line: 46 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 806 unit: export async function deleteInstance() file: src/extensions/extensionsApi.ts start line: 253 end line: 264 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 807 unit: export async function registerPublisherProfile() file: src/extensions/extensionsApi.ts start line: 594 end line: 605 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 808 unit: export function findExtensionYaml() file: src/extensions/localHelper.ts start line: 33 end line: 44 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 809 unit: function displayEAPWarning() file: src/extensions/warnings.ts start line: 20 end line: 31 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 810 unit: export async function createChannel() file: src/hosting/api.ts start line: 271 end line: 282 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 811 unit: export async function createRelease() file: src/hosting/api.ts start line: 353 end line: 364 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 812 unit: export async function addAuthDomains() file: src/hosting/api.ts start line: 464 end line: 475 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 813 unit: function setVariable() file: src/functionsConfig.ts start line: 29 end line: 40 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 814 unit: private setDownloadTokensFromCustomMetadata() file: src/emulator/storage/metadata.ts start line: 134 end line: 146 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 815 unit: const deletableFields:() file: src/emulator/storage/metadata.ts start line: 149 end line: 161 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 816 unit: public static toJSON() file: src/emulator/storage/metadata.ts start line: 239 end line: 251 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 817 unit: function makeCRCTable() file: src/emulator/storage/crc.ts start line: 5 end line: 16 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 818 unit: function createAuthExpressionValue() file: src/emulator/storage/rules/runtime.ts start line: 381 end line: 394 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 819 unit: constructor() file: src/emulator/storage/cloudFunctions.ts start line: 27 end line: 39 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 820 unit: function getProjects() file: src/emulator/auth/operations.ts start line: 679 end line: 693 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 821 unit: function newRandomId() file: src/emulator/auth/operations.ts start line: 2297 end line: 2308 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 822 unit: temporaryProof: randomBase64UrlStr() file: src/emulator/auth/state.ts start line: 542 end line: 554 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 823 unit: private createTenantWithTenantId() file: src/emulator/auth/state.ts start line: 686 end line: 697 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 824 unit: function processNested() file: src/emulator/auth/server.ts start line: 455 end line: 466 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 825 unit: export function getEmulatedTriggersFromDefinitions() file: src/emulator/functionsEmulatorShared.ts start line: 173 end line: 184 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 826 unit: async function runFunction() file: src/emulator/functionsEmulatorRuntime.ts start line: 867 end line: 879 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 827 unit: static forFunction() file: src/emulator/emulatorLogger.ts start line: 51 end line: 62 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 828 unit: export async function findAvailablePort() file: src/emulator/portUtils.ts start line: 109 end line: 122 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 829 unit: private async deleteLocatorFile() file: src/emulator/hub.ts start line: 213 end line: 224 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 830 unit: export function normalizeRulesConfig() file: src/database/rulesConfig.ts start line: 21 end line: 32 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 831 unit: ProfileReport.extractJSON = function() file: src/profileReport.js start line: 55 end line: 66 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 832 unit: ProfileReport.prototype.generate = function() file: src/profileReport.js start line: 572 end line: 583 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 833 unit: await bulkCheckProductsProvisioned() file: src/deploy/extensions/deploy.ts start line: 18 end line: 33 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 834 unit: export async function ensureCloudBuildEnabled() file: src/deploy/functions/ensureCloudBuildEnabled.ts start line: 49 end line: 61 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 835 unit: export async function prepareFunctionsUpload() file: src/deploy/functions/prepareFunctionsUpload.ts start line: 118 end line: 130 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 836 unit: export function functionMatchesGroup() file: src/deploy/functions/functionsDeployHelper.ts start line: 10 end line: 23 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 837 unit: async function maybeEnableAR() file: src/deploy/functions/prepare.ts start line: 39 end line: 50 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 838 unit: appEngineLocation: getAppEngineLocation() file: src/deploy/functions/release/index.ts start line: 60 end line: 79 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 839 unit: async function loadModule() file: src/deploy/functions/runtimes/node/triggerParser.js start line: 20 end line: 32 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 840 unit: async function listAllSites() file: src/fetchWebSetup.ts start line: 65 end line: 78 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 841 unit: after() file: scripts/storage-emulator-integration/tests.ts start line: 1314 end line: 1325 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 842 unit: var writeToDB = function() file: scripts/test-functions-deploy.js start line: 181 end line: 191 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 843 unit: function printUsage() file: scripts/tweet.js start line: 6 end line: 18 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 844 unit: private initializeTimeout() file: src/throttler/throttler.ts start line: 250 end line: 261 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 845 unit: export function getGlobalDefaultAccount() file: src/auth.ts start line: 83 end line: 97 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 846 unit: export function addDatabaseNamespace() file: src/utils.ts start line: 105 end line: 115 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 847 unit: export function promiseAllSettled() file: src/utils.ts start line: 365 end line: 375 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 848 unit: export function datetimeString() file: src/utils.ts start line: 529 end line: 539 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 849 unit: static loadFile() file: src/rc.ts start line: 41 end line: 52 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 850 unit: export function parseFieldName() file: src/firestore/util.ts start line: 46 end line: 57 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 851 unit: module.exports = function() file: src/requireConfig.js start line: 5 end line: 15 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 852 unit: async pollUploadStatus() file: src/appdistribution/client.ts start line: 97 end line: 107 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 853 unit: function checkReservedAliases() file: src/commands/functions-config-export.ts start line: 29 end line: 39 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 854 unit: async function materialize() file: src/commands/functions-config-get.ts start line: 10 end line: 20 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 855 unit: export async function updateAuthDomains() file: src/gcp/auth.ts start line: 24 end line: 34 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 856 unit: export async function updateOrCreateRelease() file: src/gcp/rules.ts start line: 266 end line: 276 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 857 unit: export async function testIamPermissions() file: src/gcp/iam.ts start line: 188 end line: 198 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 858 unit: async deleteTag() file: src/gcp/docker.ts start line: 102 end line: 112 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 859 unit: async deleteImage() file: src/gcp/docker.ts start line: 114 end line: 124 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 860 unit: export async function secretExists() file: src/gcp/secretManager.ts start line: 47 end line: 57 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 861 unit: function validateFunction() file: src/gcp/cloudfunctions.ts start line: 135 end line: 145 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 862 unit: export async function getIamPolicy() file: src/gcp/cloudfunctions.ts start line: 266 end line: 277 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 863 unit: function defaultGithubRepo() file: src/init/features/hosting/github.ts start line: 239 end line: 250 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 864 unit: export async function grantFirexServiceAgentSecretAdminRole() file: src/extensions/secretsUtils.ts start line: 20 end line: 31 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 865 unit: export async function displayRoles() file: src/extensions/askUserForConsent.ts start line: 56 end line: 67 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 866 unit: async function generateSecretName() file: src/extensions/askUserForParam.ts start line: 224 end line: 234 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 867 unit: async function addNewSecretVersion() file: src/extensions/askUserForParam.ts start line: 236 end line: 246 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 868 unit: function displaySpecs() file: src/extensions/export.ts start line: 74 end line: 84 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 869 unit: export function buildMetricsTableRow() file: src/extensions/metricsUtils.ts start line: 80 end line: 94 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 870 unit: export async function getExistingSourceOrigin() file: src/extensions/updateHelper.ts start line: 35 end line: 45 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 871 unit: const newLogFunc: winston.LogMethod = function() file: src/logger.ts start line: 51 end line: 63 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 872 unit: function bodyToString() file: src/apiv2.ts start line: 492 end line: 503 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 873 unit: export function isValidWildcardMatch() file: src/emulator/functionsEmulatorUtils.ts start line: 43 end line: 56 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 874 unit: export function parseRuntimeVersion() file: src/emulator/functionsEmulatorUtils.ts start line: 77 end line: 89 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 875 unit: function forwardStatusAndHeaders() file: src/emulator/functionsEmulator.ts start line: 1363 end line: 1373 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 876 unit: public startUpload() file: src/emulator/storage/files.ts start line: 189 end line: 199 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 877 unit: export function logError() file: src/emulator/auth/utils.ts start line: 152 end line: 162 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 878 unit: await importFromFile() file: src/emulator/auth/index.ts start line: 63 end line: 73 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 879 unit: await importFromFile() file: src/emulator/auth/index.ts start line: 89 end line: 99 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 880 unit: function getRecaptchaParams() file: src/emulator/auth/operations.ts start line: 695 end line: 711 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 881 unit: function coercePrimitiveToString() file: src/emulator/auth/operations.ts start line: 2020 end line: 2030 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 882 unit: auth_time: toUnixTimestamp() file: src/emulator/auth/operations.ts start line: 2192 end line: 2202 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 883 unit: onResponseValidationError() file: src/emulator/auth/server.ts start line: 242 end line: 252 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 884 unit: function getProjectStateById() file: src/emulator/auth/server.ts start line: 351 end line: 362 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 885 unit: function convertKeysToCamelCase() file: src/emulator/auth/server.ts start line: 584 end line: 597 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 886 unit: function assert() file: src/emulator/auth/widget_ui.ts start line: 5 end line: 15 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 887 unit: function sendAuthEvent() file: src/emulator/auth/handlers.ts start line: 271 end line: 281 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 888 unit: constructor() file: src/emulator/auth/cloudFunctions.ts start line: 24 end line: 35 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 889 unit: exit() file: src/emulator/functionsRuntimeWorker.ts start line: 194 end line: 204 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 890 unit: export function waitForBody() file: src/emulator/functionsEmulatorShared.ts start line: 248 end line: 259 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 891 unit: var _addProviderUserInfo = function() file: src/accountImporter.js start line: 52 end line: 62 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 892 unit: export function getValidator() file: src/firebaseConfigValidate.ts start line: 17 end line: 29 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 893 unit: ProfileReport.prototype.collectBandwidth = function() file: src/profileReport.js start line: 183 end line: 193 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 894 unit: export async function checkBilling() file: src/deploy/extensions/validate.ts start line: 5 end line: 15 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 895 unit: function updateSpinner() file: src/deploy/hosting/deploy.ts start line: 31 end line: 42 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 896 unit: export function memoryOptionDisplayName() file: src/deploy/functions/backend.ts start line: 137 end line: 147 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 897 unit: export function of() file: src/deploy/functions/backend.ts start line: 258 end line: 268 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 898 unit: export function someEndpoint() file: src/deploy/functions/backend.ts start line: 461 end line: 471 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 899 unit: function nodePermissionError() file: src/deploy/functions/ensureCloudBuildEnabled.ts start line: 24 end line: 37 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 900 unit: async function uploadSourceV1() file: src/deploy/functions/deploy.ts start line: 17 end line: 27 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 901 unit: async createEndpoint() file: src/deploy/functions/release/fabricator.ts start line: 159 end line: 170 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 902 unit: async upsertTaskQueue() file: src/deploy/functions/release/fabricator.ts start line: 500 end line: 513 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 903 unit: async ls() file: src/deploy/functions/containerCleaner.ts start line: 369 end line: 379 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 904 unit: export async function getDefaultHostingSite() file: src/getDefaultHostingSite.ts start line: 9 end line: 19 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 905 unit: constructor() file: scripts/integration-helpers/framework.ts start line: 105 end line: 114 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 906 unit: export function setGlobalDefaultAccount() file: src/auth.ts start line: 250 end line: 260 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 907 unit: function invalidCredentialError() file: src/auth.ts start line: 269 end line: 278 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 908 unit: export function explainStdin() file: src/utils.ts start line: 259 end line: 268 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 909 unit: export function tryStringify() file: src/utils.ts start line: 419 end line: 429 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 910 unit: export function tryParse() file: src/utils.ts start line: 435 end line: 445 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 911 unit: export function assertIsStringOrUndefined() file: src/utils.ts start line: 600 end line: 609 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 912 unit: function compareArrays() file: src/firestore/indexes-sort.ts start line: 168 end line: 178 size: 10 LOC McCabe index: 3 number of parameters: 4 id: 913 unit: private async getCurrentRules() file: src/rulesDeploy.ts start line: 92 end line: 101 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 914 unit: export function getTestersOrGroups() file: src/appdistribution/options-parser-util.ts start line: 10 end line: 22 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 915 unit: function isValidUpdate() file: src/commands/ext-update.ts start line: 46 end line: 55 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 916 unit: projectId: needProjectId() file: src/commands/functions-delete.ts start line: 37 end line: 48 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 917 unit: export default function requireInteractive() file: src/requireInteractive.ts start line: 5 end line: 14 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 918 unit: export async function getService() file: src/gcp/run.ts start line: 116 end line: 125 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 919 unit: export async function replaceService() file: src/gcp/run.ts start line: 127 end line: 136 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 920 unit: export async function getRulesetContent() file: src/gcp/rules.ts start line: 108 end line: 118 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 921 unit: export async function getSecretVersion() file: src/gcp/secretManager.ts start line: 36 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 922 unit: export function parseSecretVersionResourceName() file: src/gcp/secretManager.ts start line: 67 end line: 76 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 923 unit: async function getDBRules() file: src/init/features/database.ts start line: 40 end line: 49 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 924 unit: async function promptForWriteYMLFile() file: src/init/features/hosting/github.ts start line: 503 end line: 512 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 925 unit: async function deleteUploadedSource() file: src/extensions/extensionsHelper.ts start line: 556 end line: 565 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 926 unit: export async function promptForOfficialExtension() file: src/extensions/extensionsHelper.ts start line: 631 end line: 640 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 927 unit: export function isLocalPath() file: src/extensions/extensionsHelper.ts start line: 694 end line: 703 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 928 unit: export function parseBucket() file: src/extensions/metricsUtils.ts start line: 63 end line: 75 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 929 unit: async function isStorageProvisioned() file: src/extensions/provisioningHelper.ts start line: 121 end line: 132 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 930 unit: function readTestConfigFile() file: src/extensions/emulator/optionsHelper.ts start line: 114 end line: 123 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 931 unit: function wrappedSafeLoad() file: src/extensions/emulator/specHelper.ts start line: 22 end line: 31 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 932 unit: export async function getLocalExtensionSpec() file: src/extensions/localHelper.ts start line: 17 end line: 26 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 933 unit: export function readFile() file: src/extensions/localHelper.ts start line: 51 end line: 60 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 934 unit: function parseYAML() file: src/extensions/localHelper.ts start line: 80 end line: 89 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 935 unit: export async function displayChanges() file: src/extensions/updateHelper.ts start line: 101 end line: 110 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 936 unit: function logBillingStatus() file: src/extensions/checkProjectBilling.ts start line: 15 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 937 unit: function displayExperimentalWarning() file: src/extensions/warnings.ts start line: 33 end line: 42 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 938 unit: private async getAccessToken() file: src/apiv2.ts start line: 278 end line: 290 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 939 unit: export function parseVersionString() file: src/emulator/functionsEmulatorUtils.ts start line: 94 end line: 106 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 940 unit: private updateRulesSource() file: src/emulator/storage/index.ts start line: 96 end line: 105 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 941 unit: async listBuckets() file: src/emulator/storage/files.ts start line: 147 end line: 157 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 942 unit: public addDownloadToken() file: src/emulator/storage/files.ts start line: 458 end line: 467 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 943 unit: private deleteFieldsSetAsNull() file: src/emulator/storage/metadata.ts start line: 148 end line: 171 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 944 unit: start() file: src/emulator/loggingEmulator.ts start line: 82 end line: 91 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 945 unit: static async start() file: src/emulator/registry.ts start line: 14 end line: 28 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 946 unit: const unimplementedFields:() file: src/emulator/auth/operations.ts start line: 974 end line: 983 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 947 unit: function validateSerializedCustomClaims() file: src/emulator/auth/operations.ts start line: 2253 end line: 2263 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 948 unit: function redactMfaInfo() file: src/emulator/auth/operations.ts start line: 2658 end line: 2667 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 949 unit: private removeProviderEmailForUser() file: src/emulator/auth/state.ts start line: 346 end line: 355 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 950 unit: static waitForFlush() file: src/emulator/types.ts start line: 196 end line: 205 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 951 unit: static getOriginal() file: src/emulator/functionsEmulatorRuntime.ts start line: 113 end line: 123 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 952 unit: function warnAboutFirestoreProd() file: src/emulator/functionsEmulatorRuntime.ts start line: 675 end line: 685 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 953 unit: function warnAboutDatabaseProd() file: src/emulator/functionsEmulatorRuntime.ts start line: 687 end line: 697 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 954 unit: function warnAboutAuthProd() file: src/emulator/functionsEmulatorRuntime.ts start line: 699 end line: 709 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 955 unit: function fetchToFile() file: src/emulator/hubExport.ts start line: 255 end line: 264 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 956 unit: async start() file: src/emulator/emulatorServer.ts start line: 13 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 957 unit: static extractBinaryCloudEventContext() file: src/emulator/events/types.ts start line: 114 end line: 123 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 958 unit: export function suggestUnrestricted() file: src/emulator/portUtils.ts start line: 90 end line: 101 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 959 unit: async connect() file: src/emulator/databaseEmulator.ts start line: 78 end line: 90 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 960 unit: export function listFiles() file: src/listFiles.ts start line: 3 end line: 12 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 961 unit: export async function listAllRulesets() file: src/database/metadata.ts start line: 36 end line: 45 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 962 unit: export async function getRuleset() file: src/database/metadata.ts start line: 47 end line: 56 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 963 unit: function suggestCommands() file: src/index.js start line: 45 end line: 54 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 964 unit: ProfileReport.extractReadableIndex = function() file: src/profileReport.js start line: 96 end line: 105 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 965 unit: async populateHandler() file: src/deploy/hosting/uploader.ts start line: 215 end line: 224 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 966 unit: function nodeBillingError() file: src/deploy/functions/ensureCloudBuildEnabled.ts start line: 10 end line: 22 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 967 unit: export async function ensureTriggerRegions() file: src/deploy/functions/triggerRegionHelper.ts start line: 9 end line: 19 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 968 unit: get poller() file: src/deploy/functions/release/sourceTokenScraper.ts start line: 28 end line: 37 size: 10 LOC McCabe index: 5 number of parameters: 0 id: 969 unit: export function requireKeys() file: src/deploy/functions/runtimes/discovery/parsing.ts start line: 6 end line: 15 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 970 unit: module.exports = function() file: src/loadCJSON.js start line: 6 end line: 15 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 971 unit: export function clearCredentials() file: src/defaultCredentials.ts start line: 50 end line: 61 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 972 unit: function getCredential() file: src/defaultCredentials.ts start line: 63 end line: 72 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 973 unit: function readProdAppConfig() file: scripts/storage-emulator-integration/tests.ts start line: 74 end line: 82 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 974 unit: function readEmulatorConfig() file: scripts/storage-emulator-integration/tests.ts start line: 84 end line: 92 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 975 unit: function createRandomFile() file: scripts/storage-emulator-integration/tests.ts start line: 110 end line: 119 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 976 unit: async function expectEnvs() file: scripts/test-functions-env.js start line: 53 end line: 64 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 977 unit: var testCreateUpdateWithFilter = function() file: scripts/test-functions-deploy.js start line: 123 end line: 136 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 978 unit: var preTest = function() file: scripts/test-functions-config.js start line: 28 end line: 36 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 979 unit: constructor() file: src/throttler/errors/retries-exhausted-error.ts start line: 4 end line: 12 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 980 unit: private finish() file: src/throttler/throttler.ts start line: 240 end line: 248 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 981 unit: export function getAllAccounts() file: src/auth.ts start line: 129 end line: 140 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 982 unit: function queryParamString() file: src/auth.ts start line: 302 end line: 310 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 983 unit: export function getInheritedOption() file: src/utils.ts start line: 38 end line: 46 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 984 unit: export function stringToStream() file: src/utils.ts start line: 275 end line: 283 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 985 unit: export function makeActiveProject() file: src/utils.ts start line: 302 end line: 310 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 986 unit: save() file: src/rc.ts start line: 223 end line: 231 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 987 unit: export function compareSpecIndex() file: src/firestore/indexes-sort.ts start line: 23 end line: 33 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 988 unit: export function compareFieldOverride() file: src/firestore/indexes-sort.ts start line: 97 end line: 107 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 989 unit: export function flatten() file: src/functional.ts start line: 45 end line: 53 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 990 unit: export function partition() file: src/functional.ts start line: 99 end line: 107 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 991 unit: function consoleUninstallOnly() file: src/commands/ext-uninstall.ts start line: 35 end line: 43 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 992 unit: function getReleaseNotes() file: src/commands/appdistribution-distribute.ts start line: 20 end line: 29 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 993 unit: function getSymbolGenerator() file: src/commands/crashlytics-symbols-upload.ts start line: 114 end line: 123 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 994 unit: function _handleErrorResponse() file: src/gcp/firedata.ts start line: 12 end line: 21 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 995 unit: function _handleErrorResponse() file: src/gcp/rules.ts start line: 12 end line: 21 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 996 unit: export async function getServiceAccount() file: src/gcp/iam.ts start line: 82 end line: 90 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 997 unit: function isIdentical() file: src/gcp/cloudscheduler.ts start line: 178 end line: 186 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 998 unit: function _listConfigs() file: src/gcp/runtimeconfig.js start line: 12 end line: 20 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 999 unit: function _listVariables() file: src/gcp/runtimeconfig.js start line: 57 end line: 65 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1000 unit: function _getVariable() file: src/gcp/runtimeconfig.js start line: 67 end line: 75 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1001 unit: export function listCollectionIds() file: src/gcp/firestore.ts start line: 16 end line: 26 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1002 unit: export async function deleteDocuments() file: src/gcp/firestore.ts start line: 51 end line: 61 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1003 unit: export async function getFunction() file: src/gcp/cloudfunctionsv2.ts start line: 272 end line: 280 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 1004 unit: async listTags() file: src/gcp/docker.ts start line: 92 end line: 100 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1005 unit: export function getInvokerMembers() file: src/gcp/proto.ts start line: 135 end line: 143 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 1006 unit: await prompt() file: src/init/features/emulators.ts start line: 24 end line: 32 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 1007 unit: await uploadSecretToGitHub() file: src/init/features/hosting/github.ts start line: 117 end line: 126 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 1008 unit: async function getRepoDetails() file: src/init/features/hosting/github.ts start line: 522 end line: 531 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1009 unit: function toProjectInfo() file: src/init/features/project.ts start line: 34 end line: 42 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1010 unit: export function convertExtensionOptionToLabeledList() file: src/extensions/utils.ts start line: 22 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1011 unit: export async function ensureExtensionsApiEnabled() file: src/extensions/extensionsHelper.ts start line: 353 end line: 361 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1012 unit: function parseRef() file: src/extensions/refs.ts start line: 40 end line: 49 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 1013 unit: export function equal() file: src/extensions/refs.ts start line: 97 end line: 105 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 1014 unit: function writeExtensionsToFirebaseJson() file: src/extensions/export.ts start line: 86 end line: 94 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1015 unit: function shouldEmulate() file: src/extensions/emulator/optionsHelper.ts start line: 189 end line: 197 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 1016 unit: function invalidSourceErrMsgTemplate() file: src/extensions/updateHelper.ts start line: 25 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1017 unit: export async function enableBilling() file: src/extensions/checkProjectBilling.ts start line: 107 end line: 115 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 1018 unit: export function parseVersionPredicate() file: src/extensions/versionHelper.ts start line: 14 end line: 22 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 1019 unit: cwd: detectProjectRoot() file: src/serve/hosting.ts start line: 52 end line: 64 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1020 unit: export async function removeAuthDomain() file: src/hosting/api.ts start line: 482 end line: 490 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1021 unit: const newDebug: winston.LeveledLogMethod = function() file: src/logger.ts start line: 70 end line: 78 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 1022 unit: function proxyURIFromEnv() file: src/apiv2.ts start line: 103 end line: 111 size: 9 LOC McCabe index: 5 number of parameters: 0 id: 1023 unit: major: parseInt() file: src/emulator/functionsEmulatorUtils.ts start line: 102 end line: 120 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1024 unit: static getHttpFunctionUrl() file: src/emulator/functionsEmulator.ts start line: 136 end line: 144 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 1025 unit: public uploadBytes() file: src/emulator/storage/files.ts start line: 214 end line: 223 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1026 unit: export function crc32c() file: src/emulator/storage/crc.ts start line: 32 end line: 42 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1027 unit: function createOobRecord() file: src/emulator/auth/operations.ts start line: 1199 end line: 1207 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 1028 unit: function deleteTenant() file: src/emulator/auth/operations.ts start line: 2774 end line: 2782 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 1029 unit: function getProviderEmailsForUser() file: src/emulator/auth/state.ts start line: 892 end line: 900 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1030 unit: servers: serversWithEmulators() file: src/emulator/auth/server.ts start line: 72 end line: 89 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 1031 unit: function requireAsync() file: src/emulator/functionsEmulatorRuntime.ts start line: 52 end line: 60 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1032 unit: function requireResolveAsync() file: src/emulator/functionsEmulatorRuntime.ts start line: 62 end line: 70 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1033 unit: constructor() file: src/emulator/pubsubEmulator.ts start line: 41 end line: 49 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1034 unit: private getTrigger() file: src/emulator/functionsEmulatorShell.ts start line: 80 end line: 90 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1035 unit: static forEmulator() file: src/emulator/emulatorLogger.ts start line: 41 end line: 49 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1036 unit: export async function checkPortOpen() file: src/emulator/portUtils.ts start line: 127 end line: 135 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1037 unit: export async function waitForPortClosed() file: src/emulator/portUtils.ts start line: 140 end line: 148 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1038 unit: private getLocator() file: src/emulator/hub.ts start line: 179 end line: 187 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 1039 unit: export function loadFirebaseEnvs() file: src/functions/env.ts start line: 298 end line: 306 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1040 unit: function handleErrorResponse() file: src/database/metadata.ts start line: 10 end line: 19 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 1041 unit: export async function getRulesetLabels() file: src/database/metadata.ts start line: 58 end line: 66 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1042 unit: export function getProjectId() file: src/projectUtils.ts start line: 16 end line: 24 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 1043 unit: export async function needProjectNumber() file: src/projectUtils.ts start line: 85 end line: 93 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1044 unit: async function prepareRules() file: src/deploy/firestore/prepare.ts start line: 14 end line: 23 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 1045 unit: export default async function() file: src/deploy/remoteconfig/release.ts start line: 9 end line: 17 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1046 unit: export async function getExtension() file: src/deploy/extensions/planner.ts start line: 39 end line: 47 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 1047 unit: export function functionsDirectoryExists() file: src/deploy/functions/validate.ts start line: 48 end line: 56 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1048 unit: async function uploadSourceV2() file: src/deploy/functions/deploy.ts start line: 29 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1049 unit: export function checkForV2Upgrade() file: src/deploy/functions/release/planner.ts start line: 240 end line: 248 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 1050 unit: async deleteScheduleV1() file: src/deploy/functions/release/fabricator.ts start line: 515 end line: 524 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1051 unit: async disableTaskQueue() file: src/deploy/functions/release/fabricator.ts start line: 532 end line: 540 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1052 unit: hosting: require() file: src/deploy/index.js start line: 14 end line: 23 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1053 unit: var _chain = function() file: src/deploy/index.js start line: 27 end line: 36 size: 9 LOC McCabe index: 3 number of parameters: 4 id: 1054 unit: function constructDefaultWebSetup() file: src/fetchWebSetup.ts start line: 83 end line: 91 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1055 unit: var _matchPrefix = function() file: src/functionsConfigClone.js start line: 11 end line: 22 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1056 unit: var _cloneConfig = function() file: src/functionsConfigClone.js start line: 37 end line: 45 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1057 unit: export async function promptOnce() file: src/prompt.ts start line: 84 end line: 98 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1058 unit: constructor() file: src/error.ts start line: 24 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1059 unit: export async function getProjectNumber() file: src/getProjectNumber.ts start line: 8 end line: 16 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1060 unit: export function ensureLocationSet() file: src/ensureCloudResourceLocation.ts start line: 12 end line: 20 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 1061 unit: function readJson() file: scripts/storage-emulator-integration/tests.ts start line: 65 end line: 72 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1062 unit: var testDeleteWithFilter = function() file: scripts/test-functions-deploy.js start line: 148 end line: 160 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1063 unit: var set = function() file: scripts/test-functions-config.js start line: 43 end line: 54 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1064 unit: var unset = function() file: scripts/test-functions-config.js start line: 56 end line: 67 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1065 unit: var getAndCompare = function() file: scripts/test-functions-config.js start line: 69 end line: 80 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1066 unit: function appendToPath() file: standalone/firepit.js start line: 1049 end line: 1062 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1067 unit: function debug() file: standalone/firepit.js start line: 1064 end line: 1075 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1068 unit: function logoutCurrentSession() file: src/auth.ts start line: 602 end line: 610 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1069 unit: export function logLabeledSuccess() file: src/utils.ts start line: 139 end line: 146 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 1070 unit: export function logLabeledBullet() file: src/utils.ts start line: 162 end line: 169 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 1071 unit: export function logLabeledWarning() file: src/utils.ts start line: 185 end line: 192 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 1072 unit: export function streamToString() file: src/utils.ts start line: 290 end line: 297 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1073 unit: export async function promiseProps() file: src/utils.ts start line: 406 end line: 413 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1074 unit: export function getEmails() file: src/appdistribution/options-parser-util.ts start line: 28 end line: 35 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1075 unit: function logProjectCount() file: src/commands/projects-list.ts start line: 39 end line: 46 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1076 unit: await prompt() file: src/commands/apps-create.ts start line: 77 end line: 84 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1077 unit: await prompt() file: src/commands/apps-create.ts start line: 116 end line: 123 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1078 unit: var loadCommand = function() file: src/commands/index.js start line: 6 end line: 14 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1079 unit: function getConfirmationMessage() file: src/commands/functions-deletegcfartifacts.ts start line: 14 end line: 21 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1080 unit: function readCommonTemplates() file: src/commands/ext-dev-init.ts start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1081 unit: export function regionInLocation() file: src/gcp/location.ts start line: 50 end line: 59 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1082 unit: export async function deleteFunction() file: src/gcp/cloudfunctionsv2.ts start line: 355 end line: 362 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1083 unit: export function renameIfPresent() file: src/gcp/proto.ts start line: 65 end line: 72 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 1084 unit: export async function doSetup() file: src/init/features/firestore/index.ts start line: 50 end line: 58 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 1085 unit: await prompt() file: src/init/features/emulators.ts start line: 77 end line: 84 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 1086 unit: export function getRandomString() file: src/extensions/utils.ts start line: 50 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1087 unit: export function getActiveSecrets() file: src/extensions/secretsUtils.ts start line: 52 end line: 59 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1088 unit: export function prettySecretName() file: src/extensions/secretsUtils.ts start line: 67 end line: 75 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1089 unit: export async function resolveRegistryEntry() file: src/extensions/resolveSource.ts start line: 84 end line: 91 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1090 unit: export function getDBInstanceFromURL() file: src/extensions/extensionsHelper.ts start line: 96 end line: 103 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1091 unit: async function archiveAndUploadSource() file: src/extensions/extensionsHelper.ts start line: 369 end line: 376 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1092 unit: export function getPublisherProjectFromName() file: src/extensions/extensionsHelper.ts start line: 592 end line: 600 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1093 unit: function parseName() file: src/extensions/refs.ts start line: 51 end line: 58 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1094 unit: export function isLocalExtension() file: src/extensions/localHelper.ts start line: 66 end line: 73 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1095 unit: export function displayNode10UpdateBillingNotice() file: src/extensions/billingMigrationHelper.ts start line: 53 end line: 60 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1096 unit: export async function start() file: src/serve/hosting.ts start line: 121 end line: 130 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1097 unit: export function checkMinRequiredVersion() file: src/checkMinRequiredVersion.ts start line: 14 end line: 21 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1098 unit: export async function createSite() file: src/hosting/api.ts start line: 426 end line: 433 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1099 unit: export function errorRequestHandler() file: src/hosting/proxy.ts start line: 181 end line: 188 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1100 unit: function keyToIds() file: src/functionsConfig.ts start line: 20 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1101 unit: constructor() file: src/apiv2.ts start line: 121 end line: 128 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1102 unit: minor: parseInt() file: src/emulator/functionsEmulatorUtils.ts start line: 103 end line: 120 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1103 unit: async reloadTriggers() file: src/emulator/functionsEmulator.ts start line: 1151 end line: 1158 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 1104 unit: private getEmulatorInfo() file: src/emulator/functionsEmulator.ts start line: 1223 end line: 1231 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1105 unit: private prettyPrintRulesIssue() file: src/emulator/firestoreEmulator.ts start line: 128 end line: 135 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1106 unit: public getMetadata() file: src/emulator/storage/files.ts start line: 159 end line: 168 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1107 unit: public cancelUpload() file: src/emulator/storage/files.ts start line: 205 end line: 212 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1108 unit: constructor() file: src/emulator/storage/files.ts start line: 594 end line: 601 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1109 unit: static normalizeHost() file: src/emulator/constants.ts start line: 122 end line: 130 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1110 unit: static getInfoHostString() file: src/emulator/registry.ts start line: 118 end line: 127 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1111 unit: export async function handleEmulatorProcessError() file: src/emulator/downloadableEmulators.ts start line: 272 end line: 282 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1112 unit: export function randomId() file: src/emulator/auth/utils.ts start line: 94 end line: 102 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1113 unit: export function randomBase64UrlStr() file: src/emulator/auth/utils.ts start line: 112 end line: 119 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1114 unit: function getEmulatorProjectConfig() file: src/emulator/auth/operations.ts start line: 1731 end line: 1738 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1115 unit: function getTenant() file: src/emulator/auth/operations.ts start line: 2784 end line: 2791 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1116 unit: function updateTenant() file: src/emulator/auth/operations.ts start line: 2793 end line: 2800 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1117 unit: makeExegesisPlugin() file: src/emulator/auth/server.ts start line: 284 end line: 313 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1118 unit: async function runHTTPS() file: src/emulator/functionsEmulatorRuntime.ts start line: 897 end line: 908 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 1119 unit: function unzip() file: src/emulator/download.ts start line: 46 end line: 53 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1120 unit: export async function cleanShutdown() file: src/emulator/controller.ts start line: 167 end line: 174 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1121 unit: version: getDownloadDetails() file: src/emulator/hubExport.ts start line: 79 end line: 87 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1122 unit: static isBinaryCloudEvent() file: src/emulator/events/types.ts start line: 105 end line: 112 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 1123 unit: export function hasUserEnvs() file: src/functions/env.ts start line: 225 end line: 232 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 1124 unit: function escape() file: src/functions/runtimeConfigExport.ts start line: 172 end line: 180 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1125 unit: export function toDotenvFormat() file: src/functions/runtimeConfigExport.ts start line: 185 end line: 192 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1126 unit: LocalFunction.prototype._substituteParams = function() file: src/localFunction.js start line: 50 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1127 unit: export function getAliases() file: src/projectUtils.ts start line: 100 end line: 107 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1128 unit: client.getCommand = function() file: src/index.js start line: 27 end line: 34 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1129 unit: ProfileReport.formatNumber = function() file: src/profileReport.js start line: 72 end line: 79 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1130 unit: async run() file: src/deploy/functions/release/executor.ts start line: 52 end line: 59 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1131 unit: async deleteEndpoint() file: src/deploy/functions/release/fabricator.ts start line: 194 end line: 201 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1132 unit: function assertFunctionsSourcePresent() file: src/deploy/functions/runtimes/node/validate.ts start line: 18 end line: 25 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 1133 unit: static packagePath() file: src/deploy/functions/containerCleaner.ts start line: 104 end line: 117 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1134 unit: private helper() file: src/deploy/functions/containerCleaner.ts start line: 187 end line: 194 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1135 unit: database: require() file: src/deploy/index.js start line: 15 end line: 23 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1136 unit: module.exports = function() file: src/deploy/lifecycleHooks.js start line: 148 end line: 160 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1137 unit: function getAuthEmulatorHost() file: scripts/storage-emulator-integration/tests.ts start line: 94 end line: 100 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1138 unit: function getStorageEmulatorHost() file: scripts/storage-emulator-integration/tests.ts start line: 102 end line: 108 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1139 unit: async function resetStorageEmulator() file: scripts/storage-emulator-integration/tests.ts start line: 124 end line: 130 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1140 unit: private finishIfIdle() file: src/throttler/throttler.ts start line: 231 end line: 238 size: 7 LOC McCabe index: 4 number of parameters: 0 id: 1141 unit: export function setActiveAccount() file: src/auth.ts start line: 148 end line: 155 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1142 unit: export function logSuccess() file: src/utils.ts start line: 128 end line: 134 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1143 unit: export function logBullet() file: src/utils.ts start line: 151 end line: 157 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1144 unit: export function logWarning() file: src/utils.ts start line: 174 end line: 180 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1145 unit: export function assertDefined() file: src/utils.ts start line: 567 end line: 573 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 1146 unit: export function assertIsString() file: src/utils.ts start line: 578 end line: 584 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1147 unit: export function assertIsNumber() file: src/utils.ts start line: 589 end line: 595 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1148 unit: function isPlainObject() file: src/firestore/encodeFirestoreValue.ts start line: 5 end line: 11 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1149 unit: async function selectProjectByPrompting() file: src/management/projects.ts start line: 155 end line: 162 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1150 unit: async function getProjectPage() file: src/management/projects.ts start line: 323 end line: 329 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1151 unit: export async function requireHostingSite() file: src/requireHostingSite.ts start line: 7 end line: 14 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1152 unit: export function fileExistsSync() file: src/fsutils.ts start line: 3 end line: 9 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1153 unit: export function dirExistsSync() file: src/fsutils.ts start line: 11 end line: 17 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1154 unit: async compile() file: src/rulesDeploy.ts start line: 79 end line: 85 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1155 unit: async getAabInfo() file: src/appdistribution/client.ts start line: 72 end line: 79 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1156 unit: export function getAppName() file: src/appdistribution/options-parser-util.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1157 unit: await update() file: src/commands/ext-install.ts start line: 173 end line: 179 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 1158 unit: function pushTableContents() file: src/commands/remoteconfig-versions-list.ts start line: 14 end line: 20 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1159 unit: function fromEntries() file: src/commands/functions-config-export.ts start line: 87 end line: 93 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1160 unit: function logAppCount() file: src/commands/apps-list.ts start line: 27 end line: 33 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1161 unit: function logInstancesCount() file: src/commands/database-instances-list.ts start line: 35 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1162 unit: function getCertHashType() file: src/commands/apps-android-sha-create.ts start line: 9 end line: 15 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1163 unit: function logCertificatesCount() file: src/commands/apps-android-sha-list.ts start line: 31 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1164 unit: export async function updateTopic() file: src/gcp/pubsub.ts start line: 44 end line: 50 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1165 unit: export async function deleteRuleset() file: src/gcp/rules.ts start line: 179 end line: 185 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1166 unit: export function testRuleset() file: src/gcp/rules.ts start line: 278 end line: 284 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1167 unit: export async function listFunctions() file: src/gcp/cloudfunctionsv2.ts start line: 286 end line: 292 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1168 unit: constructor() file: src/gcp/docker.ts start line: 84 end line: 90 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1169 unit: export function parseSecretResourceName() file: src/gcp/secretManager.ts start line: 59 end line: 65 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1170 unit: export async function checkBillingEnabled() file: src/gcp/cloudbilling.ts start line: 18 end line: 24 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1171 unit: export async function listBillingAccounts() file: src/gcp/cloudbilling.ts start line: 49 end line: 55 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1172 unit: await prompt() file: src/init/features/emulators.ts start line: 47 end line: 53 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 1173 unit: await prompt() file: src/init/features/emulators.ts start line: 67 end line: 73 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1174 unit: await prompt() file: src/init/features/emulators.ts start line: 93 end line: 99 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1175 unit: await prompt() file: src/init/features/database.ts start line: 156 end line: 162 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1176 unit: async function init() file: src/init/features/functions/golang.ts start line: 21 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1177 unit: async function promptAndAddFirebaseToCloudProject() file: src/init/features/project.ts start line: 60 end line: 66 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1178 unit: export async function onceWithJoin() file: src/extensions/utils.ts start line: 7 end line: 13 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1179 unit: export function formatTimestamp() file: src/extensions/utils.ts start line: 64 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1180 unit: export function getParamsWithCurrentValuesAsDefaults() file: src/extensions/paramHelper.ts start line: 42 end line: 48 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1181 unit: export async function checkProductsProvisioned() file: src/extensions/provisioningHelper.ts start line: 22 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1182 unit: async function isAuthProvisioned() file: src/extensions/provisioningHelper.ts start line: 134 end line: 140 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1183 unit: export async function getSource() file: src/extensions/extensionsApi.ts start line: 483 end line: 489 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1184 unit: function: functionsProxy() file: src/serve/hosting.ts start line: 66 end line: 73 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 1185 unit: export async function deleteChannel() file: src/hosting/api.ts start line: 311 end line: 317 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1186 unit: export function getAppEngineLocation() file: src/functionsConfig.ts start line: 65 end line: 72 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 1187 unit: export async function getFirebaseConfig() file: src/functionsConfig.ts start line: 74 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1188 unit: patch: parseInt() file: src/emulator/functionsEmulatorUtils.ts start line: 104 end line: 120 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1189 unit: static getInfo() file: src/emulator/registry.ts start line: 109 end line: 116 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1190 unit: static getPort() file: src/emulator/registry.ts start line: 129 end line: 136 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1191 unit: export async function downloadIfNecessary() file: src/emulator/downloadableEmulators.ts start line: 413 end line: 421 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1192 unit: export function parseAbsoluteUri() file: src/emulator/auth/utils.ts start line: 75 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1193 unit: export function randomDigits() file: src/emulator/auth/utils.ts start line: 130 end line: 136 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1194 unit: function sendOobForEmailReset() file: src/emulator/auth/operations.ts start line: 1189 end line: 1197 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1195 unit: function listVerificationCodesInProject() file: src/emulator/auth/operations.ts start line: 1776 end line: 1782 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1196 unit: function verifyPhoneNumber() file: src/emulator/auth/operations.ts start line: 2242 end line: 2249 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1197 unit: private getUserByLocalIdAssertingExists() file: src/emulator/auth/state.ts start line: 313 end line: 319 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1198 unit: function jsonPointerToPath() file: src/emulator/auth/server.ts start line: 599 end line: 605 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1199 unit: function randomProviderRawId() file: src/emulator/auth/widget_ui.ts start line: 260 end line: 267 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1200 unit: getKey() file: src/emulator/functionsRuntimeWorker.ts start line: 162 end line: 168 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1201 unit: get timeoutMs() file: src/emulator/functionsEmulatorShared.ts start line: 120 end line: 126 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 1202 unit: export function getTemporarySocketPath() file: src/emulator/functionsEmulatorShared.ts start line: 186 end line: 205 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1203 unit: public static readMetadata() file: src/emulator/hubExport.ts start line: 55 end line: 62 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1204 unit: version: getDownloadDetails() file: src/emulator/hubExport.ts start line: 88 end line: 95 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1205 unit: await fetchToFile() file: src/emulator/hubExport.ts start line: 185 end line: 191 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1206 unit: await fetchToFile() file: src/emulator/hubExport.ts start line: 209 end line: 215 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1207 unit: await fetchToFile() file: src/emulator/hubExport.ts start line: 221 end line: 227 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1208 unit: export function constructDefaultAdminSdkConfig() file: src/emulator/adminSdkConfig.ts start line: 21 end line: 29 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1209 unit: var _appendQueryData = function() file: src/api.js start line: 78 end line: 84 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 1210 unit: fields: encodeFirestoreValue() file: src/localFunction.js start line: 128 end line: 135 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1211 unit: function getAuthClient() file: src/requireAuth.ts start line: 22 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1212 unit: export function realtimeOriginOrEmulatorOrCustomUrl() file: src/database/api.ts start line: 8 end line: 14 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1213 unit: function chunkList() file: src/database/remove.ts start line: 7 end line: 13 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1214 unit: var _isValidBase64 = function() file: src/accountImporter.js start line: 38 end line: 46 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1215 unit: var serialImportUsers = function() file: src/accountImporter.js start line: 333 end line: 339 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 1216 unit: ProfileReport.prototype.write = function() file: src/profileReport.js start line: 564 end line: 570 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1217 unit: var writeTitle = function() file: src/profileReport.js start line: 604 end line: 610 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1218 unit: async function deployRules() file: src/deploy/firestore/deploy.ts start line: 14 end line: 20 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1219 unit: export default async function() file: src/deploy/storage/deploy.ts start line: 9 end line: 15 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1220 unit: async function handleSecretsCreateInstance() file: src/deploy/extensions/secrets.ts start line: 52 end line: 58 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1221 unit: await promptForCreateSecret() file: src/deploy/extensions/secrets.ts start line: 102 end line: 108 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 1222 unit: projectRoot: detectProjectRoot() file: src/deploy/hosting/deploy.ts start line: 75 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1223 unit: export function empty() file: src/deploy/functions/backend.ts start line: 246 end line: 252 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1224 unit: export async function existingBackend() file: src/deploy/functions/backend.ts start line: 339 end line: 345 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1225 unit: async function pipeAsync() file: src/deploy/functions/prepareFunctionsUpload.ts start line: 50 end line: 56 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1226 unit: constructor() file: src/deploy/functions/release/fabricator.ts start line: 68 end line: 74 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1227 unit: function reduceEventsToServices() file: src/deploy/functions/checkIam.ts start line: 113 end line: 119 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1228 unit: firestore: require() file: src/deploy/index.js start line: 16 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1229 unit: env: getChildEnvironment() file: src/deploy/lifecycleHooks.js start line: 82 end line: 89 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1230 unit: async function pipeAsync() file: src/archiveDirectory.ts start line: 168 end line: 174 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1231 unit: path() file: src/config.ts start line: 170 end line: 176 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1232 unit: writeProjectFile() file: src/config.ts start line: 197 end line: 204 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1233 unit: var deleteAllFunctions = function() file: scripts/test-functions-deploy.js start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1234 unit: function pushServersDownToEachPath() file: scripts/gen-auth-api-spec.ts start line: 301 end line: 306 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1235 unit: export function setProjectAccount() file: src/auth.ts start line: 240 end line: 245 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1236 unit: function getCallbackUrl() file: src/auth.ts start line: 295 end line: 300 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1237 unit: export async function getAccessToken() file: src/auth.ts start line: 670 end line: 676 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1238 unit: export function assertHas() file: src/firestore/validator.ts start line: 7 end line: 12 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1239 unit: export function assertEnum() file: src/firestore/validator.ts start line: 36 end line: 41 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 1240 unit: export async function getOrPromptProject() file: src/management/projects.ts start line: 133 end line: 138 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1241 unit: function splitter() file: src/appdistribution/options-parser-util.ts start line: 45 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1242 unit: projectId: needProjectId() file: src/commands/functions-list.ts start line: 18 end line: 23 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1243 unit: await displayChanges() file: src/commands/ext-update.ts start line: 204 end line: 209 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 1244 unit: function checkValidOptionalNumber() file: src/commands/remoteconfig-get.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1245 unit: function logTargets() file: src/commands/target.ts start line: 12 end line: 17 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 1246 unit: function getGoogleAppID() file: src/commands/crashlytics-symbols-upload.ts start line: 107 end line: 112 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1247 unit: export async function getAuthDomains() file: src/gcp/auth.ts start line: 11 end line: 16 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1248 unit: export async function updateQueue() file: src/gcp/cloudtasks.ts start line: 98 end line: 103 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1249 unit: export async function setIamPolicy() file: src/gcp/cloudtasks.ts start line: 140 end line: 145 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1250 unit: export async function getRole() file: src/gcp/iam.ts start line: 129 end line: 134 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1251 unit: export function deleteObject() file: src/gcp/storage.ts start line: 207 end line: 212 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1252 unit: async function getGitHubUserDetails() file: src/init/features/hosting/github.ts start line: 514 end line: 520 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1253 unit: function encryptServiceAccountJSON() file: src/init/features/hosting/github.ts start line: 627 end line: 636 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1254 unit: DATABASE_INSTANCE: getDBInstanceFromURL() file: src/extensions/extensionsHelper.ts start line: 124 end line: 138 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1255 unit: message: marked() file: src/extensions/askUserForConsent.ts start line: 106 end line: 111 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1256 unit: export function toExtensionVersionRef() file: src/extensions/refs.ts start line: 70 end line: 75 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1257 unit: export function toExtensionVersionName() file: src/extensions/refs.ts start line: 87 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1258 unit: choices: convertExtensionOptionToLabeledList() file: src/extensions/askUserForParam.ts start line: 95 end line: 100 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1259 unit: export function getInquirerDefault() file: src/extensions/askUserForParam.ts start line: 248 end line: 253 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 1260 unit: async function writeEnvFile() file: src/extensions/export.ts start line: 96 end line: 101 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1261 unit: function hasRuntime() file: src/extensions/billingMigrationHelper.ts start line: 40 end line: 45 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 1262 unit: run: cloudRunProxy() file: src/serve/hosting.ts start line: 67 end line: 73 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 1263 unit: export async function updateSite() file: src/hosting/api.ts start line: 442 end line: 447 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1264 unit: export function varNameToIds() file: src/functionsConfig.ts start line: 53 end line: 58 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1265 unit: private assertLocator() file: src/emulator/hubClient.ts start line: 48 end line: 54 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 1266 unit: export function trimSlashes() file: src/emulator/functionsEmulatorUtils.ts start line: 58 end line: 67 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1267 unit: public reset() file: src/emulator/storage/files.ts start line: 134 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1268 unit: for await() file: src/emulator/storage/files.ts start line: 520 end line: 526 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1269 unit: function setObjectHeaders() file: src/emulator/storage/apis/firebase.ts start line: 630 end line: 635 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1270 unit: async stop() file: src/emulator/loggingEmulator.ts start line: 49 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1271 unit: binary: getExecPath() file: src/emulator/downloadableEmulators.ts start line: 167 end line: 172 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1272 unit: async start() file: src/emulator/auth/index.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1273 unit: function tryAddUser() file: src/emulator/auth/operations.ts start line: 253 end line: 258 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1274 unit: function validateCustomClaims() file: src/emulator/auth/operations.ts start line: 2285 end line: 2291 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 1275 unit: function toggleForm() file: src/emulator/auth/widget_ui.ts start line: 330 end line: 335 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1276 unit: onLogs() file: src/emulator/functionsRuntimeWorker.ts start line: 116 end line: 122 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1277 unit: private log() file: src/emulator/functionsRuntimeWorker.ts start line: 149 end line: 154 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1278 unit: export function getFunctionService() file: src/emulator/functionsEmulatorShared.ts start line: 207 end line: 213 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1279 unit: export function getSignatureType() file: src/emulator/functionsEmulatorShared.ts start line: 294 end line: 302 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1280 unit: get date() file: src/emulator/types.ts start line: 189 end line: 194 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1281 unit: function isFeatureEnabled() file: src/emulator/functionsEmulatorRuntime.ts start line: 40 end line: 45 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1282 unit: nodeMajorVersion: parseRuntimeVersion() file: src/emulator/controller.ts start line: 457 end line: 462 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1283 unit: getState() file: src/emulator/workQueue.ts start line: 126 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1284 unit: user: tryParse() file: src/emulator/emulatorLogger.ts start line: 128 end line: 133 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 1285 unit: async start() file: src/emulator/hub.ts start line: 146 end line: 151 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1286 unit: async stop() file: src/emulator/hub.ts start line: 157 end line: 162 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1287 unit: async function autoAuth() file: src/requireAuth.ts start line: 36 end line: 41 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1288 unit: constructor() file: src/database/removeRemote.ts start line: 26 end line: 32 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1289 unit: function addHttpIfRequired() file: src/database/api.ts start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1290 unit: export function value() file: src/deploymentTool.ts start line: 3 end line: 9 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1291 unit: var _escapeComma = function() file: src/accountExporter.js start line: 42 end line: 48 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1292 unit: var _addProviderUserInfo = function() file: src/accountExporter.js start line: 54 end line: 59 size: 6 LOC McCabe index: 4 number of parameters: 3 id: 1293 unit: export function createsSummary() file: src/deploy/extensions/deploymentSummary.ts start line: 27 end line: 32 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1294 unit: export function configuresSummary() file: src/deploy/extensions/deploymentSummary.ts start line: 49 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1295 unit: export function deletesSummary() file: src/deploy/extensions/deploymentSummary.ts start line: 56 end line: 61 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1296 unit: config: convertConfig() file: src/deploy/hosting/prepare.js start line: 41 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1297 unit: export function functionMatchesAnyGroup() file: src/deploy/functions/functionsDeployHelper.ts start line: 3 end line: 8 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1298 unit: export function serviceForEndpoint() file: src/deploy/functions/services/index.ts start line: 53 end line: 59 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1299 unit: async upsertScheduleV1() file: src/deploy/functions/release/fabricator.ts start line: 486 end line: 492 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1300 unit: await promisify() file: src/deploy/functions/runtimes/golang/index.ts start line: 95 end line: 102 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1301 unit: get sdkVersion() file: src/deploy/functions/runtimes/node/index.ts start line: 57 end line: 62 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 1302 unit: async discoverSpec() file: src/deploy/functions/runtimes/node/index.ts start line: 83 end line: 88 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1303 unit: function getHelper() file: src/deploy/functions/containerCleaner.ts start line: 241 end line: 246 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1304 unit: functions: require() file: src/deploy/index.js start line: 17 end line: 23 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1305 unit: var _cloneVariable = function() file: src/functionsConfigClone.js start line: 30 end line: 35 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1306 unit: function numFilters() file: src/checkValidTargetFilters.js start line: 8 end line: 13 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1307 unit: await supertest() file: scripts/storage-emulator-integration/tests.ts start line: 1258 end line: 1262 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1308 unit: function postTest() file: scripts/test-functions-env.js start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1309 unit: var parseFunctionsList = function() file: scripts/test-functions-deploy.js start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1310 unit: var testCreateUpdate = function() file: scripts/test-functions-deploy.js start line: 112 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1311 unit: exec() file: scripts/test-functions-deploy.js start line: 115 end line: 119 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1312 unit: function() file: scripts/test-functions-deploy.js start line: 129 end line: 133 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1313 unit: exec() file: scripts/test-functions-deploy.js start line: 140 end line: 144 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1314 unit: function() file: scripts/test-functions-deploy.js start line: 153 end line: 157 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1315 unit: function SetWindowTitle() file: standalone/firepit.js start line: 975 end line: 983 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1316 unit: function backoff() file: src/throttler/throttler.ts start line: 6 end line: 10 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1317 unit: function open() file: src/auth.ts start line: 262 end line: 266 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1318 unit: function compareArraysSorted() file: src/firestore/indexes-sort.ts start line: 187 end line: 192 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1319 unit: public checkHasChildren() file: src/firestore/delete.ts start line: 532 end line: 536 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1320 unit: constructor() file: src/rulesDeploy.ts start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1321 unit: export function ensureFileExists() file: src/appdistribution/options-parser-util.ts start line: 38 end line: 42 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1322 unit: await promiseWithSpinner() file: src/commands/apps-android-sha-delete.ts start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1323 unit: message: getConfirmationMessage() file: src/commands/functions-deletegcfartifacts.ts start line: 45 end line: 49 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1324 unit: message: getConfirmationMessage() file: src/commands/firestore-delete.ts start line: 106 end line: 110 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1325 unit: export async function createQueue() file: src/gcp/cloudtasks.ts start line: 85 end line: 89 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1326 unit: export function queueNameForEndpoint() file: src/gcp/cloudtasks.ts start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1327 unit: export function deleteServiceAccount() file: src/gcp/iam.ts start line: 116 end line: 120 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1328 unit: export function getJob() file: src/gcp/cloudscheduler.ts start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1329 unit: export function fieldMasks() file: src/gcp/proto.ts start line: 92 end line: 96 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1330 unit: function getDefaultRules() file: src/init/features/firestore/rules.ts start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1331 unit: function mkdirNotExists() file: src/init/features/hosting/github.ts start line: 266 end line: 270 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1332 unit: export function getSecretLabels() file: src/extensions/secretsUtils.ts start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1333 unit: export function getTargetVersion() file: src/extensions/resolveSource.ts start line: 98 end line: 104 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 1334 unit: export async function ask() file: src/extensions/askUserForParam.ts start line: 261 end line: 265 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1335 unit: export async function readExtensionYaml() file: src/extensions/emulator/specHelper.ts start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1336 unit: function getResourceReadableName() file: src/extensions/displayExtensionInfo.ts start line: 256 end line: 260 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1337 unit: private assertServer() file: src/serve/functions.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 1338 unit: function expandErrors() file: src/logger.ts start line: 49 end line: 66 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1339 unit: function annotateDebugLines() file: src/logger.ts start line: 68 end line: 81 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1340 unit: function isReservedNamespace() file: src/functionsConfig.ts start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1341 unit: export async function setVariablesRecursive() file: src/functionsConfig.ts start line: 84 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1342 unit: constructor() file: src/emulator/storage/index.ts start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1343 unit: private path() file: src/emulator/storage/files.ts start line: 484 end line: 489 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1344 unit: function generateMd5Hash() file: src/emulator/storage/metadata.ts start line: 472 end line: 476 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1345 unit: constructor() file: src/emulator/storage/list.ts start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1346 unit: resource: toExpressionValue() file: src/emulator/storage/rules/runtime.ts start line: 284 end line: 289 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1347 unit: timestamp_value: toSerializedDate() file: src/emulator/storage/rules/runtime.ts start line: 337 end line: 342 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1348 unit: static listRunningWithInfo() file: src/emulator/registry.ts start line: 99 end line: 103 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1349 unit: function listOobCodesInProject() file: src/emulator/auth/operations.ts start line: 1770 end line: 1774 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1350 unit: mfaEnrollmentId: newRandomId() file: src/emulator/auth/operations.ts start line: 1879 end line: 1883 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1351 unit: export function assert() file: src/emulator/auth/errors.ts start line: 103 end line: 107 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1352 unit: export async function startEmulator() file: src/emulator/controller.ts start line: 126 end line: 133 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1353 unit: submit() file: src/emulator/workQueue.ts start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1354 unit: static getLocatorFilePath() file: src/emulator/hub.ts start line: 62 end line: 66 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1355 unit: function setCacheAdminSdkConfig() file: src/emulator/adminSdkConfig.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1356 unit: getAccessToken: function() file: src/api.js start line: 249 end line: 254 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 1357 unit: requestFunction = function() file: src/api.js start line: 329 end line: 333 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1358 unit: export function labels() file: src/deploymentTool.ts start line: 11 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1359 unit: ProfileReport.prototype.generateRaw = function() file: src/profileReport.js start line: 585 end line: 589 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1360 unit: export async function deployTemplate() file: src/deploy/remoteconfig/functions.ts start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1361 unit: export function publishTemplate() file: src/deploy/remoteconfig/functions.ts start line: 91 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1362 unit: function readParamsFile() file: src/deploy/extensions/params.ts start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1363 unit: function progressMessage() file: src/deploy/hosting/uploader.ts start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1364 unit: export function isEmptyBackend() file: src/deploy/functions/backend.ts start line: 275 end line: 279 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1365 unit: export function allEndpoints() file: src/deploy/functions/backend.ts start line: 454 end line: 458 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1366 unit: storage: require() file: src/deploy/index.js start line: 18 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1367 unit: function() file: src/deploy/lifecycleHooks.js start line: 89 end line: 93 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1368 unit: function() file: src/deploy/lifecycleHooks.js start line: 152 end line: 156 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1369 unit: function setCachedWebSetup() file: src/fetchWebSetup.ts start line: 45 end line: 49 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1370 unit: export function getCachedWebSetup() file: src/fetchWebSetup.ts start line: 56 end line: 60 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1371 unit: var _applyExcept = function() file: src/functionsConfigClone.js start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1372 unit: export async function promptOnce() file: src/prompt.ts start line: 94 end line: 98 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1373 unit: function userEmailSlug() file: src/defaultCredentials.ts start line: 103 end line: 108 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1374 unit: async function deployAndCompare() file: scripts/test-functions-env.js start line: 66 end line: 69 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1375 unit: var testDelete = function() file: scripts/test-functions-deploy.js start line: 138 end line: 146 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1376 unit: var postTest = function() file: scripts/test-functions-config.js start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1377 unit: function() file: scripts/test-functions-config.js start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1378 unit: function() file: scripts/test-functions-config.js start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1379 unit: function() file: scripts/test-functions-config.js start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1380 unit: constructor() file: src/throttler/queue.ts start line: 6 end line: 9 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1381 unit: constructor() file: src/throttler/stack.ts start line: 7 end line: 10 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1382 unit: private addHelper() file: src/throttler/throttler.ts start line: 209 end line: 212 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1383 unit: export function setRefreshToken() file: src/auth.ts start line: 161 end line: 164 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1384 unit: export async function loginGithub() file: src/auth.ts start line: 530 end line: 533 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1385 unit: export function consoleUrl() file: src/utils.ts start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1386 unit: export function getDatabaseUrl() file: src/utils.ts start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1387 unit: constructor() file: src/rc.ts start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1388 unit: private set() file: src/rc.ts start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1389 unit: private setDeleteBatchSize() file: src/firestore/delete.ts start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1390 unit: function getProjectId() file: src/management/projects.ts start line: 204 end line: 210 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1391 unit: export async function populateInstanceDetails() file: src/management/database.ts start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1392 unit: export async function createAppAndroidSha() file: src/management/apps.ts start line: 391 end line: 394 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1393 unit: export async function getProjectName() file: src/appdistribution/options-parser-util.ts start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1394 unit: function parseProjectId() file: src/commands/hosting-clone.ts start line: 151 end line: 154 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 1395 unit: await createAppAndroidSha() file: src/commands/apps-android-sha-create.ts start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1396 unit: export async function getQueue() file: src/gcp/cloudtasks.ts start line: 92 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1397 unit: export async function getIamPolicy() file: src/gcp/cloudtasks.ts start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1398 unit: export async function getIamPolicy() file: src/gcp/resourceManager.ts start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1399 unit: export async function createTopic() file: src/gcp/pubsub.ts start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1400 unit: export async function getTopic() file: src/gcp/pubsub.ts start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1401 unit: export function createJob() file: src/gcp/cloudscheduler.ts start line: 91 end line: 97 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1402 unit: export async function listSecrets() file: src/gcp/secretManager.ts start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1403 unit: export async function deletePackage() file: src/gcp/artifactregistry.ts start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1404 unit: export async function listFunctions() file: src/gcp/cloudfunctions.ts start line: 443 end line: 446 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1405 unit: await createServiceAccount() file: src/init/features/hosting/github.ts start line: 573 end line: 576 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 1406 unit: export async function ensureSecretManagerApiEnabled() file: src/extensions/secretsUtils.ts start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1407 unit: export function isOfficialSource() file: src/extensions/resolveSource.ts start line: 75 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1408 unit: export async function retrieveRoleInfo() file: src/extensions/askUserForConsent.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1409 unit: export async function getInstance() file: src/extensions/extensionsApi.ts start line: 271 end line: 274 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1410 unit: export function getLocalChangelog() file: src/extensions/changelog.ts start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1411 unit: export function printSourceDownloadLink() file: src/extensions/displayExtensionInfo.ts start line: 265 end line: 268 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1412 unit: hosting: require() file: src/serve/index.ts start line: 12 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1413 unit: async connect() file: src/serve/functions.ts start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1414 unit: async stop() file: src/serve/functions.ts start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1415 unit: export async function ensureApi() file: src/functionsConfig.ts start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1416 unit: private requestURL() file: src/apiv2.ts start line: 292 end line: 295 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1417 unit: function isLocalInsecureRequest() file: src/apiv2.ts start line: 487 end line: 490 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1418 unit: get origin() file: src/emulator/hubClient.ts start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1419 unit: private onData() file: src/emulator/functionsEmulator.ts start line: 1411 end line: 1414 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1420 unit: async stop() file: src/emulator/storage/index.ts start line: 155 end line: 158 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 1421 unit: constructor() file: src/emulator/storage/files.ts start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1422 unit: constructor() file: src/emulator/storage/files.ts start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1423 unit: static fromJSON() file: src/emulator/storage/metadata.ts start line: 234 end line: 237 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1424 unit: constructor() file: src/emulator/storage/list.ts start line: 4 end line: 7 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1425 unit: async verifyWithRuleset() file: src/emulator/storage/rules/runtime.ts start line: 265 end line: 268 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1426 unit: request: createRequestExpressionValue() file: src/emulator/storage/rules/runtime.ts start line: 285 end line: 289 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1427 unit: constructor() file: src/emulator/loggingEmulator.ts start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1428 unit: static isRunning() file: src/emulator/registry.ts start line: 90 end line: 93 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1429 unit: function getExecPath() file: src/emulator/downloadableEmulators.ts start line: 180 end line: 183 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1430 unit: export function getPID() file: src/emulator/downloadableEmulators.ts start line: 378 end line: 381 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 1431 unit: export async function start() file: src/emulator/downloadableEmulators.ts start line: 428 end line: 431 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1432 unit: function importFromFile() file: src/emulator/auth/index.ts start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1433 unit: export function setAccountInfoImpl() file: src/emulator/auth/operations.ts start line: 968 end line: 971 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1434 unit: function deleteAllAccountsInProject() file: src/emulator/auth/operations.ts start line: 1726 end line: 1729 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1435 unit: function getMfaEnrollmentsFromRequest() file: src/emulator/auth/operations.ts start line: 2310 end line: 2313 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1436 unit: function specWithEmulatorServer() file: src/emulator/auth/server.ts start line: 65 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1437 unit: servers: serversWithEmulators() file: src/emulator/auth/server.ts start line: 82 end line: 86 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1438 unit: function getProjectIdByApiKey() file: src/emulator/auth/server.ts start line: 345 end line: 349 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1439 unit: function saveAuthEventToStorage() file: src/emulator/auth/widget_ui.ts start line: 72 end line: 75 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1440 unit: async function flushAndExit() file: src/emulator/functionsEmulatorRuntime.ts start line: 1063 end line: 1066 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1441 unit: async function goIdle() file: src/emulator/functionsEmulatorRuntime.ts start line: 1068 end line: 1071 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1442 unit: private isWorking() file: src/emulator/workQueue.ts start line: 133 end line: 136 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 1443 unit: private static shouldSupress() file: src/emulator/emulatorLogger.ts start line: 292 end line: 295 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1444 unit: private prettyPrintRulesError() file: src/emulator/databaseEmulator.ts start line: 180 end line: 183 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1445 unit: function getCachedAdminSdkConfig() file: src/emulator/adminSdkConfig.ts start line: 80 end line: 83 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1446 unit: constructor() file: src/database/listRemote.ts start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1447 unit: ProfileReport.prototype.collectRead = function() file: src/profileReport.js start line: 195 end line: 198 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1448 unit: ProfileReport.prototype.collectBroadcast = function() file: src/profileReport.js start line: 200 end line: 203 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1449 unit: ProfileReport.prototype.collectWrite = function() file: src/profileReport.js start line: 217 end line: 220 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1450 unit: function() file: src/profileReport.js start line: 382 end line: 385 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1451 unit: function() file: src/profileReport.js start line: 473 end line: 476 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1452 unit: ProfileReport.prototype.writeRaw = function() file: src/profileReport.js start line: 591 end line: 594 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1453 unit: var writeTable = function() file: src/profileReport.js start line: 611 end line: 614 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1454 unit: export async function checkSpecForSecrets() file: src/deploy/extensions/secrets.ts start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1455 unit: function printSuccess() file: src/deploy/extensions/tasks.ts start line: 123 end line: 126 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 1456 unit: export function createDeploymentPlan() file: src/deploy/functions/release/planner.ts start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1457 unit: export async function cleanupBuildImages() file: src/deploy/functions/containerCleaner.ts start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1458 unit: export async function listGcfPaths() file: src/deploy/functions/containerCleaner.ts start line: 257 end line: 260 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1459 unit: export async function deleteGcfArtifacts() file: src/deploy/functions/containerCleaner.ts start line: 320 end line: 323 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1460 unit: remoteconfig: require() file: src/deploy/index.js start line: 19 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1461 unit: set() file: src/config.ts start line: 158 end line: 164 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1462 unit: function _errorOut() file: src/handlePreviewToggles.ts start line: 9 end line: 12 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1463 unit: export async function getDefaultDatabaseInstance() file: src/getDefaultDatabaseInstance.ts start line: 8 end line: 11 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1464 unit: function last() file: scripts/lint-changed-files.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1465 unit: await supertest() file: scripts/storage-emulator-integration/tests.ts start line: 1247 end line: 1249 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1466 unit: await supertest() file: scripts/storage-emulator-integration/tests.ts start line: 1279 end line: 1281 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1467 unit: await runTest() file: scripts/test-functions-env.js start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1468 unit: await runTest() file: scripts/test-functions-env.js start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1469 unit: var getUuid = function() file: scripts/test-functions-deploy.js start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1470 unit: setTimeout() file: scripts/test-functions-deploy.js start line: 174 end line: 176 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1471 unit: function getUrl() file: scripts/tweet.js start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1472 unit: constructor() file: src/throttler/errors/timeout-error.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1473 unit: constructor() file: src/throttler/errors/task-error.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1474 unit: export function timeToWait() file: src/throttler/throttler.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1475 unit: function DEFAULT_HANDLER() file: src/throttler/throttler.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1476 unit: export function getAdditionalAccounts() file: src/auth.ts start line: 122 end line: 124 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 1477 unit: export function findAccountByEmail() file: src/auth.ts start line: 535 end line: 537 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1478 unit: function findAccountByRefreshToken() file: src/auth.ts start line: 598 end line: 600 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1479 unit: export function addSubdomain() file: src/utils.ts start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1480 unit: export function reject() file: src/utils.ts start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1481 unit: export function endpoint() file: src/utils.ts start line: 315 end line: 317 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1482 unit: export function isCloudEnvironment() file: src/utils.ts start line: 544 end line: 546 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1483 unit: export function isRunningInWSL() file: src/utils.ts start line: 552 end line: 554 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1484 unit: export function thirtyDaysFromNow() file: src/utils.ts start line: 559 end line: 561 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1485 unit: private unset() file: src/rc.ts start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1486 unit: get hasProjects() file: src/rc.ts start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1487 unit: get projects() file: src/rc.ts start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1488 unit: function compareQueryScope() file: src/firestore/indexes-sort.ts start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1489 unit: function compareOrder() file: src/firestore/indexes-sort.ts start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1490 unit: function compareArrayConfig() file: src/firestore/indexes-sort.ts start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1491 unit: export function encodeFirestoreValue() file: src/firestore/encodeFirestoreValue.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1492 unit: export async function createFirebaseProjectAndLog() file: src/management/projects.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1493 unit: export async function createCloudProject() file: src/management/projects.ts start line: 254 end line: 256 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1494 unit: export async function createIosApp() file: src/management/apps.ts start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1495 unit: export async function createAndroidApp() file: src/management/apps.ts start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1496 unit: export async function createWebApp() file: src/management/apps.ts start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1497 unit: export function getAppConfigFile() file: src/management/apps.ts start line: 313 end line: 315 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1498 unit: export function reduceFlat() file: src/functional.ts start line: 61 end line: 63 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1499 unit: export function assertExhaustive() file: src/functional.ts start line: 89 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1500 unit: constructor() file: src/command.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1501 unit: function stylizeLink() file: src/commands/emulators-start.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1502 unit: var verifyMessage = function() file: src/commands/use.js start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1503 unit: validate: function() file: src/commands/use.js start line: 137 end line: 139 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1504 unit: certType: getCertHashType() file: src/commands/apps-android-sha-create.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1505 unit: var _isOutside = function() file: src/commands/init.js start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1506 unit: export async function purgeQueue() file: src/gcp/cloudtasks.ts start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1507 unit: export async function deleteQueue() file: src/gcp/cloudtasks.ts start line: 135 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1508 unit: name: queueNameForEndpoint() file: src/gcp/cloudtasks.ts start line: 214 end line: 216 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1509 unit: export async function deleteTopic() file: src/gcp/pubsub.ts start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1510 unit: export function getRulesetId() file: src/gcp/rules.ts start line: 170 end line: 173 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1511 unit: export function deleteJob() file: src/gcp/cloudscheduler.ts start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1512 unit: export function updateJob() file: src/gcp/cloudscheduler.ts start line: 124 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1513 unit: export async function deleteDocument() file: src/gcp/firestore.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1514 unit: export async function listAllFunctions() file: src/gcp/cloudfunctionsv2.ts start line: 298 end line: 300 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1515 unit: function isErrors() file: src/gcp/docker.ts start line: 74 end line: 77 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1516 unit: export function toSecretVersionResourceName() file: src/gcp/secretManager.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1517 unit: export async function listAllFunctions() file: src/gcp/cloudfunctions.ts start line: 452 end line: 455 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1518 unit: export function secondsFromDuration() file: src/gcp/proto.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1519 unit: export function durationFromSeconds() file: src/gcp/proto.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1520 unit: function loadYML() file: src/init/features/hosting/github.ts start line: 262 end line: 264 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1521 unit: async function signInWithGitHub() file: src/init/features/hosting/github.ts start line: 533 end line: 535 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1522 unit: await deleteServiceAccount() file: src/init/features/hosting/github.ts start line: 557 end line: 559 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1523 unit: export function usesSecrets() file: src/extensions/secretsUtils.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1524 unit: export function getMinRequiredVersion() file: src/extensions/resolveSource.ts start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1525 unit: export function isUrlPath() file: src/extensions/extensionsHelper.ts start line: 690 end line: 692 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1526 unit: export function isLocalOrURLPath() file: src/extensions/extensionsHelper.ts start line: 705 end line: 707 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1527 unit: export function toExtensionRef() file: src/extensions/refs.ts start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1528 unit: export function toExtensionName() file: src/extensions/refs.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1529 unit: function setNewDefaults() file: src/extensions/paramHelper.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1530 unit: function getTriggerType() file: src/extensions/provisioningHelper.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1531 unit: function buildConfig() file: src/extensions/emulator/optionsHelper.ts start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1532 unit: function shouldEmulateFunctions() file: src/extensions/emulator/optionsHelper.ts start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1533 unit: function shouldEmulateFirestore() file: src/extensions/emulator/optionsHelper.ts start line: 199 end line: 201 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1534 unit: function shouldEmulateDatabase() file: src/extensions/emulator/optionsHelper.ts start line: 203 end line: 205 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1535 unit: function shouldEmulatePubsub() file: src/extensions/emulator/optionsHelper.ts start line: 207 end line: 209 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1536 unit: function shouldEmulateStorage() file: src/extensions/emulator/optionsHelper.ts start line: 211 end line: 213 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1537 unit: export function getFunctionResourcesWithParamSubstitution() file: src/extensions/emulator/specHelper.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1538 unit: export function getFunctionProperties() file: src/extensions/emulator/specHelper.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1539 unit: export function consoleInstallLink() file: src/extensions/publishHelpers.ts start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1540 unit: function compareResources() file: src/extensions/displayExtensionInfo.ts start line: 252 end line: 254 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1541 unit: export function stop() file: src/serve/hosting.ts start line: 112 end line: 114 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 1542 unit: export async function connect() file: src/serve/hosting.ts start line: 135 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1543 unit: export function normalizeName() file: src/hosting/api.ts start line: 192 end line: 195 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1544 unit: export async function deleteSite() file: src/hosting/api.ts start line: 455 end line: 457 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1545 unit: export function normalizedHostingConfigs() file: src/hosting/normalizedHostingConfigs.ts start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1546 unit: export function idsToVarName() file: src/functionsConfig.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1547 unit: export function setRefreshToken() file: src/apiv2.ts start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1548 unit: export function setAccessToken() file: src/apiv2.ts start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1549 unit: function isStream() file: src/apiv2.ts start line: 505 end line: 507 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1550 unit: constructor() file: src/emulator/hubClient.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1551 unit: export function removePathSegments() file: src/emulator/functionsEmulatorUtils.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1552 unit: setTriggersForTesting() file: src/emulator/functionsEmulator.ts start line: 815 end line: 817 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1553 unit: get storageLayer() file: src/emulator/storage/index.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1554 unit: get rules() file: src/emulator/storage/index.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1555 unit: get logger() file: src/emulator/storage/index.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1556 unit: public get metadata() file: src/emulator/storage/files.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1557 unit: public set metadata() file: src/emulator/storage/files.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1558 unit: public get path() file: src/emulator/storage/files.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1559 unit: public set path() file: src/emulator/storage/files.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1560 unit: public get uploadId() file: src/emulator/storage/files.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1561 unit: public get metadata() file: src/emulator/storage/files.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1562 unit: public get bucketId() file: src/emulator/storage/files.ts start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1563 unit: public get objectId() file: src/emulator/storage/files.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1564 unit: public get contentType() file: src/emulator/storage/files.ts start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1565 unit: public set contentType() file: src/emulator/storage/files.ts start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1566 unit: public get currentBytesUploaded() file: src/emulator/storage/files.ts start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1567 unit: public set currentBytesUploaded() file: src/emulator/storage/files.ts start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1568 unit: public set status() file: src/emulator/storage/files.ts start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1569 unit: public get status() file: src/emulator/storage/files.ts start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1570 unit: public get fileLocation() file: src/emulator/storage/files.ts start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1571 unit: public() file: src/emulator/storage/files.ts start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1572 unit: public queryUpload() file: src/emulator/storage/files.ts start line: 201 end line: 203 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1573 unit: public async deleteAll() file: src/emulator/storage/files.ts start line: 251 end line: 253 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1574 unit: public get dirPath() file: src/emulator/storage/files.ts start line: 491 end line: 493 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1575 unit: public get dirPath() file: src/emulator/storage/files.ts start line: 603 end line: 605 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1576 unit: async verify() file: src/emulator/storage/rules/runtime.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1577 unit: unload() file: src/emulator/storage/rules/runtime.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1578 unit: static fromResponse() file: src/emulator/storage/rules/runtime.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1579 unit: get all() file: src/emulator/storage/rules/runtime.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1580 unit: get alive() file: src/emulator/storage/rules/runtime.ts start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1581 unit: stop() file: src/emulator/storage/rules/runtime.ts start line: 201 end line: 203 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1582 unit: static getDefaultHost() file: src/emulator/constants.ts start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1583 unit: static getDefaultPort() file: src/emulator/constants.ts start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1584 unit: static description() file: src/emulator/constants.ts start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1585 unit: static isDemoProject() file: src/emulator/constants.ts start line: 132 end line: 134 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1586 unit: static listRunning() file: src/emulator/registry.ts start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1587 unit: static get() file: src/emulator/registry.ts start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1588 unit: private static set() file: src/emulator/registry.ts start line: 140 end line: 142 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1589 unit: private static clear() file: src/emulator/registry.ts start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1590 unit: export function getLogFileName() file: src/emulator/downloadableEmulators.ts start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1591 unit: export function _getCommand() file: src/emulator/downloadableEmulators.ts start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1592 unit: await _fatal() file: src/emulator/downloadableEmulators.ts start line: 275 end line: 277 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1593 unit: export function getDownloadDetails() file: src/emulator/downloadableEmulators.ts start line: 363 end line: 365 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1594 unit: export function get() file: src/emulator/downloadableEmulators.ts start line: 370 end line: 372 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1595 unit: export function isValidEmailAddress() file: src/emulator/auth/utils.ts start line: 23 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1596 unit: export function isValidPhoneNumber() file: src/emulator/auth/utils.ts start line: 47 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1597 unit: export function canonicalizeEmailAddress() file: src/emulator/auth/utils.ts start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1598 unit: export function toUnixTimestamp() file: src/emulator/auth/utils.ts start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1599 unit: function redactPasswordHash() file: src/emulator/auth/operations.ts start line: 2032 end line: 2038 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1600 unit: function hashPassword() file: src/emulator/auth/operations.ts start line: 2040 end line: 2045 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1601 unit: function handleIdpSignUp() file: src/emulator/auth/operations.ts start line: 2587 end line: 2589 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1602 unit: get projectNumber() file: src/emulator/auth/state.ts start line: 36 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1603 unit: constructor() file: src/emulator/auth/state.ts start line: 590 end line: 592 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1604 unit: get authCloudFunction() file: src/emulator/auth/state.ts start line: 594 end line: 596 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1605 unit: get oneAccountPerEmail() file: src/emulator/auth/state.ts start line: 598 end line: 600 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1606 unit: set oneAccountPerEmail() file: src/emulator/auth/state.ts start line: 602 end line: 604 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1607 unit: get usageMode() file: src/emulator/auth/state.ts start line: 606 end line: 608 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1608 unit: set usageMode() file: src/emulator/auth/state.ts start line: 610 end line: 612 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1609 unit: get allowPasswordSignup() file: src/emulator/auth/state.ts start line: 614 end line: 616 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1610 unit: get disableAuth() file: src/emulator/auth/state.ts start line: 618 end line: 620 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1611 unit: get mfaConfig() file: src/emulator/auth/state.ts start line: 622 end line: 624 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1612 unit: get enableAnonymousUser() file: src/emulator/auth/state.ts start line: 626 end line: 628 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1613 unit: get enableEmailLinkSignin() file: src/emulator/auth/state.ts start line: 630 end line: 632 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1614 unit: get oneAccountPerEmail() file: src/emulator/auth/state.ts start line: 714 end line: 716 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1615 unit: get authCloudFunction() file: src/emulator/auth/state.ts start line: 718 end line: 720 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1616 unit: get usageMode() file: src/emulator/auth/state.ts start line: 722 end line: 724 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1617 unit: get tenantConfig() file: src/emulator/auth/state.ts start line: 726 end line: 728 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1618 unit: get allowPasswordSignup() file: src/emulator/auth/state.ts start line: 730 end line: 732 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1619 unit: get disableAuth() file: src/emulator/auth/state.ts start line: 734 end line: 736 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1620 unit: get mfaConfig() file: src/emulator/auth/state.ts start line: 738 end line: 740 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1621 unit: get enableAnonymousUser() file: src/emulator/auth/state.ts start line: 742 end line: 744 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1622 unit: get enableEmailLinkSignin() file: src/emulator/auth/state.ts start line: 746 end line: 748 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1623 unit: uint64() file: src/emulator/auth/server.ts start line: 266 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1624 unit: uint32() file: src/emulator/auth/server.ts start line: 270 end line: 273 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1625 unit: byte() file: src/emulator/auth/server.ts start line: 274 end line: 279 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1626 unit: constructor() file: src/emulator/auth/errors.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1627 unit: constructor() file: src/emulator/auth/errors.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1628 unit: constructor() file: src/emulator/auth/errors.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1629 unit: constructor() file: src/emulator/auth/errors.ts start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1630 unit: constructor() file: src/emulator/auth/errors.ts start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1631 unit: sendAuthEventViaIframeRelay() file: src/emulator/auth/widget_ui.ts start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1632 unit: function emailErrorMessage() file: src/emulator/auth/widget_ui.ts start line: 322 end line: 324 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1633 unit: function capitalize() file: src/emulator/auth/widget_ui.ts start line: 326 end line: 328 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1634 unit: window.gapi_onload = function() file: src/emulator/auth/handlers.ts start line: 283 end line: 291 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1635 unit: ontimeout: function() file: src/emulator/auth/handlers.ts start line: 287 end line: 289 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1636 unit: get state() file: src/emulator/functionsRuntimeWorker.ts start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1637 unit: private setTriggerWorkers() file: src/emulator/functionsRuntimeWorker.ts start line: 282 end line: 284 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1638 unit: private log() file: src/emulator/functionsRuntimeWorker.ts start line: 302 end line: 304 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1639 unit: get memoryLimitBytes() file: src/emulator/functionsEmulatorShared.ts start line: 116 end line: 118 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 1640 unit: export function isDownloadableEmulator() file: src/emulator/types.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1641 unit: export function isEmulator() file: src/emulator/types.ts start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1642 unit: private bufferMessage() file: src/emulator/types.ts start line: 296 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1643 unit: function noOp() file: src/emulator/functionsEmulatorRuntime.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1644 unit: static applyOriginal() file: src/emulator/functionsEmulatorRuntime.ts start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1645 unit: private static isConstructor() file: src/emulator/functionsEmulatorRuntime.ts start line: 132 end line: 134 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1646 unit: private static isExists() file: src/emulator/functionsEmulatorRuntime.ts start line: 136 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1647 unit: function getDefaultConfig() file: src/emulator/functionsEmulatorRuntime.ts start line: 522 end line: 524 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 1648 unit: function rawBodySaver() file: src/emulator/functionsEmulatorRuntime.ts start line: 758 end line: 760 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1649 unit: async function runBackground() file: src/emulator/functionsEmulatorRuntime.ts start line: 881 end line: 887 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1650 unit: await runFunction() file: src/emulator/functionsEmulatorRuntime.ts start line: 884 end line: 886 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1651 unit: async function runCloudEvent() file: src/emulator/functionsEmulatorRuntime.ts start line: 889 end line: 895 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1652 unit: await runFunction() file: src/emulator/functionsEmulatorRuntime.ts start line: 892 end line: 894 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1653 unit: await runFunction() file: src/emulator/functionsEmulatorRuntime.ts start line: 905 end line: 907 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1654 unit: function logDebug() file: src/emulator/functionsEmulatorRuntime.ts start line: 940 end line: 942 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1655 unit: export async function onExit() file: src/emulator/controller.ts start line: 159 end line: 161 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1656 unit: async start() file: src/emulator/pubsubEmulator.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1657 unit: async stop() file: src/emulator/pubsubEmulator.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1658 unit: constructor() file: src/emulator/hubExport.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1659 unit: function shouldExport() file: src/emulator/hubExport.ts start line: 266 end line: 268 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1660 unit: async connect() file: src/emulator/emulatorServer.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1661 unit: async stop() file: src/emulator/emulatorServer.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1662 unit: static isEvent() file: src/emulator/events/types.ts start line: 97 end line: 99 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1663 unit: static isLegacyEvent() file: src/emulator/events/types.ts start line: 101 end line: 103 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1664 unit: stop() file: src/emulator/workQueue.ts start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1665 unit: private logState() file: src/emulator/workQueue.ts start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1666 unit: export function isRestricted() file: src/emulator/portUtils.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1667 unit: setRefreshToken: function() file: src/api.js start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1668 unit: setAccessToken: function() file: src/api.js start line: 230 end line: 232 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1669 unit: getScopes: function() file: src/api.js start line: 233 end line: 235 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1670 unit: var requestFunction = function() file: src/api.js start line: 324 end line: 326 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1671 unit: constructor() file: src/functions/env.ts start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1672 unit: export function generateDotenvFilename() file: src/functions/runtimeConfigExport.ts start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1673 unit: LocalFunction.prototype._isDatabaseFunc = function() file: src/localFunction.js start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1674 unit: LocalFunction.prototype._isFirestoreFunc = function() file: src/localFunction.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1675 unit: export function realtimeOriginOrCustomUrl() file: src/database/api.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1676 unit: async execute() file: src/database/remove.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1677 unit: var _toWebSafeBase64 = function() file: src/accountImporter.js start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1678 unit: export function isFirebaseManaged() file: src/deploymentTool.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1679 unit: ProfileReport.pathString = function() file: src/profileReport.js start line: 68 end line: 70 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1680 unit: ProfileReport.prototype.collectUnlisten = function() file: src/profileReport.js start line: 205 end line: 207 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1681 unit: ProfileReport.prototype.collectConnect = function() file: src/profileReport.js start line: 209 end line: 211 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1682 unit: ProfileReport.prototype.collectDisconnect = function() file: src/profileReport.js start line: 213 end line: 215 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1683 unit: ProfileReport.prototype.renderOutgoingBandwidth = function() file: src/profileReport.js start line: 401 end line: 403 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1684 unit: ProfileReport.prototype.renderIncomingBandwidth = function() file: src/profileReport.js start line: 405 end line: 407 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1685 unit: ProfileReport.prototype.renderReadSpeed = function() file: src/profileReport.js start line: 497 end line: 499 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1686 unit: ProfileReport.prototype.renderWriteSpeed = function() file: src/profileReport.js start line: 501 end line: 503 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1687 unit: ProfileReport.prototype.renderBroadcastSpeed = function() file: src/profileReport.js start line: 505 end line: 507 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1688 unit: ProfileReport.prototype.renderConnectSpeed = function() file: src/profileReport.js start line: 509 end line: 511 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1689 unit: ProfileReport.prototype.renderDisconnectSpeed = function() file: src/profileReport.js start line: 513 end line: 515 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1690 unit: ProfileReport.prototype.renderUnlistenSpeed = function() file: src/profileReport.js start line: 517 end line: 519 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1691 unit: ProfileReport.prototype.generateText = function() file: src/profileReport.js start line: 596 end line: 598 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1692 unit: var _convertToNormalBase64 = function() file: src/accountExporter.js start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1693 unit: export default async function() file: src/deploy/firestore/deploy.ts start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1694 unit: function cachePath() file: src/deploy/hosting/hashcache.js start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1695 unit: async wait() file: src/deploy/hosting/uploader.ts start line: 145 end line: 147 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1696 unit: function has() file: src/deploy/hosting/convertConfig.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1697 unit: export function isHttpsTriggered() file: src/deploy/functions/backend.ts start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1698 unit: export function isEventTriggered() file: src/deploy/functions/backend.ts start line: 193 end line: 195 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1699 unit: export function isScheduleTriggered() file: src/deploy/functions/backend.ts start line: 198 end line: 200 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1700 unit: export function isTaskQueueTriggered() file: src/deploy/functions/backend.ts start line: 203 end line: 205 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1701 unit: export function functionName() file: src/deploy/functions/backend.ts start line: 297 end line: 299 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1702 unit: export function scheduleIdForFunction() file: src/deploy/functions/backend.ts start line: 311 end line: 313 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1703 unit: export function regionalEndpoints() file: src/deploy/functions/backend.ts start line: 492 end line: 494 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1704 unit: function isPermissionError() file: src/deploy/functions/ensureCloudBuildEnabled.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1705 unit: export function getFunctionLabel() file: src/deploy/functions/functionsDeployHelper.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1706 unit: function hasUserConfig() file: src/deploy/functions/prepare.ts start line: 26 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1707 unit: function hasDotenv() file: src/deploy/functions/prepare.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1708 unit: constructor() file: src/deploy/functions/release/sourceTokenScraper.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1709 unit: constructor() file: src/deploy/functions/release/executor.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1710 unit: constructor() file: src/deploy/functions/release/reporter.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1711 unit: constructor() file: src/deploy/functions/release/timer.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1712 unit: export function isDeprecatedRuntime() file: src/deploy/functions/runtimes/index.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1713 unit: export function isValidRuntime() file: src/deploy/functions/runtimes/index.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1714 unit: export function getHumanFriendlyRuntimeName() file: src/deploy/functions/runtimes/index.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1715 unit: var EXIT = function() file: src/deploy/functions/runtimes/node/triggerParser.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1716 unit: function removeInspectOptions() file: src/deploy/functions/runtimes/node/parseTriggers.ts start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1717 unit: export function useStrategy() file: src/deploy/functions/runtimes/node/parseTriggers.ts start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1718 unit: constructor() file: src/deploy/functions/containerCleaner.ts start line: 365 end line: 367 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1719 unit: extensions: require() file: src/deploy/index.js start line: 20 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1720 unit: var _noop = function() file: src/deploy/index.js start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1721 unit: function() file: src/functionsConfigClone.js start line: 17 end line: 19 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 1722 unit: export async function archiveDirectory() file: src/archiveDirectory.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1723 unit: get src() file: src/config.ts start line: 148 end line: 152 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1724 unit: get() file: src/config.ts start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1725 unit: has() file: src/config.ts start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1726 unit: function targetContainsFilter() file: src/checkValidTargetFilters.js start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1727 unit: function targetDoesNotContainFilter() file: src/checkValidTargetFilters.js start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1728 unit: export function pollOperation() file: src/operation-poller.ts start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1729 unit: await supertest() file: scripts/storage-emulator-integration/tests.ts start line: 458 end line: 459 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1730 unit: await supertest() file: scripts/storage-emulator-integration/tests.ts start line: 1302 end line: 1303 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1731 unit: async deploy() file: src/firestore/indexes.ts start line: 23 end line: 24 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1732 unit: function applyStringOpts() file: src/commands/database-get.ts start line: 25 end line: 26 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1733 unit: export async function getSecret() file: src/gcp/secretManager.ts start line: 27 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 1734 unit: export async function uploadObject() file: src/gcp/storage.ts start line: 176 end line: 178 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1735 unit: await getDBRules() file: src/init/features/database.ts start line: 190 end line: 191 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 1736 unit: async connect() file: src/emulator/storage/index.ts start line: 151 end line: 153 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1737 unit: resource: toExpressionValue() file: src/emulator/storage/rules/runtime.ts start line: 410 end line: 411 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 1738 unit: timestamp: toSerializedDate() file: src/emulator/storage/cloudFunctions.ts start line: 91 end line: 92 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1739 unit: async connect() file: src/emulator/auth/index.ts start line: 29 end line: 31 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1740 unit: private notifyQueue:() file: src/emulator/workQueue.ts start line: 27 end line: 29 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1741 unit: private notifyWorkFinish:() file: src/emulator/workQueue.ts start line: 30 end line: 32 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1742 unit: async connect() file: src/emulator/hub.ts start line: 153 end line: 155 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1743 unit: export function resolveProjectPath() file: src/projectPath.ts start line: 11 end line: 12 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1744 unit: export async function deploy() file: src/deploy/hosting/deploy.ts start line: 16 end line: 17 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1745 unit: export function compareFunctions() file: src/deploy/functions/backend.ts start line: 516 end line: 517 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1746 unit: export async function promptForFunctionDeletion() file: src/deploy/functions/prompts.ts start line: 76 end line: 77 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1747 unit: async build() file: src/deploy/functions/runtimes/node/index.ts start line: 73 end line: 76 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1748 unit: tsconfigJSON: await requireAsync() file: src/emulator/functionsEmulatorRuntime.ts start line: 920 end line: 920 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1749 unit: packageJSON: await requireAsync() file: src/emulator/functionsEmulatorRuntime.ts start line: 921 end line: 921 size: 1 LOC McCabe index: 1 number of parameters: 2