repowisep1neapplexpress/openflux

p1neapplexpress / openflux

gomain74cac6d50.8K linessynced on Oct 9, 2026

Code health

6.7out of 10Fair

Hotspots average 4.9, the place fixes pay off most.

Explore this codebase

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
    worth a check
  • Break 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
    worth a check
  • Tidy 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

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

Everything we found

4 areas