repowisetencentcloud/tencentdb-agent-memory

Code health of tencentcloud/tencentdb-agent-memory

Repowise scores tencentcloud/tencentdb-agent-memory at 6.7 out of 10 for code health, which reads as fair, alongside maintainability 6.9 and static performance 9.8 on the same scale. There are 2,417 open findings across the three pillars, and the lowest-scoring file is store.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

230 critical, 400 high, 942 medium, 839 low.

Hotspots

101 files are flagged as hotspots. The top 5:

  • MemoryProxy/src/pipeline/runners/openai-chat.ts: 8 commits in the last 90 days from 4 contributors with 2 recent bug fixes
  • MemoryProxy/src/pipeline/runners/anthropic.ts: 7 commits in the last 90 days from 3 contributors with 1 recent bug fix
  • MemoryProxy/src/session/codebuddy/init.ts: 8 commits in the last 90 days from 4 contributors with 1 recent bug fix
  • MemoryPanel/web/src/pages/ChatMemoryPage/components/BlockDetail.tsx: 5 commits in the last 90 days from 1 contributor
  • MemoryProxy/src/pipeline/runners/workbuddy.ts: 6 commits in the last 90 days from 2 contributors

Lowest-scoring files

  • MemoryProxy/src/session/store.ts: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • MemoryProxy/src/pipeline/runners/openai-chat.ts: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • MemoryProxy/src/pipeline/runners/anthropic.ts: 1.0 out of 10 with 1 bug fix in the last 180 days
  • MemoryCore/src/offload/hooks/llm-input-l3.ts: 1.0 out of 10
  • agents/asset-import.ts: 1.0 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 7 had a bug fix in the last 180 days. Across all 1,082 scored files, 4.3% had a bug fix in that window.

Dead code and refactoring

Repowise found 93 unused exports. 154 refactoring targets across 154 files would raise the score.

More on tencentdb-agent-memory: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language