simbasjungles / free-my-tv
Code health
Hotspots average 2.5, the place fixes pay off most.
Explore this codebase
- Code health map11hotspots across 55 files
- Ownership22sole-owned files: one author, no second reader
- Architecture7modules, 9 entry points
- Decisions9recorded, of which 0 accepted and 9 awaiting review
- Refactoring9open 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 20, the last indexed commit.
Worth planning
Break up condition (CCN 91, 61 lines)
app/src/io/freemytv/HomeData.java:336
condition has many paths; easier to read and change once split, which also removes a duplicate; function changed in 4 commits; its file is imported by 5 files, changed 11 times in 90 days.
- gain
- up to +2.5 health on this file(inferred)
- finding
- Complex method
- size
- CCN 91, 61 lines, nests 3 deep
- severity
- high
Medium effort, worth a checkTidy the code shape this week's commits left: 39 findings in 16 files
17 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
app/src/io/freemytv/HomeView.java(8 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 39
- files
- 16
- commits
- 17
Large effortBreak up doFrame (CCN 47, 46 lines)
app/src/io/freemytv/HomeView.java:668
doFrame has many paths; easier to read and change once split; its file is imported by 5 files, changed 16 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 47, 46 lines
- 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
4 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health343 open findingsCriticalGod class · app/src/io/freemytv/HomeMode.java47 findings · 9.6 deducted
- Refactoring9 open opportunitiesLowmain+0.4 health, S effort · tools/make_zones.py
- Decisions9 to reviewMediumapp/src/io/freemytv/HomeView.java9 awaiting review, 0 drifting from the code
- Ownership22 sole-owned filesMediumdocs/app.jsOne author, no second reader