dashpay / base-sdk
Code health
Hotspots average 7.5, the place fixes pay off most.
Explore this codebase
- Code health map65hotspots across 363 files
- Ownership254sole-owned files: one author, no second reader
- Architecture8modules, 28 entry points
- Decisions1recorded, of which 0 accepted and 1 awaiting review
- Refactoring15open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
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
Medium effort, worth a checkTidy the code shape this week's commits left: 1 finding in
contrib/smoke_test.py1 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
Medium effort
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
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health401 open findingsCriticalUntested hotspot · pkgs/primitives/src/transaction.rs9 findings · 7.8 deducted
- Refactoring15 open opportunitiesLowcheck+0.5 health, S effort · pkgs/primitives/src/block.rs
- Doc drift1Mediumdocs/dev/devshells.mdLink points at #docker, which docs/dev/devshells.md no longer declares.
- Decisions1 to reviewMediumpkgs/types/src/entity.rs1 awaiting review, 0 drifting from the code
- Ownership254 sole-owned filesMediumpkgs/pkc/src/bls/scheme_ops.rsOne author, no second reader