id: 1 unit: func main() file: cmd/sync-tags/main.go start line: 70 end line: 371 size: 235 LOC McCabe index: 63 number of parameters: 0 id: 2 unit: func main() file: cmd/publishing-bot/main.go start line: 47 end line: 214 size: 137 LOC McCabe index: 39 number of parameters: 0 id: 3 unit: func() file: cmd/publishing-bot/publisher.go start line: 228 end line: 349 size: 98 LOC McCabe index: 20 number of parameters: 1 id: 4 unit: func main() file: cmd/init-repo/main.go start line: 48 end line: 138 size: 77 LOC McCabe index: 22 number of parameters: 0 id: 5 unit: func() file: cmd/publishing-bot/publisher.go start line: 57 end line: 145 size: 73 LOC McCabe index: 19 number of parameters: 1 id: 6 unit: func updateGomodWithTaggedDependencies() file: cmd/sync-tags/gomod.go start line: 36 end line: 119 size: 69 LOC McCabe index: 14 number of parameters: 3 id: 7 unit: func main() file: cmd/collapsed-kube-commit-mapper/main.go start line: 75 end line: 147 size: 58 LOC McCabe index: 14 number of parameters: 0 id: 8 unit: func packageDepToGoModCache() file: cmd/sync-tags/gomod.go start line: 145 end line: 214 size: 52 LOC McCabe index: 12 number of parameters: 5 id: 9 unit: func MergePoints() file: pkg/git/mainline.go start line: 68 end line: 136 size: 50 LOC McCabe index: 12 number of parameters: 2 id: 10 unit: func ReportOnIssue() file: cmd/publishing-bot/github.go start line: 40 end line: 100 size: 49 LOC McCabe index: 12 number of parameters: 6 id: 11 unit: func cleanCacheForTag() file: cmd/sync-tags/main.go start line: 541 end line: 596 size: 49 LOC McCabe index: 14 number of parameters: 1 id: 12 unit: func fetchKubernetesStagingDirectoryFiles() file: cmd/validate-rules/staging/github_utils.go start line: 35 end line: 82 size: 38 LOC McCabe index: 9 number of parameters: 1 id: 13 unit: func InstallGoVersions() file: pkg/golang/install.go start line: 39 end line: 79 size: 38 LOC McCabe index: 12 number of parameters: 1 id: 14 unit: func SourceCommitToDstCommits() file: pkg/git/mapping.go start line: 45 end line: 90 size: 37 LOC McCabe index: 10 number of parameters: 4 id: 15 unit: func Usage() file: cmd/collapsed-kube-commit-mapper/main.go start line: 34 end line: 73 size: 36 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: func() file: cmd/publishing-bot/publisher.go start line: 372 end line: 416 size: 36 LOC McCabe index: 11 number of parameters: 1 id: 17 unit: func() file: cmd/publishing-bot/publisher.go start line: 423 end line: 459 size: 31 LOC McCabe index: 7 number of parameters: 1 id: 18 unit: func installGoVersion() file: pkg/golang/install.go start line: 81 end line: 111 size: 28 LOC McCabe index: 8 number of parameters: 2 id: 19 unit: func main() file: cmd/validate-rules/main.go start line: 28 end line: 52 size: 24 LOC McCabe index: 7 number of parameters: 0 id: 20 unit: func transfromLogToGithubFormat() file: cmd/publishing-bot/github.go start line: 119 end line: 141 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 21 unit: func() file: cmd/publishing-bot/publisher.go start line: 199 end line: 225 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 22 unit: func LoadRules() file: cmd/publishing-bot/config/rules.go start line: 87 end line: 110 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: func main() file: cmd/gomod-zip/zip.go start line: 49 end line: 75 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 24 unit: func getModuleFile() file: cmd/gomod-zip/zip.go start line: 77 end line: 101 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 25 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 87 end line: 109 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: func cloneForkRepo() file: cmd/init-repo/main.go start line: 140 end line: 162 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: func removeRemoteTags() file: cmd/sync-tags/main.go start line: 393 end line: 414 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 28 unit: func EnsureStagingDirectoriesExist() file: cmd/validate-rules/staging/validate.go start line: 36 end line: 56 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 29 unit: func() file: cmd/publishing-bot/publisher.go start line: 148 end line: 169 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 30 unit: func validateRepoOrder() file: cmd/publishing-bot/config/rules.go start line: 132 end line: 151 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 31 unit: func remoteTags() file: cmd/sync-tags/main.go start line: 373 end line: 391 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 32 unit: func fullPackageName() file: cmd/sync-tags/gomod.go start line: 263 end line: 284 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 33 unit: func checkDirectoryExistsInBranch() file: cmd/validate-rules/staging/validate.go start line: 58 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 34 unit: func readFromURL() file: cmd/publishing-bot/config/rules.go start line: 113 end line: 130 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: func taggedCommitHashAndTime() file: cmd/sync-tags/gomod.go start line: 223 end line: 240 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 36 unit: func copyFile() file: cmd/sync-tags/gomod.go start line: 242 end line: 260 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 37 unit: func mappingOutputFileName() file: cmd/sync-tags/main.go start line: 475 end line: 492 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 38 unit: func() file: cmd/publishing-bot/publisher.go start line: 181 end line: 197 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: func newLogBuilderWithMaxBytes() file: cmd/publishing-bot/log_builder.go start line: 29 end line: 44 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 40 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 168 end line: 182 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 41 unit: func Validate() file: cmd/publishing-bot/config/rules.go start line: 183 end line: 199 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: func createAnnotatedTag() file: cmd/sync-tags/main.go start line: 416 end line: 430 size: 15 LOC McCabe index: 3 number of parameters: 4 id: 43 unit: func writeKubeCommitMapping() file: cmd/sync-tags/main.go start line: 458 end line: 473 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 44 unit: func FirstParentList() file: pkg/git/mainline.go start line: 47 end line: 64 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 45 unit: func CloseIssue() file: cmd/publishing-bot/github.go start line: 102 end line: 117 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 46 unit: func() file: cmd/publishing-bot/server.go start line: 52 end line: 67 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: func() file: cmd/publishing-bot/server.go start line: 99 end line: 118 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: func validateGoVersions() file: cmd/publishing-bot/config/rules.go start line: 154 end line: 168 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 49 unit: func Usage() file: cmd/sync-tags/main.go start line: 44 end line: 59 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: func createCommitToFixDeps() file: cmd/sync-tags/main.go start line: 517 end line: 530 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 51 unit: func() file: cmd/publishing-bot/log_builder.go start line: 104 end line: 116 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 52 unit: func cloneSourceRepo() file: cmd/init-repo/main.go start line: 177 end line: 191 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: func depsImportPaths() file: cmd/sync-tags/gomod.go start line: 123 end line: 136 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: func Usage() file: cmd/gomod-zip/zip.go start line: 32 end line: 47 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: func FirstParent() file: pkg/git/mainline.go start line: 31 end line: 43 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 56 unit: func() file: cmd/publishing-bot/server.go start line: 71 end line: 82 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: func fetchTags() file: cmd/sync-tags/main.go start line: 445 end line: 456 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: func checkoutBranchTagCommit() file: cmd/sync-tags/main.go start line: 494 end line: 506 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 59 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 131 end line: 141 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 60 unit: func() file: cmd/publishing-bot/server.go start line: 84 end line: 97 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 61 unit: func createZipArchive() file: cmd/gomod-zip/zip.go start line: 103 end line: 114 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 62 unit: func updateEnv() file: cmd/publishing-bot/publisher.go start line: 351 end line: 360 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 63 unit: func() file: cmd/publishing-bot/log_builder.go start line: 80 end line: 89 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: func newPublisherLog() file: cmd/publishing-bot/publisher_logger.go start line: 43 end line: 53 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 65 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 145 end line: 154 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: func run() file: cmd/init-repo/main.go start line: 166 end line: 175 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: func SourceHash() file: pkg/git/kube.go start line: 30 end line: 40 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: func prefixFollowingLines() file: cmd/publishing-bot/publisher_logger.go start line: 119 end line: 127 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 69 unit: func githubClient() file: cmd/publishing-bot/github.go start line: 30 end line: 38 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func() file: cmd/publishing-bot/publisher.go start line: 171 end line: 178 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: func prependPath() file: cmd/publishing-bot/publisher.go start line: 362 end line: 369 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: func() file: cmd/publishing-bot/log_builder.go start line: 56 end line: 63 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: func Usage() file: cmd/publishing-bot/main.go start line: 35 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: func updateGoMod() file: cmd/sync-tags/main.go start line: 508 end line: 515 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 75 unit: func() file: cmd/publishing-bot/log_builder.go start line: 72 end line: 78 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func() file: cmd/publishing-bot/log_builder.go start line: 91 end line: 97 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: func() file: cmd/publishing-bot/config/rules.go start line: 24 end line: 30 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: func() file: cmd/publishing-bot/config/rules.go start line: 40 end line: 46 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: func Usage() file: cmd/init-repo/main.go start line: 39 end line: 46 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: func New() file: cmd/publishing-bot/publisher.go start line: 48 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: func() file: cmd/publishing-bot/log_builder.go start line: 65 end line: 70 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: func newLineWriter() file: cmd/publishing-bot/publisher_logger.go start line: 156 end line: 161 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func newSyncWriter() file: cmd/publishing-bot/publisher_logger.go start line: 192 end line: 197 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func ensureValidGoVersion() file: cmd/publishing-bot/config/rules.go start line: 176 end line: 181 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: func localOrPublishedTaggedCommitHashAndTime() file: cmd/sync-tags/gomod.go start line: 216 end line: 221 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: func deleteTag() file: cmd/sync-tags/main.go start line: 532 end line: 537 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 55 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 75 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 81 end line: 85 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 186 end line: 190 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: cmd/publishing-bot/log_builder.go start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: cmd/publishing-bot/log_builder.go start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func() file: cmd/publishing-bot/log_builder.go start line: 99 end line: 102 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func tagExists() file: cmd/sync-tags/main.go start line: 432 end line: 443 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func publishedFileName() file: cmd/publishing-bot/publisher.go start line: 418 end line: 420 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func() file: cmd/publishing-bot/publisher_logger.go start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 1