repowiserenovatebot/renovate

Code health of renovatebot/renovate

Repowise scores renovatebot/renovate at 8.0 out of 10 for code health, which reads as good, alongside maintainability 8.9 and static performance 9.9 on the same scale. There are 2,768 open findings across the three pillars, and the lowest-scoring file is index.ts at 1.9. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

212 critical, 437 high, 996 medium, 994 low.

Hotspots

202 files are flagged as hotspots. The top 5:

  • lib/util/git/index.spec.ts: 24 commits in the last 90 days from 10 contributors with 15 recent bug fixes
  • lib/workers/repository/process/lookup/index.spec.ts: 6 commits in the last 90 days from 8 contributors with 8 recent bug fixes
  • lib/config/validation.spec.ts: 15 commits in the last 90 days from 6 contributors with 11 recent bug fixes
  • lib/modules/manager/github-actions/extract.spec.ts: 12 commits in the last 90 days from 13 contributors with 4 recent bug fixes
  • lib/modules/platform/azure/index.spec.ts: 8 commits in the last 90 days from 7 contributors with 3 recent bug fixes

Lowest-scoring files

  • lib/modules/platform/forgejo/index.ts: 1.9 out of 10 with 2 bug fixes in the last 180 days
  • lib/config/validation.ts: 1.9 out of 10 with 9 bug fixes in the last 180 days
  • lib/workers/repository/dependency-dashboard.ts: 1.9 out of 10 with 3 bug fixes in the last 180 days
  • lib/modules/platform/gitea/index.ts: 1.9 out of 10 with 2 bug fixes in the last 180 days
  • lib/util/http/http.ts: 2.0 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 18 had a bug fix in the last 180 days. Across all 3,398 scored files, 12.1% had a bug fix in that window.

Dead code and refactoring

Repowise found 78 unused exports. 284 refactoring targets across 284 files would raise the score.

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

Related guide: Best dead code detection tools by language