repowiseerkamyaman/rust-anything

Code health of erkamyaman/rust-anything

Repowise scores erkamyaman/rust-anything at 6.4 out of 10 for code health, which reads as fair, alongside maintainability 7.0 and static performance 9.9 on the same scale. There are 1,978 open findings across the three pillars, and the lowest-scoring file is remark.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

147 critical, 376 high, 1,024 medium, 431 low.

Hotspots

54 files are flagged as hotspots. The top 5:

  • src/harness.rs: 47 commits in the last 90 days from 3 contributors with 5 recent bug fixes
  • src/bridge.rs: 40 commits in the last 90 days from 6 contributors with 3 recent bug fixes
  • src/main.rs: 44 commits in the last 90 days from 4 contributors with 2 recent bug fixes
  • src/app.rs: 31 commits in the last 90 days from 4 contributors with 3 recent bug fixes
  • src/codegen_java.rs: 15 commits in the last 90 days from 3 contributors

Lowest-scoring files

  • demo/real-world/prettier-rs/prettier-js-rs/src/markdown/remark.rs: 1.0 out of 10 with 1 bug fix in the last 180 days
  • src/app.rs: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • demo/real-world/prettier-rs/prettier-js-rs/src/yaml/ast.rs: 1.0 out of 10 with 1 bug fix in the last 180 days
  • demo/x18n-core/project-rs/index.cjs: 1.0 out of 10
  • src/http.rs: 1.0 out of 10 with 1 bug fix in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 14 had a bug fix in the last 180 days. Across all 691 scored files, 19.0% had a bug fix in that window.

Dead code and refactoring

Repowise found 59 unused exports. 150 refactoring targets across 150 files would raise the score.

More on rust-anything: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language