Code health of coleleavitt/unlace
Repowise scores coleleavitt/unlace at 5.7 out of 10 for code health, which reads as fair, alongside maintainability 6.2 and static performance 9.9 on the same scale. There are 6,655 open findings across the three pillars, and the lowest-scoring file is mod.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
314 critical, 807 high, 1,873 medium, 3,661 low.
Hotspots
85 files are flagged as hotspots. The top 5:
- crates/unlace-output/src/c_printer/mod.rs: 29 commits in the last 90 days from 3 contributors with 31 recent bug fixes
- crates/unlace-cli/src/pipeline.rs: 32 commits in the last 90 days from 8 contributors with 17 recent bug fixes
- tests/golden/expected/medium.c: 23 commits in the last 90 days from 2 contributors with 6 recent bug fixes
- crates/unlace-struct/src/structurer/mod.rs: 9 commits in the last 90 days from 2 contributors with 3 recent bug fixes
- crates/unlace-cli/src/main.rs: 14 commits in the last 90 days from 1 contributor with 8 recent bug fixes
Lowest-scoring files
- crates/unlace-output/src/c_printer/mod.rs: 1.0 out of 10 with 31 bug fixes in the last 180 days
- crates/unlace-struct/src/structurer/mod.rs: 1.0 out of 10 with 3 bug fixes in the last 180 days
- tests/golden/expected/medium.c: 1.0 out of 10 with 6 bug fixes in the last 180 days
- crates/unlace-cli/src/pipeline.rs: 1.0 out of 10 with 17 bug fixes in the last 180 days
- crates/unlace-engine/src/fspec.rs: 1.0 out of 10
Checked against bug fixes
Of the 20 files Repowise scores lowest, 6 had a bug fix in the last 180 days. Across all 1,250 scored files, 7.0% had a bug fix in that window.
Dead code and refactoring
Repowise found 31 unused exports. 304 refactoring targets across 304 files would raise the score.
More on unlace: summary and FAQ, codebase overview, architecture.