repowiseegraphs-good/egglog

Code health of egraphs-good/egglog

Repowise scores egraphs-good/egglog at 4.0 out of 10 for code health, which reads as needs work, alongside maintainability 4.3 and static performance 9.8 on the same scale. There are 1,532 open findings across the three pillars, and the lowest-scoring file is execute.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

77 critical, 169 high, 254 medium, 767 low.

Hotspots

26 files are flagged as hotspots. The top 5:

  • src/lib.rs: 45 commits in the last 90 days from 22 contributors with 6 recent bug fixes
  • core-relations/src/free_join/execute.rs: 7 commits in the last 90 days from 5 contributors with 8 recent bug fixes
  • src/scheduler.rs: 12 commits in the last 90 days from 10 contributors with 3 recent bug fixes
  • src/extract.rs: 24 commits in the last 90 days from 14 contributors with 1 recent bug fix
  • src/typechecking.rs: 11 commits in the last 90 days from 16 contributors with 5 recent bug fixes

Lowest-scoring files

  • core-relations/src/free_join/execute.rs: 1.0 out of 10 with 8 bug fixes in the last 180 days
  • src/sort/multiset.rs: 1.0 out of 10
  • src/ast/mod.rs: 1.0 out of 10
  • src/proofs/proof_checker.rs: 1.0 out of 10
  • core-relations/src/action/mod.rs: 1.6 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 9 had a bug fix in the last 180 days. Across all 157 scored files, 11.5% had a bug fix in that window.

Dead code and refactoring

Repowise found 1 unused export. 49 refactoring targets across 49 files would raise the score.

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

Related guide: Best dead code detection tools by language