Tracking issue for #38.
SonarCloud reports:
- 9,792 duplicated lines (4.8% density)
- 439 duplicated blocks
- 139 duplicated files
Suggested approach
- Pull the duplications report from SonarCloud UI for top-offending file pairs.
- Extract shared helpers into a
utils or internal module per package.
- For cross-package duplication (e.g. similar transaction-builder logic in
helpers/bsv-wallet-helper and wallet/wallet-toolbox), evaluate whether a shared internal package is appropriate.
Reproduce
SonarCloud UI: https://sonarcloud.io/component_measures?id=bsv-blockchain_ts-stack&metric=duplicated_lines_density
Refs: #38
Tracking issue for #38.
SonarCloud reports:
Suggested approach
utilsorinternalmodule per package.helpers/bsv-wallet-helperandwallet/wallet-toolbox), evaluate whether a shared internal package is appropriate.Reproduce
SonarCloud UI: https://sonarcloud.io/component_measures?id=bsv-blockchain_ts-stack&metric=duplicated_lines_density
Refs: #38