qybaihe / bla
Code health
Hotspots average 3.4, the place fixes pay off most.
Explore this codebase
- Code health map46hotspots across 445 files
- Ownership244sole-owned files: one author, no second reader
- Architecture7modules, 9 entry points
- Decisions48recorded, of which 0 in force and 48 background
- Refactoring65open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 6
7 things worth doing in the week to Nov 16, the last indexed commit, 1 of them now.
Worth planning
Tidy the code shape this week's commits left: 77 findings in 29 files
20 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
src/shields/weave/weave-decoy.ts(12 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 77
- files
- 29
- commits
- 20
Large effortSimplify
protectTargetInnerinsrc/engine/protector.ts: tests reach it, and fixes keep landingChanged 56 times in 90 days, and 14 of those commits were bug fixes.
- commits in 90 days
- 56
- bug-fix commits
- 14
- line coverage
- Unknown, no report
- tests that reach it
- 77 test files, call graph(inferred)
Large effort, worth a checkSimplify
hardenProjectinsrc/engine/harden.ts: tests reach it, and fixes keep landingChanged 53 times in 90 days, and 11 of those commits were bug fixes.
- commits in 90 days
- 53
- bug-fix commits
- 11
- line coverage
- Unknown, no report
- tests that reach it
- 51 test files, call graph(inferred)
Large effort, worth a checkSimplify
runCliinsrc/cli.ts: tests reach it, and fixes keep landingChanged 51 times in 90 days, and 9 of those commits were bug fixes.
- commits in 90 days
- 51
- bug-fix commits
- 9
- line coverage
- Unknown, no report
- tests that reach it
- 17 test files, call graph(inferred)
Large effort, worth a checkSimplify
handleMcpRequestinsrc/mcp/server.ts: tests reach it, and fixes keep landingChanged 48 times in 90 days, and 9 of those commits were bug fixes.
- commits in 90 days
- 48
- bug-fix commits
- 9
- line coverage
- Unknown, no report
- tests that reach it
- 32 test files, call graph(inferred)
Large effort, worth a check
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health983 open findingsCriticalChange entropy · src/shields/javascript/ast-shield.ts68 findings · 12.5 deducted
- Refactoring65 open opportunitiesMediumverifyTarget+1.5 health, L effort · src/engine/verifier.ts
- Doc drift2Mediumdocs/readme/README_zh.mdLink points at #基准测试14-个目标产物, which docs/readme/README_zh.md no longer declares.
- Decisions0 drifting from the codeMediumsrc/shields/runtime/sidecar-entangle.tsHigh-churn file with no governing decision
- Ownership244 sole-owned filesMediumsrc/index.tsOne author, no second reader