Code health of itsnotrexed/leonida
Repowise scores itsnotrexed/leonida at 6.4 out of 10 for code health, which reads as fair, alongside maintainability 7.3 and static performance 9.9 on the same scale. There are 1,321 open findings across the three pillars, and the lowest-scoring file is rdna2spirv.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
141 critical, 233 high, 719 medium, 228 low.
Hotspots
8 files are flagged as hotspots. The top 5:
- runtime/shims/d3d12_vulkan_device.cpp: 14 commits in the last 90 days from 8 contributors with 1 recent bug fix
- runtime/src/vulkan_replay.h: 11 commits in the last 90 days from 7 contributors with 1 recent bug fix
- make_game.py: 32 commits in the last 90 days from 16 contributors with 3 recent bug fixes
- runtime/src/pe_loader.cpp: 9 commits in the last 90 days from 6 contributors with 1 recent bug fix
- runtime/src/root_signature.cpp: 6 commits in the last 90 days from 2 contributors with 2 recent bug fixes
Lowest-scoring files
- tools/rdna2spirv.py: 1.0 out of 10 with 3 bug fixes in the last 180 days
- tools/ttpf_mips.py: 1.0 out of 10
- runtime/test/d3d12_vulkan_device_test.cpp: 1.0 out of 10 with 1 bug fix in the last 180 days
- runtime/shims/d3d12_vulkan_device.cpp: 1.0 out of 10 with 1 bug fix in the last 180 days
- scripts/run_gpu_tests.py: 1.0 out of 10 with 6 bug fixes 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 331 scored files, 18.7% had a bug fix in that window.
Dead code and refactoring
86 refactoring targets across 86 files would raise the score.
More on leonida: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language