Ross ROSS = Recommend OSS · open-source software intelligence for agents

fzipp/gocyclo

Calculate cyclomatic complexities of functions in Go source code. observed · 2026-08-28

github.com/fzipp/gocyclo · Go · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

59/100

  • Activity 59
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4607
  • days_rel: n/a
  • days_push: 249
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1598 stars · 97 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

gocyclo is a command-line tool that calculates the cyclomatic complexity of functions in Go source code. It helps identify complex functions that may need refactoring by measuring the number of linearly independent paths through each function.

Use cases

  • measure cyclomatic complexity of go functions
  • find most complex functions in a go codebase
  • enforce complexity thresholds in ci
  • identify go code that needs refactoring
  • compute average code complexity of a project
  • exclude test or vendor files from complexity analysis

When to choose

  • you maintain a Go codebase and want to track code quality metrics
  • you want a simple, fast CLI to flag overly complex functions
  • you need to gate CI on a maximum complexity threshold

When to avoid

  • you need complexity analysis for languages other than Go
  • you need broader static analysis beyond complexity metrics

Facets

cli-tool · maturity stable

developer-tools linter testing developer-tools performance go cli cross-platform cyclomatic-complexity code-metrics static-analysis code-quality mccabe golang command-line

1 source

Member repositories

RepositoryRoleHealth v2
fzipp/gocyclomain59

For agents

markdown · JSON · MCP: product_card(name="fzipp/gocyclo")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem