HexSleeves / CodexBar
Code health
Hotspots average 6.3, the place fixes pay off most.
Explore this codebase
- Code health map493hotspots across 2,466 files
- Ownership938sole-owned files: one author, no second reader
- Architecture9modules, 15 entry points
- Decisions29recorded, of which 0 accepted and 29 awaiting review
- Refactoring174open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 3
4 things worth doing in the week to Sep 2, the last indexed commit, 2 of them now.
Now
- High
Start breaking up fetchUsage (CCN 49, 269 lines): first lift lines 220-237
Sources/CodexBarCore/Resources/Plugins/openai.js:220
fetchUsage has a co change scatter finding; changed 4 times in 90 days.
- gain
- +0.8 health on this file(inferred)
- health recoverable
- +0.8(inferred)
- size
- CCN 49, 269 lines, nests 4 deep
- steps
- 1 (1 mechanical)
Small effort
Worth planning
Start breaking up fetchUsage (CCN 100, 349 lines): first lift lines 316-329
Sources/CodexBarCore/Resources/Plugins/openrouter.js:316
fetchUsage changes often and has low measured test coverage; function changed in 10 commits; changed 10 times in 90 days.
- gain
- +0.8 health on this file(inferred)
- health recoverable
- +0.8(inferred)
- size
- CCN 100, 349 lines, nests 6 deep
- steps
- 1 (0 mechanical)
Small effort, worth a checkStart breaking up fetchUsage (CCN 36, 318 lines): first lift lines 345-353
Sources/CodexBarCore/Resources/Plugins/synthetic.js:345
fetchUsage has a co change scatter finding, which also removes a duplicate; changed 3 times in 90 days.
- gain
- +0.8 health on this file(inferred)
- health recoverable
- +0.8(inferred)
- size
- CCN 36, 318 lines
- steps
- 1 (0 mechanical)
Small 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 health4,599 open findingsCriticalUntested hotspot · Sources/CodexBarCore/Resources/Plugins/zai.js17 findings · 9.8 deducted
- Refactoring174 open opportunitiesMediumfetchUsage+1.5 health, S effort · Sources/CodexBarCore/Resources/Plugins/qoder.js
- Decisions29 to reviewMediumSources/CodexBarCore/Vendored/CostUsage/CostUsageScanner.swift29 awaiting review, 0 drifting from the code
- Ownership938 sole-owned filesMediumSources/CodexBarCore/Providers/ProviderDescriptor.swiftOne author, no second reader
- Dead code14LowSources/CodexBar/Providers/Factory/FactoryLoginFlow.swiftUnreachable symbol (20 lines)