repowiseccch1mneyyy/dsh-go

ccch1mneyyy / dsh-go

dartmain97635eb582.8K linessynced on Nov 8, 2026

Code health

7.8out of 10Good

Hotspots average 6.5, the place fixes pay off most.

Explore this codebase

Do next · 9

13 things worth doing in the week to Nov 8, the last indexed commit, 4 of them now.

Worth planning

  • Break up build (CCN 130, 565 lines)

    app/lib/ui/chat/chat_screen.dart:1501

    build has many paths; easier to read and change once split, which also removes a duplicate; function changed in 12 commits; its file is imported by 65 files, changed 24 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 130, 565 lines
    severity
    high
    worth a check
  • Break up scheduleArchive (CCN 43, 145 lines)

    app/lib/state/sessions_state.dart:677

    scheduleArchive has many paths; easier to read and change once split, which also removes a duplicate; function changed in 2 commits; its file is imported by 169 files, changed 11 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 43, 145 lines
    severity
    high
    worth a check
  • Review why fixes keep landing in app/android/app/src/main/kotlin/io/github/ccch1mneyyy/dsh_app/phone/background/BackgroundDisplay.kt: tests reach it

    Changed 15 times in 90 days, and 10 of those commits were bug fixes.

    commits in 90 days
    15
    bug-fix commits
    10
    line coverage
    Unknown, no report
    tests that reach it
    1 test file, call graph(inferred)
    worth a check
  • Tidy the code shape this week's commits left: 39 findings in 20 files

    16 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with app/lib/ui/chat/chat_screen.dart (3 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    39
    files
    20
    commits
    16
  • Review why fixes keep landing in app/android/app/src/main/kotlin/io/github/ccch1mneyyy/dsh_app/phone/background/BackgroundControl.kt: tests reach it

    Changed 26 times in 90 days, and 16 of those commits were bug fixes.

    commits in 90 days
    26
    bug-fix commits
    16
    line coverage
    Unknown, no report
    tests that reach it
    9 test files, call graph(inferred)
    worth a check

Everything we found

6 areas