id: 1 unit: func RunBazelisk() file: core/core.go start line: 44 end line: 163 size: 91 LOC McCabe index: 27 number of parameters: 2 id: 2 unit: func migrate() file: core/core.go start line: 532 end line: 598 size: 58 LOC McCabe index: 9 number of parameters: 3 id: 3 unit: func DownloadBinary() file: httputil/httputil.go start line: 172 end line: 234 size: 51 LOC McCabe index: 12 number of parameters: 3 id: 4 unit: func Parse() file: versions/versions.go start line: 36 end line: 84 size: 48 LOC McCabe index: 15 number of parameters: 2 id: 5 unit: func() file: repositories/github.go start line: 33 end line: 76 size: 39 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: func GetEnvOrConfig() file: core/core.go start line: 183 end line: 222 size: 36 LOC McCabe index: 9 number of parameters: 1 id: 7 unit: func get() file: httputil/httputil.go start line: 77 end line: 112 size: 32 LOC McCabe index: 9 number of parameters: 2 id: 8 unit: func getBazelVersion() file: core/core.go start line: 253 end line: 300 size: 31 LOC McCabe index: 8 number of parameters: 0 id: 9 unit: func MaybeDownload() file: httputil/httputil.go start line: 243 end line: 278 size: 31 LOC McCabe index: 8 number of parameters: 6 id: 10 unit: func listDirectoriesInReleaseBucket() file: repositories/gcs.go start line: 65 end line: 98 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 11 unit: func CreateRepositories() file: core/repositories.go start line: 231 end line: 265 size: 29 LOC McCabe index: 6 number of parameters: 6 id: 12 unit: def download_bazel_into_directory() file: bazelisk.py start line: 0 end line: 0 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 13 unit: func() file: repositories/gcs.go start line: 170 end line: 202 size: 26 LOC McCabe index: 8 number of parameters: 1 id: 14 unit: func runBazel() file: core/core.go start line: 430 end line: 457 size: 26 LOC McCabe index: 5 number of parameters: 3 id: 15 unit: function getNativeBinary() file: bazelisk.js start line: 23 end line: 51 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 16 unit: def get_bazelisk_directory() file: bazelisk.py start line: 0 end line: 0 size: 25 LOC McCabe index: 9 number of parameters: 0 id: 17 unit: func DetermineBazelFilename() file: platforms/platforms.go start line: 27 end line: 52 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 18 unit: func() file: repositories/gcs.go start line: 133 end line: 157 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: func tryFindNetrcFileCreds() file: httputil/httputil.go start line: 142 end line: 169 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 20 unit: func linkLocalBazel() file: core/core.go start line: 352 end line: 371 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 21 unit: func() file: core/repositories.go start line: 80 end line: 99 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 22 unit: func resolvePotentiallyRelativeVersion() file: core/repositories.go start line: 180 end line: 200 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 23 unit: func prependDirToPathList() file: core/core.go start line: 392 end line: 409 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 24 unit: func makeBazelCmd() file: core/core.go start line: 411 end line: 428 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 25 unit: func() file: core/repositories.go start line: 118 end line: 136 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: def resolve_version_label_to_number_or_commit() file: bazelisk.py start line: 0 end line: 0 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 27 unit: func GetInAscendingOrder() file: versions/versions.go start line: 91 end line: 107 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: func shutdownIfNeeded() file: core/core.go start line: 495 end line: 511 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: func cleanIfNeeded() file: core/core.go start line: 513 end line: 529 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 30 unit: func() file: core/repositories.go start line: 101 end line: 116 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 31 unit: func maybeDelegateToWrapper() file: core/core.go start line: 373 end line: 390 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 32 unit: func insertArgs() file: core/core.go start line: 478 end line: 493 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 33 unit: func ReadRemoteFile() file: httputil/httputil.go start line: 59 end line: 75 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 34 unit: func() file: repositories/gcs.go start line: 39 end line: 52 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: func() file: repositories/gcs.go start line: 205 end line: 220 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: func copyFile() file: core/core.go start line: 334 end line: 350 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 37 unit: func() file: core/repositories.go start line: 149 end line: 162 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: def get_releases_json() file: bazelisk.py start line: 0 end line: 0 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 39 unit: def determine_bazel_filename() file: bazelisk.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: func findWorkspaceRoot() file: core/core.go start line: 236 end line: 251 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: func getIncompatibleFlags() file: core/core.go start line: 460 end line: 473 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: func() file: core/repositories.go start line: 164 end line: 176 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func() file: core/repositories.go start line: 214 end line: 228 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 44 unit: def determine_url() file: bazelisk.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 45 unit: def make_bazel_cmd() file: bazelisk.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: func parseBazelForkAndVersion() file: core/core.go start line: 302 end line: 316 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: func downloadBazel() file: core/core.go start line: 318 end line: 332 size: 12 LOC McCabe index: 3 number of parameters: 5 id: 48 unit: func getNextURL() file: httputil/httputil.go start line: 280 end line: 291 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: def delegate_tools_bazel() file: bazelisk.py start line: 0 end line: 0 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 50 unit: def main() file: bazelisk.py start line: 0 end line: 0 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 51 unit: func ReadFile() file: runfiles/runfiles.go start line: 10 end line: 20 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: func() file: core/repositories.go start line: 138 end line: 147 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: func restrictToTrack() file: core/repositories.go start line: 202 end line: 211 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 54 unit: func parseRetryHeader() file: httputil/httputil.go start line: 129 end line: 139 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 55 unit: func main() file: bazelisk.go start line: 26 end line: 38 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 56 unit: def decide_which_bazel_version_to_use() file: bazelisk.py start line: 0 end line: 0 size: 10 LOC McCabe index: 6 number of parameters: 0 id: 57 unit: def get_version_history() file: bazelisk.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 58 unit: func getVersionHistoryFromGCS() file: repositories/gcs.go start line: 54 end line: 63 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 59 unit: def get_bazel_path() file: bazelisk.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: func() file: repositories/github.go start line: 84 end line: 91 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func getVersionsFromGCSPrefixes() file: repositories/gcs.go start line: 100 end line: 107 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: func() file: repositories/gcs.go start line: 123 end line: 131 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: func() file: repositories/gcs.go start line: 227 end line: 234 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func getBazelCommand() file: core/core.go start line: 165 end line: 172 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: func getWaitPeriod() file: httputil/httputil.go start line: 118 end line: 127 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 66 unit: def resolve_latest_version() file: bazelisk.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 67 unit: def get_operating_system() file: bazelisk.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 68 unit: def execute_bazel() file: bazelisk.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 69 unit: func DetermineExecutableFilenameSuffix() file: platforms/platforms.go start line: 18 end line: 24 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 70 unit: func reverseInPlace() file: repositories/gcs.go start line: 159 end line: 165 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: func getUserAgent() file: core/core.go start line: 174 end line: 180 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 72 unit: func isValidWorkspace() file: core/core.go start line: 227 end line: 234 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: func() file: httputil/fake.go start line: 47 end line: 53 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: func createResponse() file: httputil/fake.go start line: 55 end line: 61 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 75 unit: func transformHeaders() file: httputil/fake.go start line: 63 end line: 69 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: function main() file: bazelisk.js start line: 53 end line: 66 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: def find_workspace_root() file: bazelisk.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 78 unit: def read_remote_text_file() file: bazelisk.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 79 unit: func() file: httputil/fake.go start line: 22 end line: 28 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: func() file: httputil/fake.go start line: 31 end line: 36 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: def maybe_makedirs() file: bazelisk.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: func() file: repositories/gcs.go start line: 237 end line: 241 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func NewFakeTransport() file: httputil/fake.go start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: def normalized_machine_arch_name() file: bazelisk.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 85 unit: def trim_suffix() file: bazelisk.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: def prepend_directory_to_path() file: bazelisk.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 87 unit: function shutdown() file: bazelisk.js start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: func isFork() file: versions/versions.go start line: 86 end line: 88 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: func GetPlatform() file: platforms/platforms.go start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: func CreateGitHubRepo() file: repositories/github.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func() file: repositories/github.go start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: func() file: repositories/github.go start line: 94 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: repositories/github.go start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func dirForURL() file: core/core.go start line: 600 end line: 603 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func() file: core/repositories.go start line: 274 end line: 276 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func() file: core/repositories.go start line: 278 end line: 280 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func() file: core/repositories.go start line: 286 end line: 288 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func() file: core/repositories.go start line: 290 end line: 292 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func() file: core/repositories.go start line: 298 end line: 300 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: func() file: core/repositories.go start line: 302 end line: 304 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: func() file: core/repositories.go start line: 310 end line: 312 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func() file: core/repositories.go start line: 314 end line: 316 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func() file: core/repositories.go start line: 322 end line: 324 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func() file: core/repositories.go start line: 326 end line: 328 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: func() file: httputil/httputil.go start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: func() file: httputil/httputil.go start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: func shouldRetry() file: httputil/httputil.go start line: 114 end line: 116 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 108 unit: func() file: httputil/fake.go start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func notFound() file: httputil/fake.go start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: def determine_executable_filename_suffix() file: bazelisk.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 111 unit: def get_last_green_commit() file: bazelisk.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1