repowisebaarai/artex

Code health of baarai/artex

Repowise scores baarai/artex at 6.1 out of 10 for code health, which reads as fair, alongside maintainability 7.3 and static performance 9.9 on the same scale. There are 2,820 open findings across the three pillars, and the lowest-scoring file is argv_compound.go at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

274 critical, 574 high, 1,561 medium, 411 low.

Hotspots

137 files are flagged as hotspots. The top 5:

  • web/src/app/(main)/function/tasks/page.tsx: 26 commits in the last 90 days from 6 contributors with 3 recent bug fixes
  • server/server.go: 125 commits in the last 90 days from 19 contributors with 24 recent bug fixes
  • web/src/app/(main)/function/tasks/detail/_tabs/sessions-tab.tsx: 21 commits in the last 90 days from 6 contributors with 7 recent bug fixes
  • db/exploration.go: 36 commits in the last 90 days from 6 contributors with 6 recent bug fixes
  • agent/tools.go: 48 commits in the last 90 days from 6 contributors with 10 recent bug fixes

Lowest-scoring files

  • intercept/argv_compound.go: 1.0 out of 10 with 4 bug fixes in the last 180 days
  • server/server_mgmt.go: 1.0 out of 10 with 7 bug fixes in the last 180 days
  • server/task_llm.go: 1.0 out of 10 with 6 bug fixes in the last 180 days
  • agent/tools.go: 1.0 out of 10 with 10 bug fixes in the last 180 days
  • web/src/lib/mock/handler.ts: 1.0 out of 10 with 7 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 19 had a bug fix in the last 180 days. Across all 819 scored files, 15.8% had a bug fix in that window.

Dead code and refactoring

Repowise found 186 unused exports. 219 refactoring targets across 219 files would raise the score.

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

Related guide: Best dead code detection tools by language