rowboatlabs / rowboat
Code health
Hotspots average 4.3, the place fixes pay off most.
Explore this codebase
- Code health map318hotspots across 1,451 files
- Ownership613sole-owned files: one author, no second reader
- Architecture1module, 16 entry points
- Decisions46recorded, of which 0 in force and 46 background
- Refactoring254open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 3
3 things worth doing this week.
Worth planning
Start breaking up Composer (CCN 222, 798 lines): first lift lines 180-199
apps/x/apps/renderer/src/components/spaces/composer.tsx:180
Composer has many paths; easier to read and change once split, which also removes a duplicate; function changed in 20 commits; its file is imported by 2 files, changed 27 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 222, 798 lines, nests 4 deep
- severity
- high
Medium effort, worth a checkStart breaking up ModelSelector (CCN 142, 484 lines): first lift lines 261-325
apps/x/apps/renderer/src/components/model-selector.tsx:261
ModelSelector has many paths; easier to read and change once split, which also removes a duplicate; function changed in 7 commits; its file is imported by 9 files, changed 8 times in 90 days.
- gain
- up to +1.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 142, 484 lines, nests 3 deep
- severity
- high
Medium effort, worth a checkStart breaking up FileColumn (CCN 103, 513 lines): first lift lines 623-659
apps/x/apps/renderer/src/components/spaces/files-tab.tsx:623
FileColumn nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 14 commits; its file is imported by 7 files, changed 20 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 103, 513 lines, nests 6 deep
- severity
- high
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
6 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health4,486 open findingsCriticalChurn risk · apps/x/apps/main/src/browser/view.ts19 findings · 9.4 deducted
- Refactoring254 open opportunitiesMediumcreateWorkspaceWatcher+1.7 health, M effort · apps/x/packages/core/src/workspace/watcher.ts
- Doc drift17Mediumapps/harbor/CONTRACT.mdLink points at #here, which apps/harbor/CONTRACT.md no longer declares.
- Decisions0 drifting from the codeMediumapps/x/apps/renderer/src/App.tsxHigh-churn file with no governing decision
- Ownership613 sole-owned filesMediumapps/harbor/packages/server/src/pg-store.tsOne author, no second reader
- Dead code18LowPairingScreenUnreachable function (155 lines)