repowiseanomalyco/rune

Code health of anomalyco/rune

Repowise scores anomalyco/rune at 8.1 out of 10 for code health, which reads as good, alongside maintainability 8.4 and static performance 10.0 on the same scale. There are 2,208 open findings across the three pillars, and the lowest-scoring file is frame.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

229 critical, 475 high, 1,169 medium, 335 low.

Hotspots

154 files are flagged as hotspots. The top 5:

  • crates/rune/src/shortcuts/service/machine_tests.rs: 10 commits in the last 90 days from 1 contributor
  • crates/rune/src/text/paragraphs.rs: 10 commits in the last 90 days from 2 contributors
  • crates/rune/src/runtime/scroll/x.rs: 8 commits in the last 90 days from 2 contributors
  • crates/rune/src/window/cpu_frame.rs: 22 commits in the last 90 days from 2 contributors with 1 recent bug fix
  • crates/rune/src/shortcuts/service.rs: 13 commits in the last 90 days from 1 contributor

Lowest-scoring files

  • crates/rune/src/runtime/frame.rs: 1.0 out of 10
  • crates/rune/src/runtime/input/focus.rs: 1.0 out of 10
  • crates/rune/src/runtime/paint/build.rs: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • crates/rune/src/render/layers.rs: 1.0 out of 10 with 1 bug fix in the last 180 days
  • crates/rune/src/runtime/paint/content.rs: 1.0 out of 10 with 4 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 1,718 scored files, 5.7% had a bug fix in that window.

Dead code and refactoring

Repowise found 57 unused exports. 258 refactoring targets across 258 files would raise the score.

More on rune: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language