id: 1 unit: func() file: pkg/repo/repo.go start line: 305 end line: 456 size: 122 LOC McCabe index: 26 number of parameters: 1 id: 2 unit: func addCreate() file: pkg/kepctl/commands/create.go start line: 28 end line: 119 size: 79 LOC McCabe index: 1 number of parameters: 1 id: 3 unit: func NewRepo() file: pkg/repo/repo.go start line: 87 end line: 180 size: 78 LOC McCabe index: 12 number of parameters: 2 id: 4 unit: func addQuery() file: pkg/kepctl/commands/query.go start line: 30 end line: 113 size: 72 LOC McCabe index: 1 number of parameters: 1 id: 5 unit: func() file: pkg/repo/query.go start line: 87 end line: 166 size: 64 LOC McCabe index: 23 number of parameters: 1 id: 6 unit: func() file: pkg/repo/validate.go start line: 30 end line: 110 size: 63 LOC McCabe index: 15 number of parameters: 1 id: 7 unit: func() file: pkg/repo/repo.go start line: 460 end line: 528 size: 56 LOC McCabe index: 11 number of parameters: 1 id: 8 unit: func ValidatePRR() file: pkg/kepval/approval.go start line: 32 end line: 98 size: 52 LOC McCabe index: 11 number of parameters: 3 id: 9 unit: func main() file: cmd/kepify/main.go start line: 39 end line: 102 size: 49 LOC McCabe index: 10 number of parameters: 0 id: 10 unit: func NewOutput() file: pkg/output/output.go start line: 62 end line: 102 size: 41 LOC McCabe index: 5 number of parameters: 3 id: 11 unit: func() file: api/proposal.go start line: 151 end line: 196 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 12 unit: func() file: pkg/repo/repo.go start line: 205 end line: 255 size: 37 LOC McCabe index: 8 number of parameters: 1 id: 13 unit: func populateProposal() file: pkg/proposal/create.go start line: 123 end line: 169 size: 34 LOC McCabe index: 8 number of parameters: 2 id: 14 unit: func addPromote() file: pkg/kepctl/commands/promote.go start line: 27 end line: 63 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: func DefaultPrintConfigs() file: pkg/output/output.go start line: 201 end line: 237 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: func() file: api/groups.go start line: 127 end line: 167 size: 32 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: func() file: api/groups.go start line: 89 end line: 124 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: func New() file: pkg/kepctl/commands/commands.go start line: 31 end line: 62 size: 27 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: func isPRRRequired() file: pkg/kepval/approval.go start line: 100 end line: 134 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 20 unit: func() file: api/approval.go start line: 57 end line: 88 size: 26 LOC McCabe index: 11 number of parameters: 1 id: 21 unit: func() file: pkg/repo/repo.go start line: 257 end line: 287 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 22 unit: func() file: pkg/repo/query.go start line: 52 end line: 83 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 23 unit: def edit_kep() file: hack/edit-keps.py start line: 0 end line: 0 size: 25 LOC McCabe index: 8 number of parameters: 3 id: 24 unit: func() file: pkg/repo/write.go start line: 32 end line: 60 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 25 unit: func() file: api/proposal.go start line: 242 end line: 264 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 26 unit: func() file: api/approval.go start line: 98 end line: 122 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 27 unit: func findMarkdownFiles() file: cmd/kepify/main.go start line: 104 end line: 127 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: func() file: pkg/output/output.go start line: 132 end line: 156 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 29 unit: func() file: pkg/output/output.go start line: 161 end line: 182 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 30 unit: func createKEP() file: pkg/proposal/create.go start line: 97 end line: 121 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: func printJSONOutput() file: cmd/kepify/main.go start line: 152 end line: 175 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 32 unit: func NewOptions() file: pkg/proposal/options.go start line: 33 end line: 53 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 33 unit: func validateFile() file: pkg/repo/validate.go start line: 120 end line: 142 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: func() file: api/apifakes/fake_file.go start line: 29 end line: 46 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: func parseFiles() file: cmd/kepify/main.go start line: 129 end line: 150 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 36 unit: func Promote() file: pkg/proposal/promote.go start line: 50 end line: 73 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: func runQuery() file: pkg/kepctl/commands/query.go start line: 115 end line: 132 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: func() file: api/apifakes/fake_document.go start line: 25 end line: 41 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: func selectByRegexp() file: pkg/repo/query.go start line: 188 end line: 204 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 40 unit: func() file: api/proposal.go start line: 207 end line: 222 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 41 unit: func ignore() file: cmd/kepify/main.go start line: 179 end line: 195 size: 15 LOC McCabe index: 9 number of parameters: 1 id: 42 unit: func Create() file: pkg/proposal/create.go start line: 75 end line: 95 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: func() file: api/apifakes/fake_file.go start line: 77 end line: 91 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func() file: pkg/repo/repo.go start line: 289 end line: 303 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: func() file: api/proposal.go start line: 226 end line: 238 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 46 unit: func() file: api/apifakes/fake_document.go start line: 64 end line: 76 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: func() file: api/apifakes/fake_document.go start line: 78 end line: 88 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func() file: api/apifakes/fake_document.go start line: 90 end line: 100 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: func() file: api/apifakes/fake_file.go start line: 93 end line: 103 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: func() file: api/apifakes/fake_file.go start line: 105 end line: 115 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: func updatePersonReference() file: pkg/proposal/create.go start line: 171 end line: 182 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: func() file: pkg/repo/repo.go start line: 182 end line: 191 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: func() file: api/apifakes/fake_file.go start line: 67 end line: 75 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: def main() file: hack/edit-keps.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 55 unit: func runCreate() file: pkg/kepctl/commands/create.go start line: 121 end line: 130 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: func runPromote() file: pkg/kepctl/commands/promote.go start line: 65 end line: 74 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: func() file: pkg/output/output.go start line: 107 end line: 114 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: func() file: pkg/output/output.go start line: 119 end line: 127 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: func() file: pkg/repo/repo.go start line: 195 end line: 203 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: func sliceContains() file: pkg/repo/query.go start line: 176 end line: 184 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 61 unit: func atLeastOne() file: pkg/repo/query.go start line: 207 end line: 215 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 62 unit: func IsOneOf() file: api/document.go start line: 51 end line: 59 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: func() file: api/proposal.go start line: 47 end line: 54 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: func() file: api/proposal.go start line: 78 end line: 85 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: func() file: api/apifakes/fake_document.go start line: 55 end line: 62 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: func Usage() file: cmd/kepify/main.go start line: 31 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: func UnmarshalStrict() file: pkg/yaml/yaml.go start line: 27 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: func sliceToMap() file: pkg/repo/query.go start line: 168 end line: 174 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: func() file: api/approval.go start line: 48 end line: 55 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: func DefaultGroupFetcher() file: api/groups.go start line: 43 end line: 49 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: func() file: pkg/repo/query.go start line: 43 end line: 50 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: func() file: api/apifakes/fake_file.go start line: 60 end line: 65 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: def setup_yaml() file: hack/edit-keps.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: func main() file: cmd/kepctl/main.go start line: 25 end line: 29 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 75 unit: func AddCommands() file: pkg/kepctl/commands/commands.go start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: func() file: api/groups.go start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func() file: api/groups.go start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: func() file: api/apifakes/fake_document.go start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func() file: api/apifakes/fake_document.go start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func() file: api/apifakes/fake_file.go start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func() file: api/apifakes/fake_file.go start line: 54 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func New() file: pkg/repo/repo.go start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: api/proposal.go start line: 200 end line: 203 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func() file: pkg/proposal/create.go start line: 56 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func() file: pkg/proposal/promote.go start line: 42 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func initLogging() file: pkg/kepctl/commands/commands.go start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: func Marshal() file: pkg/yaml/yaml.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func ValidFormats() file: pkg/output/output.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: func() file: pkg/output/output.go start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: api/approval.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func NewMockGroupFetcher() file: api/groups.go start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: func() file: api/proposal.go start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: api/proposal.go start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: api/proposal.go start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func hash() file: api/proposal.go start line: 266 end line: 268 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func() file: pkg/output/output.go start line: 196 end line: 196 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func() file: pkg/repo/validate.go start line: 115 end line: 115 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func() file: pkg/repo/validate.go start line: 116 end line: 116 size: 1 LOC McCabe index: 1 number of parameters: 1