Code health of hurtener/harbor
Repowise scores hurtener/harbor at 7.0 out of 10 for code health, which reads as good, alongside maintainability 7.5 and static performance 9.9 on the same scale. There are 8,836 open findings across the three pillars, and the lowest-scoring file is conformance.go at 1.4. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
263 critical, 830 high, 1,878 medium, 5,444 low.
Hotspots
323 files are flagged as hotspots. The top 5:
- harbortest/devstack/devstack.go: 71 commits in the last 90 days from 2 contributors with 9 recent bug fixes
- cmd/harbor/cmd_dev.go: 82 commits in the last 90 days from 2 contributors with 8 recent bug fixes
- internal/protocol/methods/methods.go: 38 commits in the last 90 days from 2 contributors
- cmd/harbor/cmd_dev_runloop.go: 32 commits in the last 90 days from 2 contributors with 4 recent bug fixes
- internal/config/validate.go: 63 commits in the last 90 days from 3 contributors with 4 recent bug fixes
Lowest-scoring files
- internal/protocol/conformance/conformance.go: 1.4 out of 10 with 1 bug fix in the last 180 days
- harbortest/devstack/devstack.go: 1.4 out of 10 with 9 bug fixes in the last 180 days
- internal/llm/output/downgrade.go: 1.7 out of 10
- internal/protocol/transports/control/control.go: 1.7 out of 10
- internal/planner/trajectory/serialize.go: 1.7 out of 10
Checked against bug fixes
Of the 20 files Repowise scores lowest, 5 had a bug fix in the last 180 days. Across all 2,127 scored files, 7.7% had a bug fix in that window.
Dead code and refactoring
Repowise found 222 unused exports. 651 refactoring targets across 651 files would raise the score.
More on harbor: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language