wangzan101 / mika
Code health
Hotspots average 7.9, the place fixes pay off most.
Explore this codebase
- Code health map46hotspots across 1,313 files
- Ownership1,006sole-owned files: one author, no second reader
- Architecture4modules, 14 entry points
- DecisionsNo decisions recorded yet
- Refactoring7open 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 Oct 30, the last indexed commit, 1 of them now.
Worth planning
Break up execute (CCN 39, 338 lines)
app/src/main/java/com/wangzan101/mika/task/TaskRun.kt:526
execute has many paths; easier to read and change once split; its file is imported by 8 files, changed 4 times in 90 days.
- gain
- up to +1.3 health on this file(inferred)
- finding
- Complex method
- size
- CCN 39, 338 lines
- severity
- high
Medium effort, worth a checkTidy the code shape this week's commits left: 10 findings in 7 files
6 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
app/src/main/java/com/wangzan101/mika/ui/PhoneSetupScreen.kt(3 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 10
- files
- 7
- commits
- 6
Medium 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 health702 open findingsCriticalLong function · app/src/main/assets/web/page.js96 findings · 8.4 deducted
- Refactoring7 open opportunitiesLowModelsCopy+0.6 health, M effort · app/src/main/java/com/wangzan101/mika/ui/ModelsScreen.kt
- Decisions0 to reviewMediumapp/src/main/java/com/wangzan101/mika/settings/ProviderStore.kt0 awaiting review, 0 drifting from the code
- Ownership1,006 sole-owned filesMediumapp/src/main/java/com/wangzan101/mika/ui/ChatViewModel.ktOne author, no second reader