repowiselibracoder/kiri

Code health of libracoder/kiri

Repowise scores libracoder/kiri at 6.2 out of 10 for code health, which reads as fair, alongside maintainability 7.2 and static performance 9.7 on the same scale. There are 1,213 open findings across the three pillars, and the lowest-scoring file is xterm.js at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

75 critical, 161 high, 808 medium, 169 low.

Hotspots

52 files are flagged as hotspots. The top 5:

  • crates/kiri/src/daemon/api.rs: 41 commits in the last 90 days from 11 contributors with 2 recent bug fixes
  • crates/kiri/src/daemon/engine.rs: 34 commits in the last 90 days from 7 contributors with 3 recent bug fixes
  • crates/kiri-init/src/linux/container.rs: 37 commits in the last 90 days from 7 contributors with 3 recent bug fixes
  • crates/kiri-init/src/linux/agent.rs: 20 commits in the last 90 days from 2 contributors with 2 recent bug fixes
  • crates/kiri/src/import.rs: 6 commits in the last 90 days from 1 contributor with 1 recent bug fix

Lowest-scoring files

  • crates/kiri/src/ui/xterm/xterm.js: 1.0 out of 10
  • crates/kiri/src/daemon/engine.rs: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • crates/kiri/src/daemon/api.rs: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • crates/kiri-init/src/linux/agent.rs: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • crates/kiri/src/ui/compose.rs: 1.0 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 8 had a bug fix in the last 180 days. Across all 345 scored files, 6.4% had a bug fix in that window.

Dead code and refactoring

51 refactoring targets across 51 files would raise the score.

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

Related guide: Best dead code detection tools by language