p1neapplexpress / openflux
Code health
Hotspots average 4.9, the place fixes pay off most.
Explore this codebase
- Code health map49hotspots across 349 files
- Ownership195sole-owned files: one author, no second reader
- Architecture16modules, 9 entry points
- Decisions29recorded, of which 0 in force and 29 background
- Refactoring106open 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 in the week to Oct 7, the last indexed commit.
Worth planning
Start breaking up main (CCN 160, 713 lines): first lift lines 183-218
main.go:183
main nests deeply; easier to read and change once split; function changed in 41 commits; changed 52 times in 90 days.
- gain
- up to +0.9 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 160, 713 lines, nests 5 deep
- severity
- high
Medium effort, worth a checkBreak up startOutgoingCall (CCN 24, 120 lines)
transport/oneme/max_call.go:357
startOutgoingCall nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 5 commits; its file is imported by 2 files, changed 6 times in 90 days.
- gain
- up to +0.6 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 24, 120 lines, nests 6 deep
- severity
- high
Medium effort, worth a checkTidy the code shape this week's commits left: 35 findings in 21 files
13 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
provision/phphost/ftp.go(3 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 35
- files
- 21
- commits
- 13
Large effort
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
4 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health1,220 open findingsCriticalChange entropy · transport/yandex/vyandex.go35 findings · 8.0 deducted
- Refactoring106 open opportunitiesLowAcceptCookies+0.7 health, S effort · transport/manager/manager.go
- Decisions0 drifting from the codeMediummain.goHigh-churn file with no governing decision
- Ownership195 sole-owned filesMediumtransport/yandex/boards.goOne author, no second reader