repowisedashpay/base-sdk

dashpay / base-sdk

rustdevelopd41bb4c35.1K linessynced 1d ago

Code health

8.3out of 10Good

Hotspots average 7.5, the place fixes pay off most.

Explore this codebase

Do next · 2

2 things worth doing in the week to Oct 22, the last indexed commit.

Worth planning

  • Flatten the nesting in verify_chunks

    meta/dev/src/bin/bsdk_util/bspcheck.rs:520

    verify_chunks nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 6 commits; its file is imported by 2 files, changed 4 times in 90 days.

    gain
    up to +1.5 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 26, 112 lines, nests 5 deep
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 1 finding in contrib/smoke_test.py

    1 commit in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with contrib/smoke_test.py (1 finding): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    1
    files
    1
    commits
    1

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

5 areas