Code health of gothamor/gta-vcs-recomp
Repowise scores gothamor/gta-vcs-recomp at 5.0 out of 10 for code health, which reads as needs work, alongside maintainability 6.2 and static performance 10.0 on the same scale. There are 1,920 open findings across the three pillars, and the lowest-scoring file is gs_hw.cpp at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
291 critical, 465 high, 835 medium, 329 low.
Hotspots
48 files are flagged as hotspots. The top 5:
- src/game/vcs_rsl_world.cpp: 21 commits in the last 90 days from 1 contributor
- src/game/vcs_hle_world.cpp: 24 commits in the last 90 days from 1 contributor with 1 recent bug fix
- src/game/vcs_overrides.cpp: 55 commits in the last 90 days from 1 contributor with 7 recent bug fixes
- src/game/vcs_input.cpp: 25 commits in the last 90 days from 1 contributor
- src/rhi/vulkan/rhi_vulkan.cpp: 12 commits in the last 90 days from 2 contributors
Lowest-scoring files
- third_party/PS2Recomp/ps2xRuntime/src/lib/gs/gs_hw.cpp: 1.0 out of 10 with 5 bug fixes in the last 180 days
- src/game/vcs_rsl_world.cpp: 1.0 out of 10
- third_party/PS2Recomp/ps2xRuntime/src/lib/ps2_memory.cpp: 1.0 out of 10 with 5 bug fixes in the last 180 days
- third_party/PS2Recomp/ps2xRuntime/src/lib/vu/ps2_vu1_core.cpp: 1.0 out of 10 with 1 bug fix in the last 180 days
- src/game/vcs_hle_world.cpp: 1.0 out of 10 with 1 bug fix in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 11 had a bug fix in the last 180 days. Across all 530 scored files, 8.1% had a bug fix in that window.
Dead code and refactoring
146 refactoring targets across 146 files would raise the score.
More on gta-vcs-recomp: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language