repowisejuliusbrussee/caveman

Code health of juliusbrussee/caveman

Repowise scores juliusbrussee/caveman at 6.3 out of 10 for code health, which reads as fair, alongside maintainability 7.7 and static performance 9.8 on the same scale. There are 4,342 open findings across the three pillars, and the lowest-scoring file is index.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

473 critical, 768 high, 2,511 medium, 590 low.

Hotspots

137 files are flagged as hotspots. The top 5:

  • packages/cli/src/index.ts: 263 commits in the last 90 days from 16 contributors with 220 recent bug fixes
  • installer/install.js: 106 commits in the last 90 days from 12 contributors with 73 recent bug fixes
  • proxy/internal/gateway/route.go: 33 commits in the last 90 days from 1 contributor with 21 recent bug fixes
  • proxy/internal/cloudlink/link.go: 45 commits in the last 90 days from 2 contributors with 34 recent bug fixes
  • proxy/internal/gateway/proxy.go: 75 commits in the last 90 days from 5 contributors with 60 recent bug fixes

Lowest-scoring files

  • packages/cli/src/index.ts: 1.0 out of 10 with 220 bug fixes in the last 180 days
  • installer/install.js: 1.0 out of 10 with 73 bug fixes in the last 180 days
  • proxy/providers/adapter.go: 1.0 out of 10 with 14 bug fixes in the last 180 days
  • proxy/internal/translate/translate.go: 1.0 out of 10 with 14 bug fixes in the last 180 days
  • proxy/internal/gateway/proxy.go: 1.0 out of 10 with 60 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 20 had a bug fix in the last 180 days. Across all 1,231 scored files, 18.5% had a bug fix in that window.

Dead code and refactoring

Repowise found 17 unused exports. 283 refactoring targets across 283 files would raise the score.

More on caveman: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language