id: 1 unit: func CreatePullRequestReview() file: pkg/github/pullrequests.go start line: 920 end line: 1133 size: 193 LOC McCabe index: 36 number of parameters: 2 id: 2 unit: func AddPullRequestReviewComment() file: pkg/github/pullrequests.go start line: 684 end line: 855 size: 153 LOC McCabe index: 27 number of parameters: 2 id: 3 unit: func UpdateIssue() file: pkg/github/issues.go start line: 556 end line: 699 size: 129 LOC McCabe index: 21 number of parameters: 2 id: 4 unit: func PushFiles() file: pkg/github/repositories.go start line: 767 end line: 916 size: 128 LOC McCabe index: 18 number of parameters: 2 id: 5 unit: func RepositoryResourceContentsHandler() file: pkg/github/repository_resource.go start line: 66 end line: 206 size: 115 LOC McCabe index: 31 number of parameters: 1 id: 6 unit: func UpdatePullRequest() file: pkg/github/pullrequests.go start line: 79 end line: 197 size: 107 LOC McCabe index: 20 number of parameters: 2 id: 7 unit: func ListIssues() file: pkg/github/issues.go start line: 434 end line: 553 size: 106 LOC McCabe index: 17 number of parameters: 2 id: 8 unit: func CreateIssue() file: pkg/github/issues.go start line: 312 end line: 431 size: 105 LOC McCabe index: 14 number of parameters: 2 id: 9 unit: func CreatePullRequest() file: pkg/github/pullrequests.go start line: 1206 end line: 1318 size: 103 LOC McCabe index: 15 number of parameters: 2 id: 10 unit: func ListPullRequests() file: pkg/github/pullrequests.go start line: 200 end line: 306 size: 102 LOC McCabe index: 14 number of parameters: 2 id: 11 unit: func DeleteFile() file: pkg/github/repositories.go start line: 560 end line: 675 size: 99 LOC McCabe index: 13 number of parameters: 2 id: 12 unit: func CreateOrUpdateFile() file: pkg/github/repositories.go start line: 229 end line: 335 size: 96 LOC McCabe index: 15 number of parameters: 2 id: 13 unit: func MergePullRequest() file: pkg/github/pullrequests.go start line: 309 end line: 395 size: 82 LOC McCabe index: 12 number of parameters: 2 id: 14 unit: func SearchIssues() file: pkg/github/issues.go start line: 224 end line: 309 size: 81 LOC McCabe index: 10 number of parameters: 2 id: 15 unit: func addCommandFromTool() file: cmd/mcpcurl/main.go start line: 205 end line: 306 size: 80 LOC McCabe index: 21 number of parameters: 3 id: 16 unit: func ListCodeScanningAlerts() file: pkg/github/code_scanning.go start line: 78 end line: 160 size: 79 LOC McCabe index: 12 number of parameters: 2 id: 17 unit: func InitToolsets() file: pkg/github/tools.go start line: 16 end line: 104 size: 79 LOC McCabe index: 2 number of parameters: 4 id: 18 unit: func GetIssueComments() file: pkg/github/issues.go start line: 702 end line: 782 size: 76 LOC McCabe index: 11 number of parameters: 2 id: 19 unit: func runStdioServer() file: cmd/github-mcp-server/main.go start line: 131 end line: 238 size: 76 LOC McCabe index: 14 number of parameters: 1 id: 20 unit: func CreateBranch() file: pkg/github/repositories.go start line: 678 end line: 764 size: 74 LOC McCabe index: 11 number of parameters: 2 id: 21 unit: func ListSecretScanningAlerts() file: pkg/github/secret_scanning.go start line: 79 end line: 154 size: 72 LOC McCabe index: 11 number of parameters: 2 id: 22 unit: func GetFileContents() file: pkg/github/repositories.go start line: 412 end line: 486 size: 70 LOC McCabe index: 11 number of parameters: 2 id: 23 unit: func UpdatePullRequestBranch() file: pkg/github/pullrequests.go start line: 538 end line: 613 size: 70 LOC McCabe index: 14 number of parameters: 2 id: 24 unit: func SearchUsers() file: pkg/github/search.go start line: 150 end line: 224 size: 69 LOC McCabe index: 10 number of parameters: 2 id: 25 unit: func SearchCode() file: pkg/github/search.go start line: 74 end line: 147 size: 68 LOC McCabe index: 10 number of parameters: 2 id: 26 unit: func GetTag() file: pkg/github/repositories.go start line: 984 end line: 1060 size: 68 LOC McCabe index: 12 number of parameters: 2 id: 27 unit: func GetPullRequestStatus() file: pkg/github/pullrequests.go start line: 461 end line: 535 size: 68 LOC McCabe index: 12 number of parameters: 2 id: 28 unit: func ListCommits() file: pkg/github/repositories.go start line: 88 end line: 159 size: 67 LOC McCabe index: 10 number of parameters: 2 id: 29 unit: func CreateRepository() file: pkg/github/repositories.go start line: 338 end line: 409 size: 67 LOC McCabe index: 10 number of parameters: 2 id: 30 unit: func AddIssueComment() file: pkg/github/issues.go start line: 80 end line: 151 size: 67 LOC McCabe index: 10 number of parameters: 2 id: 31 unit: func GetCommit() file: pkg/github/repositories.go start line: 16 end line: 85 size: 65 LOC McCabe index: 10 number of parameters: 2 id: 32 unit: func UpdatePullRequestComment() file: pkg/github/pullrequests.go start line: 1136 end line: 1203 size: 63 LOC McCabe index: 10 number of parameters: 2 id: 33 unit: func UpdateIssueComment() file: pkg/github/issues.go start line: 154 end line: 221 size: 63 LOC McCabe index: 10 number of parameters: 2 id: 34 unit: func ForkRepository() file: pkg/github/repositories.go start line: 489 end line: 557 size: 62 LOC McCabe index: 13 number of parameters: 2 id: 35 unit: func GetPullRequestComments() file: pkg/github/pullrequests.go start line: 616 end line: 681 size: 61 LOC McCabe index: 9 number of parameters: 2 id: 36 unit: func ListBranches() file: pkg/github/repositories.go start line: 162 end line: 226 size: 59 LOC McCabe index: 9 number of parameters: 2 id: 37 unit: func GetSecretScanningAlert() file: pkg/github/secret_scanning.go start line: 16 end line: 77 size: 57 LOC McCabe index: 9 number of parameters: 2 id: 38 unit: func ListTags() file: pkg/github/repositories.go start line: 919 end line: 981 size: 57 LOC McCabe index: 9 number of parameters: 2 id: 39 unit: func GetPullRequestFiles() file: pkg/github/pullrequests.go start line: 398 end line: 458 size: 57 LOC McCabe index: 9 number of parameters: 2 id: 40 unit: func GetCodeScanningAlert() file: pkg/github/code_scanning.go start line: 16 end line: 76 size: 56 LOC McCabe index: 9 number of parameters: 2 id: 41 unit: func GetPullRequest() file: pkg/github/pullrequests.go start line: 17 end line: 76 size: 56 LOC McCabe index: 9 number of parameters: 2 id: 42 unit: func GetPullRequestReviews() file: pkg/github/pullrequests.go start line: 858 end line: 917 size: 56 LOC McCabe index: 9 number of parameters: 2 id: 43 unit: func GetIssue() file: pkg/github/issues.go start line: 18 end line: 77 size: 56 LOC McCabe index: 9 number of parameters: 2 id: 44 unit: func SearchRepositories() file: pkg/github/search.go start line: 16 end line: 71 size: 51 LOC McCabe index: 8 number of parameters: 2 id: 45 unit: func GetToolsetsTools() file: pkg/github/dynamic_tools.go start line: 96 end line: 138 size: 39 LOC McCabe index: 5 number of parameters: 2 id: 46 unit: func buildArgumentsMap() file: cmd/mcpcurl/main.go start line: 309 end line: 348 size: 37 LOC McCabe index: 15 number of parameters: 2 id: 47 unit: func printResponse() file: cmd/mcpcurl/main.go start line: 413 end line: 459 size: 37 LOC McCabe index: 10 number of parameters: 2 id: 48 unit: func GetMe() file: pkg/github/context_tools.go start line: 16 end line: 53 size: 35 LOC McCabe index: 6 number of parameters: 2 id: 49 unit: func main() file: cmd/mcpcurl/main.go start line: 155 end line: 202 size: 32 LOC McCabe index: 9 number of parameters: 0 id: 50 unit: func EnableToolset() file: pkg/github/dynamic_tools.go start line: 22 end line: 60 size: 30 LOC McCabe index: 4 number of parameters: 3 id: 51 unit: func TranslationHelper() file: pkg/translations/translations.go start line: 19 end line: 57 size: 29 LOC McCabe index: 6 number of parameters: 0 id: 52 unit: func ListAvailableToolsets() file: pkg/github/dynamic_tools.go start line: 62 end line: 94 size: 28 LOC McCabe index: 3 number of parameters: 2 id: 53 unit: func executeServerCommand() file: cmd/mcpcurl/main.go start line: 374 end line: 411 size: 25 LOC McCabe index: 6 number of parameters: 2 id: 54 unit: func OptionalStringArrayParam() file: pkg/github/server.go start line: 150 end line: 174 size: 23 LOC McCabe index: 7 number of parameters: 2 id: 55 unit: func() file: pkg/toolsets/toolsets.go start line: 129 end line: 152 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 56 unit: func buildJSONRPCRequest() file: cmd/mcpcurl/main.go start line: 351 end line: 370 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 57 unit: func init() file: cmd/github-mcp-server/main.go start line: 73 end line: 98 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: func DumpTranslationKeyMap() file: pkg/translations/translations.go start line: 60 end line: 79 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 59 unit: func NewServer() file: pkg/github/server.go start line: 14 end line: 30 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: func OptionalParamOK[T any]() file: pkg/github/server.go start line: 34 end line: 54 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 61 unit: func OptionalPaginationParams() file: pkg/github/server.go start line: 203 end line: 216 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: func parseISOTimestamp() file: pkg/github/issues.go start line: 787 end line: 806 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 63 unit: func requiredParam[T comparable]() file: pkg/github/server.go start line: 67 end line: 86 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 64 unit: func WithPagination() file: pkg/github/server.go start line: 178 end line: 191 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: func() file: pkg/toolsets/toolsets.go start line: 40 end line: 52 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 66 unit: func() file: pkg/toolsets/toolsets.go start line: 72 end line: 84 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: func initLogger() file: cmd/github-mcp-server/main.go start line: 106 end line: 121 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 68 unit: func() file: pkg/toolsets/toolsets.go start line: 59 end line: 70 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 69 unit: func OptionalParam[T any]() file: pkg/github/server.go start line: 105 end line: 119 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 70 unit: func OptionalIntParamWithDefault() file: pkg/github/server.go start line: 135 end line: 144 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 71 unit: func InitDynamicToolset() file: pkg/github/tools.go start line: 117 end line: 129 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 72 unit: func() file: pkg/log/io.go start line: 27 end line: 36 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 73 unit: func() file: pkg/toolsets/toolsets.go start line: 116 end line: 127 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 74 unit: func() file: pkg/toolsets/toolsets.go start line: 23 end line: 31 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: func() file: pkg/toolsets/toolsets.go start line: 154 end line: 162 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func InitContextToolset() file: pkg/github/tools.go start line: 106 end line: 114 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: func NewToolset() file: pkg/toolsets/toolsets.go start line: 107 end line: 114 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: func GetRepositoryResourceContent() file: pkg/github/repository_resource.go start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: func GetRepositoryResourceBranchContent() file: pkg/github/repository_resource.go start line: 30 end line: 36 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 80 unit: func GetRepositoryResourceCommitContent() file: pkg/github/repository_resource.go start line: 39 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: func GetRepositoryResourceTagContent() file: pkg/github/repository_resource.go start line: 48 end line: 54 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: func GetRepositoryResourcePrContent() file: pkg/github/repository_resource.go start line: 57 end line: 63 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: func RequiredInt() file: pkg/github/server.go start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: func OptionalIntParam() file: pkg/github/server.go start line: 125 end line: 131 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: func RegisterResources() file: pkg/github/resources.go start line: 8 end line: 14 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 86 unit: func ToolsetEnum() file: pkg/github/dynamic_tools.go start line: 14 end line: 20 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: func NewIOLogger() file: pkg/log/io.go start line: 18 end line: 24 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 88 unit: func() file: pkg/log/io.go start line: 39 end line: 45 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: func NewToolsetGroup() file: pkg/toolsets/toolsets.go start line: 92 end line: 98 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: pkg/toolsets/toolsets.go start line: 33 end line: 38 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: func() file: pkg/toolsets/toolsets.go start line: 100 end line: 105 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: func main() file: cmd/github-mcp-server/main.go start line: 240 end line: 245 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 93 unit: func() file: pkg/toolsets/toolsets.go start line: 164 end line: 168 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: func isAcceptedError() file: pkg/github/server.go start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func initConfig() file: cmd/github-mcp-server/main.go start line: 100 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: func NullTranslationHelper() file: pkg/translations/translations.go start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 97 unit: func NewServerTool() file: pkg/toolsets/toolsets.go start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: func() file: pkg/toolsets/toolsets.go start line: 54 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1