id: 1 unit: async getInstanceMetadata() file: src/sqladmin-fetcher.ts start line: 183 end line: 255 size: 63 LOC McCabe index: 12 number of parameters: 4 id: 2 unit: instanceInfo: await resolveInstanceName() file: src/cloud-sql-instance.ts start line: 74 end line: 125 size: 44 LOC McCabe index: 6 number of parameters: 2 id: 3 unit: stream() file: src/connector.ts start line: 226 end line: 272 size: 43 LOC McCabe index: 8 number of parameters: 0 id: 4 unit: private parseIpAddresses() file: src/sqladmin-fetcher.ts start line: 132 end line: 181 size: 40 LOC McCabe index: 18 number of parameters: 4 id: 5 unit: private async performRefresh() file: src/cloud-sql-instance.ts start line: 253 end line: 297 size: 34 LOC McCabe index: 4 number of parameters: 0 id: 6 unit: async startLocalProxy() file: src/connector.ts start line: 316 end line: 354 size: 30 LOC McCabe index: 1 number of parameters: 5 id: 7 unit: export function getSocket() file: src/socket.ts start line: 119 end line: 152 size: 30 LOC McCabe index: 1 number of parameters: 9 id: 8 unit: async loadInstance() file: src/connector.ts start line: 126 end line: 165 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 9 unit: export async function resolveTxtRecord() file: src/dns-lookup.ts start line: 18 end line: 50 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: export function validateCertificate() file: src/socket.ts start line: 70 end line: 97 size: 26 LOC McCabe index: 5 number of parameters: 3 id: 11 unit: export function parseInstanceConnectionName() file: src/parse-instance-connection-name.ts start line: 95 end line: 122 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 12 unit: export async function resolveInstanceName() file: src/parse-instance-connection-name.ts start line: 31 end line: 55 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 13 unit: export async function parseCert() file: src/crypto.ts start line: 43 end line: 65 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: async function fixupImportFileExtensions() file: scripts/fixup.cjs start line: 36 end line: 59 size: 21 LOC McCabe index: 6 number of parameters: 0 id: 15 unit: async getTediousOptions() file: src/connector.ts start line: 276 end line: 300 size: 20 LOC McCabe index: 2 number of parameters: 4 id: 16 unit: function checkCn() file: src/socket.ts start line: 99 end line: 117 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: export async function generateKeys() file: src/crypto.ts start line: 21 end line: 41 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: export function selectIpAddress() file: src/ip-addresses.ts start line: 59 end line: 76 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 19 unit: export async function resolveDomainName() file: src/parse-instance-connection-name.ts start line: 75 end line: 93 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: user: String() file: system-test/mysql2-connect.ts start line: 36 end line: 52 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 21 unit: user: String() file: system-test/mysql2-connect.ts start line: 79 end line: 95 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: async function updateVersion() file: scripts/fixup.cjs start line: 61 end line: 75 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: static async getCloudSQLInstance() file: src/cloud-sql-instance.ts start line: 69 end line: 81 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: password: String() file: system-test/mysql2-connect.ts start line: 37 end line: 52 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: password: String() file: system-test/mysql2-connect.ts start line: 80 end line: 95 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: userName: String() file: system-test/tedious-connect.ts start line: 30 end line: 43 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: function setupGaxiosConfig() file: src/sqladmin-fetcher.ts start line: 53 end line: 72 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: export async function cryptoModule() file: src/node-crypto.ts start line: 18 end line: 32 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 29 unit: async checkDomainChanged() file: src/cloud-sql-instance.ts start line: 364 end line: 377 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 30 unit: database: String() file: system-test/mysql2-connect.ts start line: 38 end line: 52 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: user: String() file: system-test/mysql2-connect.ts start line: 59 end line: 73 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: database: String() file: system-test/mysql2-connect.ts start line: 81 end line: 95 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: constructor() file: src/connector.ts start line: 198 end line: 208 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: private async initializeRateLimiter() file: src/cloud-sql-instance.ts start line: 124 end line: 134 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 35 unit: private isValid() file: src/cloud-sql-instance.ts start line: 299 end line: 309 size: 11 LOC McCabe index: 5 number of parameters: 5 id: 36 unit: export function isSameInstance() file: src/parse-instance-connection-name.ts start line: 19 end line: 29 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 37 unit: database: String() file: system-test/mysql2-connect.ts start line: 60 end line: 73 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: private cacheKey() file: src/connector.ts start line: 111 end line: 124 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: addSocket() file: src/cloud-sql-instance.ts start line: 378 end line: 390 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: constructor() file: src/errors.ts start line: 27 end line: 35 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 41 unit: private updateValues() file: src/cloud-sql-instance.ts start line: 311 end line: 318 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: password: String() file: system-test/tedious-connect.ts start line: 31 end line: 43 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: constructor() file: src/connector.ts start line: 86 end line: 91 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: async getOptions() file: src/connector.ts start line: 221 end line: 274 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: private scheduleRefresh() file: src/cloud-sql-instance.ts start line: 320 end line: 325 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: instanceConnectionName: String() file: system-test/pg-connect.cjs start line: 114 end line: 119 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: instanceConnectionName: String() file: system-test/pg-connect.ts start line: 118 end line: 123 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: async function main() file: scripts/fixup.cjs start line: 77 end line: 81 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: instanceConnectionName: String() file: system-test/mysql2-connect.ts start line: 53 end line: 57 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: instanceConnectionName: String() file: system-test/mysql2-connect.ts start line: 96 end line: 100 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: user: String() file: system-test/pg-connect.cjs start line: 121 end line: 125 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: user: String() file: system-test/pg-connect.cjs start line: 152 end line: 156 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: user: String() file: system-test/pg-connect.cjs start line: 183 end line: 187 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: user: String() file: system-test/pg-connect.ts start line: 32 end line: 36 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: instanceConnectionName: String() file: system-test/pg-connect.ts start line: 56 end line: 60 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: user: String() file: system-test/pg-connect.ts start line: 91 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: user: String() file: system-test/pg-connect.ts start line: 125 end line: 129 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: user: String() file: system-test/pg-connect.ts start line: 156 end line: 160 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: user: String() file: system-test/pg-connect.ts start line: 187 end line: 191 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: user: String() file: system-test/pg-connect.ts start line: 221 end line: 225 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: database: String() file: system-test/tedious-connect.ts start line: 37 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: async function addModuleSystemTypeFile() file: scripts/fixup.cjs start line: 24 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: constructor() file: src/connector.ts start line: 106 end line: 109 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: export function isValidDomainName() file: src/parse-instance-connection-name.ts start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: export function isInstanceConnectionName() file: src/parse-instance-connection-name.ts start line: 70 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: instanceConnectionName: String() file: system-test/mysql2-connect.ts start line: 31 end line: 34 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: instanceConnectionName: String() file: system-test/mysql2-connect.ts start line: 74 end line: 77 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: instanceConnectionName: String() file: system-test/pg-connect.cjs start line: 82 end line: 85 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: password: String() file: system-test/pg-connect.cjs start line: 122 end line: 125 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: domainName: String() file: system-test/pg-connect.cjs start line: 147 end line: 150 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: password: String() file: system-test/pg-connect.cjs start line: 153 end line: 156 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: domainName: String() file: system-test/pg-connect.cjs start line: 178 end line: 181 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: password: String() file: system-test/pg-connect.cjs start line: 184 end line: 187 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: instanceConnectionName: String() file: system-test/pg-connect.ts start line: 27 end line: 30 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: password: String() file: system-test/pg-connect.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: user: String() file: system-test/pg-connect.ts start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: instanceConnectionName: String() file: system-test/pg-connect.ts start line: 86 end line: 89 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: password: String() file: system-test/pg-connect.ts start line: 92 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: password: String() file: system-test/pg-connect.ts start line: 126 end line: 129 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: domainName: String() file: system-test/pg-connect.ts start line: 151 end line: 154 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: password: String() file: system-test/pg-connect.ts start line: 157 end line: 160 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: domainName: String() file: system-test/pg-connect.ts start line: 182 end line: 185 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: password: String() file: system-test/pg-connect.ts start line: 188 end line: 191 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: instanceConnectionName: String() file: system-test/pg-connect.ts start line: 216 end line: 219 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: password: String() file: system-test/pg-connect.ts start line: 222 end line: 225 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: instanceConnectionName: String() file: system-test/tedious-connect.ts start line: 22 end line: 25 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: await writeFile() file: scripts/fixup.cjs start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: await writeFile() file: scripts/fixup.cjs start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: async connector() file: src/connector.ts start line: 293 end line: 295 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: function cleanGaxiosConfig() file: src/sqladmin-fetcher.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: database: String() file: system-test/pg-connect.cjs start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: database: String() file: system-test/pg-connect.cjs start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: database: String() file: system-test/pg-connect.cjs start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: database: String() file: system-test/pg-connect.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: database: String() file: system-test/pg-connect.ts start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: database: String() file: system-test/pg-connect.ts start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: database: String() file: system-test/pg-connect.ts start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: database: String() file: system-test/pg-connect.ts start line: 158 end line: 160 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: database: String() file: system-test/pg-connect.ts start line: 189 end line: 191 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: database: String() file: system-test/pg-connect.ts start line: 223 end line: 225 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: async getEphemeralCertificate() file: src/sqladmin-fetcher.ts start line: 257 end line: 258 size: 2 LOC McCabe index: 1 number of parameters: 0