Code health of coleleavitt/kuna
Repowise scores coleleavitt/kuna at 5.3 out of 10 for code health, which reads as needs work, alongside maintainability 5.8 and static performance 9.7 on the same scale. There are 22,409 open findings across the three pillars, and the lowest-scoring file is printc.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
750 critical, 1,812 high, 4,909 medium, 14,938 low.
Hotspots
348 files are flagged as hotspots. The top 5:
- decompiler/crates/kuna-decomp/src/p9_emit/printc.rs: 114 commits in the last 90 days from 6 contributors with 45 recent bug fixes
- decompiler/crates/kuna-cli/tests/decompile_all_cli.rs: 83 commits in the last 90 days from 6 contributors with 25 recent bug fixes
- decompiler/crates/kuna-decomp/src/infra/architecture.rs: 310 commits in the last 90 days from 8 contributors with 91 recent bug fixes
- decompiler/crates/kuna-cli/src/decompile_all.rs: 92 commits in the last 90 days from 7 contributors with 30 recent bug fixes
- decompiler/crates/kuna-decomp/src/p0_knowledge/kuna_phases/tests.rs: 257 commits in the last 90 days from 7 contributors with 65 recent bug fixes
Lowest-scoring files
- decompiler/crates/kuna-decomp/src/p9_emit/printc.rs: 1.0 out of 10 with 45 bug fixes in the last 180 days
- decompiler/crates/kuna-decomp/src/substrate/funcdata_block.rs: 1.0 out of 10 with 16 bug fixes in the last 180 days
- decompiler/crates/kuna-decomp/src/p2_lift/jumptable.rs: 1.0 out of 10 with 5 bug fixes in the last 180 days
- decompiler/crates/kuna-cli/tests/decompile_all_cli.rs: 1.0 out of 10 with 25 bug fixes in the last 180 days
- decompiler/crates/kuna-decomp/src/p3_dataflow/heritage.rs: 1.0 out of 10 with 20 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 20 had a bug fix in the last 180 days. Across all 2,326 scored files, 11.4% had a bug fix in that window.
Dead code and refactoring
Repowise found 25 unused exports. 401 refactoring targets across 401 files would raise the score.
More on kuna: summary and FAQ, codebase overview, architecture.