repowisechunkhound/chunkhound

Code health of chunkhound/chunkhound

Repowise scores chunkhound/chunkhound at 6.3 out of 10 for code health, which reads as fair, alongside maintainability 7.0 and static performance 9.7 on the same scale. There are 4,071 open findings across the three pillars, and the lowest-scoring file is indexing_coordinator.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

270 critical, 676 high, 1,231 medium, 1,824 low.

Hotspots

61 files are flagged as hotspots. The top 5:

  • chunkhound/services/indexing_coordinator.py: 5 commits in the last 90 days from 9 contributors with 8 recent bug fixes
  • chunkhound/core/config/llm_config.py: 6 commits in the last 90 days from 6 contributors with 1 recent bug fix
  • chunkhound/providers/database/duckdb_provider.py: 6 commits in the last 90 days from 6 contributors with 3 recent bug fixes
  • chunkhound/providers/embeddings/openai_provider.py: 4 commits in the last 90 days from 3 contributors with 3 recent bug fixes
  • tests/test_mcp_tool_consistency.py: 9 commits in the last 90 days from 6 contributors

Lowest-scoring files

  • chunkhound/services/indexing_coordinator.py: 1.0 out of 10 with 8 bug fixes in the last 180 days
  • chunkhound/providers/database/lancedb_provider.py: 1.0 out of 10 with 1 bug fix in the last 180 days
  • chunkhound/mcp_server/base.py: 1.0 out of 10 with 1 bug fix in the last 180 days
  • chunkhound/services/embedding_service.py: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • chunkhound/utils/ignore_engine.py: 1.0 out of 10 with 2 bug fixes in the last 180 days

Checked against bug fixes

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

Dead code and refactoring

Repowise found 45 unused exports. 218 refactoring targets across 218 files would raise the score.

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