id: 1 unit: func main() file: cmd/interceptor/main.go start line: 52 end line: 158 size: 82 LOC McCabe index: 10 number of parameters: 0 id: 2 unit: func() file: pkg/event_processor/github/github.go start line: 136 end line: 210 size: 63 LOC McCabe index: 10 number of parameters: 1 id: 3 unit: func() file: pkg/event_processor/github/github.go start line: 72 end line: 132 size: 52 LOC McCabe index: 13 number of parameters: 1 id: 4 unit: func() file: pkg/interceptor/secret.go start line: 50 end line: 110 size: 51 LOC McCabe index: 7 number of parameters: 1 id: 5 unit: func() file: pkg/interceptor/edp_interceptor.go start line: 101 end line: 152 size: 43 LOC McCabe index: 6 number of parameters: 1 id: 6 unit: func() file: pkg/event_processor/gitlab/gitlab.go start line: 73 end line: 116 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 7 unit: func() file: pkg/event_processor/bitbucket/bitbucket.go start line: 58 end line: 98 size: 35 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: func() file: pkg/event_processor/bitbucket/bitbucket.go start line: 100 end line: 137 size: 33 LOC McCabe index: 5 number of parameters: 1 id: 9 unit: def check_description() file: hack/validate_tekton.py start line: 0 end line: 0 size: 32 LOC McCabe index: 10 number of parameters: 1 id: 10 unit: func() file: pkg/interceptor/edp_interceptor.go start line: 155 end line: 194 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 11 unit: func() file: pkg/event_processor/gitlab/gitlab.go start line: 36 end line: 71 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: func() file: pkg/event_processor/gerrit/gerrit.go start line: 29 end line: 64 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 13 unit: func NewEventProcessor() file: pkg/event_processor/github/github.go start line: 29 end line: 59 size: 28 LOC McCabe index: 4 number of parameters: 2 id: 14 unit: func() file: pkg/event_processor/bitbucket/bitbucket.go start line: 145 end line: 178 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: func() file: pkg/interceptor/edp_interceptor.go start line: 65 end line: 98 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: func() file: pkg/event_processor/github/github.go start line: 212 end line: 235 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: func() file: cmd/interceptor/main.go start line: 160 end line: 184 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: func NewEDPInterceptor() file: pkg/interceptor/edp_interceptor.go start line: 46 end line: 62 size: 17 LOC McCabe index: 1 number of parameters: 6 id: 19 unit: func() file: pkg/interceptor/secret.go start line: 113 end line: 133 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 20 unit: func NewEventProcessor() file: pkg/event_processor/bitbucket/bitbucket.go start line: 29 end line: 47 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 21 unit: func GetGitServerToken() file: pkg/event_processor/codebase.go start line: 47 end line: 65 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 22 unit: func initEnv() file: cmd/interceptor/main.go start line: 204 end line: 219 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 23 unit: def process_images() file: hack/images/migrate_ecr.py start line: 0 end line: 0 size: 13 LOC McCabe index: 8 number of parameters: 0 id: 24 unit: func logBuildInfo() file: cmd/interceptor/main.go start line: 190 end line: 202 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: func GetCodebaseByRepoPath() file: pkg/event_processor/codebase.go start line: 21 end line: 34 size: 12 LOC McCabe index: 4 number of parameters: 4 id: 26 unit: def helm_template() file: hack/validate_tekton.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: func prepareCodebase() file: pkg/interceptor/edp_interceptor.go start line: 206 end line: 218 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: func isPRNotFoundErr() file: pkg/event_processor/github/github.go start line: 245 end line: 254 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: def ecr_repository_exists() file: hack/images/migrate_ecr.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: func() file: pkg/event_processor/gitlab/gitlab.go start line: 27 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: func() file: pkg/event_processor/github/github.go start line: 61 end line: 68 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: func() file: pkg/event_processor/bitbucket/bitbucket.go start line: 49 end line: 56 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: def run_helm_template() file: hack/images/update_image_list.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: def check_key_order() file: hack/validate_tekton.py start line: 0 end line: 0 size: 7 LOC McCabe index: 8 number of parameters: 2 id: 35 unit: func createEventInfoWithoutRecheck() file: pkg/event_processor/github/github.go start line: 237 end line: 243 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: def run_command() file: hack/images/migrate_ecr.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: func NewEventProcessor() file: pkg/event_processor/gitlab/gitlab.go start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: func ConvertRepositoryPath() file: pkg/event_processor/codebase.go start line: 37 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func NewEventProcessor() file: pkg/event_processor/gerrit/gerrit.go start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 40 unit: func getEventTypeFromHeader() file: pkg/interceptor/edp_interceptor.go start line: 197 end line: 203 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: def save_images_to_file() file: hack/images/update_image_list.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: def push_image_to_ecr() file: hack/images/migrate_ecr.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 43 unit: def extract_docker_images() file: hack/images/update_image_list.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: def main() file: hack/images/update_image_list.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: def login_to_ecr() file: hack/images/migrate_ecr.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: func convertBranchToCadebaseBranchName() file: pkg/interceptor/edp_interceptor.go start line: 221 end line: 225 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 47 unit: func readinessHandler() file: cmd/interceptor/main.go start line: 186 end line: 188 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 48 unit: def create_ecr_repository() file: hack/images/migrate_ecr.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: func() file: pkg/event_processor/event.go start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: func ContainsPipelineRecheck() file: pkg/event_processor/event.go start line: 145 end line: 147 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: func() file: pkg/interceptor/errror.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: func() file: pkg/interceptor/errror.go start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: func badRequest() file: pkg/interceptor/errror.go start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: func internal() file: pkg/interceptor/errror.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: func NewCertData() file: pkg/interceptor/secret.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: func NewSecretService() file: pkg/interceptor/secret.go start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1