id: 1 unit: func run() file: cmd/cloudshell_open/main.go start line: 125 end line: 478 size: 292 LOC McCabe index: 58 number of parameters: 1 id: 2 unit: func showRedirectForm() file: cmd/redirector/main.go start line: 103 end line: 145 size: 43 LOC McCabe index: 1 number of parameters: 2 id: 3 unit: func enableAPIs() file: cmd/cloudshell_open/api.go start line: 24 end line: 70 size: 43 LOC McCabe index: 12 number of parameters: 2 id: 4 unit: func deploy() file: cmd/cloudshell_open/deploy.go start line: 27 end line: 73 size: 40 LOC McCabe index: 12 number of parameters: 6 id: 5 unit: func newService() file: cmd/cloudshell_open/deploy.go start line: 101 end line: 143 size: 40 LOC McCabe index: 2 number of parameters: 5 id: 6 unit: func redirect() file: cmd/redirector/main.go start line: 55 end line: 94 size: 36 LOC McCabe index: 9 number of parameters: 2 id: 7 unit: func createArtifactRegistry() file: cmd/cloudshell_open/artifactregistry.go start line: 29 end line: 74 size: 34 LOC McCabe index: 6 number of parameters: 3 id: 8 unit: func prepURL() file: cmd/redirector/referer.go start line: 29 end line: 68 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 9 unit: func optionsToFlags() file: cmd/cloudshell_open/main.go start line: 480 end line: 518 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 10 unit: func promptInstrumentless() file: cmd/cloudshell_open/main.go start line: 617 end line: 651 size: 26 LOC McCabe index: 6 number of parameters: 0 id: 11 unit: func allowUnauthenticated() file: cmd/cloudshell_open/deploy.go start line: 238 end line: 265 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 12 unit: func GetCoupon() file: cmd/instrumentless/instrumentless.go start line: 28 end line: 58 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 13 unit: func waitCredsAvailable() file: cmd/cloudshell_open/main.go start line: 523 end line: 547 size: 24 LOC McCabe index: 8 number of parameters: 2 id: 14 unit: func extractGitHubURL() file: cmd/redirector/github.go start line: 27 end line: 49 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: func waitReady() file: cmd/cloudshell_open/deploy.go start line: 213 end line: 234 size: 21 LOC McCabe index: 7 number of parameters: 3 id: 16 unit: func tryFixServiceName() file: cmd/cloudshell_open/cloudrun.go start line: 121 end line: 149 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: func signalRepoCloneStatus() file: cmd/cloudshell_open/clone.go start line: 85 end line: 105 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: func parseAppFile() file: cmd/cloudshell_open/appfile.go start line: 103 end line: 127 size: 21 LOC McCabe index: 7 number of parameters: 1 id: 19 unit: func promptEnv() file: cmd/cloudshell_open/appfile.go start line: 247 end line: 270 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 20 unit: func getAppFile() file: cmd/cloudshell_open/appfile.go start line: 131 end line: 150 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 21 unit: func promptOrGenerateEnvs() file: cmd/cloudshell_open/appfile.go start line: 172 end line: 195 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func listProjects() file: cmd/cloudshell_open/project.go start line: 37 end line: 55 size: 19 LOC McCabe index: 5 number of parameters: 0 id: 23 unit: func main() file: cmd/redirector/main.go start line: 17 end line: 37 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 24 unit: func projectRunLocations() file: cmd/cloudshell_open/cloudrun.go start line: 35 end line: 53 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 25 unit: func promptDeploymentRegion() file: cmd/cloudshell_open/cloudrun.go start line: 55 end line: 73 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 26 unit: func billingAccounts() file: cmd/cloudshell_open/billing.go start line: 38 end line: 57 size: 17 LOC McCabe index: 5 number of parameters: 0 id: 27 unit: func hasSubDirsInPATH() file: cmd/cloudshell_open/main.go start line: 565 end line: 582 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: func jibMavenConfigured() file: cmd/cloudshell_open/jib.go start line: 35 end line: 53 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 29 unit: func manualRedirect() file: cmd/redirector/main.go start line: 148 end line: 163 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: func main() file: cmd/cloudshell_open/main.go start line: 83 end line: 99 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 31 unit: func logProgress() file: cmd/cloudshell_open/main.go start line: 108 end line: 123 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 32 unit: func enabledAPIs() file: cmd/cloudshell_open/api.go start line: 72 end line: 86 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 33 unit: func handleRepo() file: cmd/cloudshell_open/clone.go start line: 31 end line: 46 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 34 unit: func repoDirName() file: cmd/cloudshell_open/clone.go start line: 48 end line: 62 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: func isSubPath() file: cmd/cloudshell_open/main.go start line: 585 end line: 599 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 36 unit: func promptProject() file: cmd/cloudshell_open/project.go start line: 57 end line: 70 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 37 unit: func waitForBilling() file: cmd/cloudshell_open/main.go start line: 549 end line: 562 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 38 unit: func main() file: cmd/instrumentless_test/main.go start line: 24 end line: 42 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 39 unit: func envVars() file: cmd/cloudshell_open/cloudrun.go start line: 96 end line: 112 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 40 unit: func createMavenCommand() file: cmd/cloudshell_open/jib.go start line: 55 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 41 unit: func parseReferer() file: cmd/redirector/referer.go start line: 15 end line: 27 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: func mergeEnvs() file: cmd/cloudshell_open/deploy.go start line: 198 end line: 210 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 43 unit: func promptMultipleProjects() file: cmd/cloudshell_open/project.go start line: 84 end line: 95 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func sortedEnvs() file: cmd/cloudshell_open/appfile.go start line: 234 end line: 245 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: func instrumentlessCoupon() file: cmd/cloudshell_open/main.go start line: 601 end line: 615 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 46 unit: func optionsToContainerSpec() file: cmd/cloudshell_open/deploy.go start line: 87 end line: 98 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: func confirmProject() file: cmd/cloudshell_open/project.go start line: 72 end line: 82 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func hasAppFile() file: cmd/cloudshell_open/appfile.go start line: 91 end line: 101 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: func checkBillingEnabled() file: cmd/cloudshell_open/billing.go start line: 26 end line: 36 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: func prompUseExistingBillingAccount() file: cmd/cloudshell_open/main.go start line: 653 end line: 665 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: func optionsToResourceRequirements() file: cmd/cloudshell_open/deploy.go start line: 75 end line: 85 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: func patchService() file: cmd/cloudshell_open/deploy.go start line: 174 end line: 195 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 53 unit: func runScript() file: cmd/cloudshell_open/scripts.go start line: 35 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: func generateEnvs() file: cmd/cloudshell_open/appfile.go start line: 197 end line: 207 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 55 unit: func generateRevisionName() file: cmd/cloudshell_open/deploy.go start line: 163 end line: 171 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: func dockerFileExists() file: cmd/cloudshell_open/docker.go start line: 42 end line: 51 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: func runScripts() file: cmd/cloudshell_open/scripts.go start line: 47 end line: 56 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 58 unit: func gitCheckout() file: cmd/cloudshell_open/clone.go start line: 73 end line: 81 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 59 unit: func needEnvs() file: cmd/cloudshell_open/appfile.go start line: 161 end line: 170 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: func() file: cmd/cloudshell_open/appfile.go start line: 222 end line: 232 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 61 unit: func withLogging() file: cmd/redirector/main.go start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: func parseEnv() file: cmd/cloudshell_open/deploy.go start line: 16 end line: 23 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: func dockerBuild() file: cmd/cloudshell_open/docker.go start line: 24 end line: 31 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 64 unit: func dockerPush() file: cmd/cloudshell_open/docker.go start line: 33 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func packBuild() file: cmd/cloudshell_open/pack.go start line: 22 end line: 29 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 66 unit: func clone() file: cmd/cloudshell_open/clone.go start line: 64 end line: 71 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 67 unit: func init() file: cmd/cloudshell_open/main.go start line: 74 end line: 82 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: func jibMavenBuild() file: cmd/cloudshell_open/jib.go start line: 26 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 69 unit: func applyMeta() file: cmd/cloudshell_open/deploy.go start line: 146 end line: 152 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 70 unit: func getService() file: cmd/cloudshell_open/cloudrun.go start line: 75 end line: 81 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 71 unit: func serviceURL() file: cmd/cloudshell_open/cloudrun.go start line: 88 end line: 94 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 72 unit: func rand64String() file: cmd/cloudshell_open/appfile.go start line: 152 end line: 158 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: func staticRedirect() file: cmd/redirector/main.go start line: 48 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: func cleanupPath() file: cmd/redirector/github.go start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func doRedirect() file: cmd/redirector/main.go start line: 96 end line: 100 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 76 unit: func applyScaleMeta() file: cmd/cloudshell_open/deploy.go start line: 155 end line: 159 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 77 unit: func() file: cmd/redirector/main.go start line: 172 end line: 175 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: func runClient() file: cmd/cloudshell_open/cloudrun.go start line: 83 end line: 86 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func() file: cmd/cloudshell_open/scripts.go start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func() file: cmd/cloudshell_open/appfile.go start line: 218 end line: 220 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func() file: cmd/redirector/github.go start line: 18 end line: 18 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func() file: cmd/redirector/github.go start line: 19 end line: 19 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: cmd/redirector/github.go start line: 20 end line: 20 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func() file: cmd/redirector/main.go start line: 170 end line: 170 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func() file: cmd/redirector/main.go start line: 171 end line: 171 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func() file: cmd/redirector/referer.go start line: 72 end line: 72 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: cmd/redirector/referer.go start line: 73 end line: 73 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func() file: cmd/redirector/referer.go start line: 74 end line: 74 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func validRepoURL() file: cmd/cloudshell_open/clone.go start line: 29 end line: 29 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: cmd/cloudshell_open/appfile.go start line: 216 end line: 216 size: 1 LOC McCabe index: 1 number of parameters: 1