{"adoption": {"forks": 97, "observed_at": "2026-08-28T04:05:09.175147+00:00", "stars": 1598}, "canonical_url": "https://ross.abutalabs.com/products/gocyclo", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Calculate cyclomatic complexities of functions in Go source code.", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["developer-tools", "linter", "testing"], "health_score": 56, "homepage": null, "language": "Go", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["fzipp/gocyclo"], "name": "fzipp/gocyclo", "platform": ["go", "cli", "cross-platform"], "pushed_at": "2025-12-27T21:31:09+00:00", "repo": "fzipp/gocyclo", "stars": 1598, "tags": ["cyclomatic-complexity", "code-metrics", "static-analysis", "code-quality", "mccabe", "golang", "command-line"], "topics": ["cyclomatic-complexity", "code-metrics", "go", "golang", "mccabe-metric", "mccabe", "software-metrics"], "urls": [], "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"], "what_it_is": "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.", "when_to_avoid": ["you need complexity analysis for languages other than Go", "you need broader static analysis beyond complexity metrics"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/gocyclo", "repo": "fzipp/gocyclo", "role": "main", "score": 59}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.175147+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:53:16.741772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2581cff36ee575c59b0f0688c65661f19cfe317153d8451e7768b5570d94a4d", "fetched_at": "2026-08-28T04:05:09.175147+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fzipp/gocyclo"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 59, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4607, "days_push": 249, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 59, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}