Code health of starpanda24825/fang
Repowise scores starpanda24825/fang at 7.9 out of 10 for code health, which reads as good, alongside maintainability 8.4 and static performance 9.9 on the same scale. There are 162 open findings across the three pillars, and the lowest-scoring file is validate_data.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
13 critical, 24 high, 67 medium, 58 low.
Hotspots
17 files are flagged as hotspots. The top 5:
- tests/netcode/move_scenario.sh: 7 commits in the last 90 days from 1 contributor with 1 recent bug fix
- game/Source/FangGame/Private/FangCharacterMovementComponent.cpp: 7 commits in the last 90 days from 1 contributor with 1 recent bug fix
- game/Source/FangGame/Private/FangCharacter.cpp: 10 commits in the last 90 days from 1 contributor with 1 recent bug fix
- game/Source/FangTests/Private/FangMovementTests.cpp: 6 commits in the last 90 days from 1 contributor with 1 recent bug fix
- game/Source/FangGame/Private/FangGameMode.cpp: 8 commits in the last 90 days from 1 contributor
Lowest-scoring files
- tools/validate_data.py: 1.0 out of 10
- game/Source/FangCore/Private/FangMovementEnvelope.cpp: 1.0 out of 10
- game/Source/FangCore/Private/FangCreatureData.cpp: 3.4 out of 10
- game/Source/FangGame/Private/FangCharacterMovementComponent.cpp: 3.5 out of 10 with 1 bug fix in the last 180 days
- game/Source/FangGame/Private/FangGameMode.cpp: 3.9 out of 10
Checked against bug fixes
Of the 20 files Repowise scores lowest, 3 had a bug fix in the last 180 days. Across all 130 scored files, 6.2% had a bug fix in that window.
Dead code and refactoring
Repowise found 6 unused exports. 9 refactoring targets across 9 files would raise the score.
More on fang: summary and FAQ, codebase overview, architecture.