repowisenarcooo/inkos

Code health of narcooo/inkos

Repowise scores narcooo/inkos at 6.0 out of 10 for code health, which reads as fair, alongside maintainability 8.0 and static performance 9.7 on the same scale. There are 2,019 open findings across the three pillars, and the lowest-scoring file is runner.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

257 critical, 348 high, 639 medium, 572 low.

Hotspots

92 files are flagged as hotspots. The top 5:

  • packages/studio/src/api/server.ts: 101 commits in the last 90 days from 1 contributor with 104 recent bug fixes
  • packages/studio/src/api/server.test.ts: 72 commits in the last 90 days from 1 contributor with 80 recent bug fixes
  • packages/core/src/agent/agent-tools.ts: 55 commits in the last 90 days from 1 contributor with 43 recent bug fixes
  • packages/studio/src/pages/ChatPage.tsx: 30 commits in the last 90 days from 1 contributor with 13 recent bug fixes
  • packages/core/src/agent/agent-system-prompt.ts: 40 commits in the last 90 days from 1 contributor with 17 recent bug fixes

Lowest-scoring files

  • packages/core/src/pipeline/runner.ts: 1.0 out of 10 with 44 bug fixes in the last 180 days
  • packages/core/src/state/manager.ts: 1.0 out of 10 with 14 bug fixes in the last 180 days
  • packages/studio/src/store/chat/parts-builder.ts: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • packages/core/src/interactive-film/validation.ts: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • packages/core/src/pipeline/short-fiction-runner.ts: 1.0 out of 10 with 9 bug fixes in the last 180 days

Checked against bug fixes

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

Dead code and refactoring

Repowise found 161 unused exports. 99 refactoring targets across 99 files would raise the score.

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

Related guide: Best dead code detection tools by language