You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SonarCloud analysis of bsv-blockchain_ts-stack (org bsv) reports 2,663 unresolved issues as of analysis revision 3c4826e0 (2026-05-06).
Repo is currently 3 commits ahead of origin/main; recent local commits (notably 643bc750 sonar pass 1, a2ab5d20 sonar pass 1) have already addressed the high-priority items:
2 BLOCKERs (typescript:S3516 — function always returns same value) → fixed locally in MockServices.ts and createAction.ts. Will auto-resolve on next analysis.
1 BUG (typescript:S1763 — unreachable code) in WhatsOnChain.ts:544 → fixed locally. Will auto-resolve.
1 VULNERABILITY (docker:S8543 — unlocked dependency versions) in packages/network/ts-p2p/Dockerfile → fixed in c4db5226. Will auto-resolve.
Once main is pushed and CI re-runs Sonar analysis, those 4 are off the board.
Project metrics
Metric
Value
Lines of code
161,853
Open issues
2,663
Cyclomatic complexity
22,546
Cognitive complexity
20,781
Duplicated lines
9,792 (4.8%)
Duplicated blocks
439
Duplicated files
139
Issue breakdown by impact severity
Severity
Count
BLOCKER
2 (already fixed locally)
HIGH
437
MEDIUM
658
LOW
1,594
INFO
63
Issue breakdown by type
Type
Count
CODE_SMELL
2,661
BUG
1 (already fixed)
VULNERABILITY
1 (already fixed)
Architecture cycles (madge analysis)
Package
Cycles
packages/sdk/src
32
packages/wallet/wallet-toolbox/src
174
packages/wallet/ts-wallet-relay/src
6
packages/helpers/simple/src
2
Total
214
See linked sub-issues per package.
Linked sub-issues
This issue tracks the follow-up effort. Sub-issues group remaining smells by rule (auto-fixable in batch) and architecture tangles per package.
Context
SonarCloud analysis of
bsv-blockchain_ts-stack(orgbsv) reports 2,663 unresolved issues as of analysis revision3c4826e0(2026-05-06).Repo is currently 3 commits ahead of
origin/main; recent local commits (notably643bc750 sonar pass 1,a2ab5d20 sonar pass 1) have already addressed the high-priority items:typescript:S3516— function always returns same value) → fixed locally inMockServices.tsandcreateAction.ts. Will auto-resolve on next analysis.typescript:S1763— unreachable code) inWhatsOnChain.ts:544→ fixed locally. Will auto-resolve.docker:S8543— unlocked dependency versions) inpackages/network/ts-p2p/Dockerfile→ fixed inc4db5226. Will auto-resolve.Once
mainis pushed and CI re-runs Sonar analysis, those 4 are off the board.Project metrics
Issue breakdown by impact severity
Issue breakdown by type
Architecture cycles (madge analysis)
packages/sdk/srcpackages/wallet/wallet-toolbox/srcpackages/wallet/ts-wallet-relay/srcpackages/helpers/simple/srcSee linked sub-issues per package.
Linked sub-issues
This issue tracks the follow-up effort. Sub-issues group remaining smells by rule (auto-fixable in batch) and architecture tangles per package.
Sub-issues
Architecture tangles
Bulk smells