sverklo
A
Overall Health
koajs/koa
https://github.com/koajs/koa
2026-04-19 00:07:28
A
Dead code
0% orphan symbols (0/8)
A
Circular deps
0 cycles detected
A
Coupling
max fan-in: 3 (lib/only.js)
A
Security
0 concerns found

Overview

  • 82 files indexed
  • 159 code symbols extracted
  • 2066 symbol references tracked
  • 0 active memories (0 core, 0 stale)
  • Languages: javascript (82)

God Nodes (most-referenced symbols)

These are the symbols your codebase depends on most. Changes here have the largest blast radius.

  • onerror — 8 references
  • Readable — 3 references
  • respond — 1 references

Hub Files (highest PageRank)

Core architectural files — imported by many others.

  • test-helpers/context.js (1.00)
  • lib/application.js (0.87)
  • lib/only.js (0.31)
  • lib/is-stream.js (0.24)
  • lib/context.js (0.18)
  • lib/request.js (0.17)
  • lib/response.js (0.17)
  • lib/search-params.js (0.11)
  • test-helpers/stream.js (0.03)
  • _tests_/application/compose.test.js (0.02)

Orphans

No obvious dead code — every named symbol has at least one reference.

Coupling (high-PageRank files)

  • test-helpers/context.js (1.00)
  • lib/application.js (0.87)
  • lib/only.js (0.31)
  • lib/is-stream.js (0.24)
  • lib/context.js (0.18)

Suggested Next Steps

  • Before refactoring onerror, run sverklo_impact to see the 8 call sites
  • test-helpers/context.js is your most-imported file — changes here cascade widely