repowisesimbasjungles/free-my-tv

simbasjungles / free-my-tv

javamain62e883b11.6K linessynced 1d ago

Code health

4.3out of 10Needs work

This codebase scores 4.3 out of 10 for code health, which we rate needs work. It also scores maintainability 5.3 and static performance 9.3 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 11 of 55 files are git hotspots, and they average 2.5 — which is where the fixes pay off most.

Do next

3 suggested

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 +0.7 health on this file(inferred)
    finding
    Complex method
    size
    CCN 91, 61 lines, nests 3 deep
    severity
    high
    worth a check
  • Tidy 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
  • Break 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 +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 47, 46 lines
    severity
    high
    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
Lines of code
11.6K

Recent activity

All commits

Everything we found

420 open
  • java71%
  • python15%
  • javascript13%
  • shell2%

Explore this codebase