repowiseblockstream/esplora

Code health of blockstream/esplora

Repowise scores blockstream/esplora at 7.4 out of 10 for code health, which reads as good, alongside maintainability 9.0 and static performance 9.9 on the same scale. There are 135 open findings across the three pillars, and the lowest-scoring file is tx.js at 1.9. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

13 critical, 37 high, 53 medium, 28 low.

Hotspots

14 files are flagged as hotspots. The top 5:

  • client/src/views/tx.js: 8 commits in the last 90 days from 6 contributors
  • client/src/views/blocks.js: 6 commits in the last 90 days from 4 contributors
  • client/src/views/block.js: 6 commits in the last 90 days from 5 contributors
  • client/src/views/asset.js: 3 commits in the last 90 days from 5 contributors
  • client/src/views/addr.js: 4 commits in the last 90 days from 5 contributors

Dead code and refactoring

7 refactoring targets across 7 files would raise the score.

More on esplora: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language