drl990114 / markflowy
Code health
Hotspots average 6.1, the place fixes pay off most.
Explore this codebase
- Code health map143hotspots across 1,689 files
- Ownership1,424sole-owned files: one author, no second reader
- Architecture6modules, 24 entry points
- Decisions26recorded, of which 0 in force and 26 background
- Refactoring46open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 2
3 things worth doing in the week to Nov 4, the last indexed commit, 1 of them now.
Worth planning
Tidy the code shape this week's commits left: 22 findings in 13 files
4 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
apps/desktop/src/stores/useEditorStore.ts(3 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 22
- files
- 13
- commits
- 4
Large effortReview why fixes keep landing in
apps/desktop/capricornRuntimeResolver.ts: tests reach itChanged 29 times in 90 days, and 5 of those commits were bug fixes.
- commits in 90 days
- 29
- bug-fix commits
- 5
- line coverage
- Unknown, no report
- tests that reach it
- 2 test files, call graph(inferred)
Medium effort, worth a check
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health1,888 open findingsCriticalComplex method · apps/desktop/src/components/EditorArea/TextEditor.tsx18 findings · 11.2 deducted
- Refactoring46 open opportunitiesLowmoveFileNode+0.5 health, M effort · packages/interface/src/components/FileTree/file-operator.ts
- Doc drift1Mediumapps/desktop/src/services/API_USAGE.mdDocument names `useAuthStore`, which was defined in code when this line was written and is defined nowhere now.
- Decisions0 drifting from the codeMediumapps/desktop/src/components/EditorArea/TextEditor.tsxHigh-churn file with no governing decision
- Ownership1,424 sole-owned filesMediumapps/desktop/src/components/EditorArea/TextEditor.tsxOne author, no second reader