A
Overall Health

fastify/fastify


https://github.com/fastify/fastify
2026-04-19 00:06:40
A
Dead code
2% orphan symbols (4/188)
A
Circular deps
0 cycles detected
B
Coupling
max fan-in: 19 (lib/symbols.js)
A
Security
0 concerns found

Overview

  • 293 files indexed
  • 1272 code symbols extracted
  • 16017 symbol references tracked
  • 0 active memories (0 core, 0 stale)
  • Languages: javascript (258), typescript (35)

God Nodes (most-referenced symbols)

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

  • done — 824 references
  • Fastify — 521 references
  • request — 269 references
  • fastify — 187 references
  • FastifyInstance — 76 references
  • RouteGeneric — 67 references
  • handler — 47 references
  • addContentTypeParser — 38 references
  • child — 28 references
  • validate — 28 references

Hub Files (highest PageRank)

Core architectural files — imported by many others.

  • fastify.js (1.00)
  • lib/symbols.js (0.92)
  • lib/errors.js (0.62)
  • test/helper.js (0.23)
  • test/toolkit.js (0.22)
  • lib/request.js (0.18)
  • lib/reply.js (0.17)
  • lib/decorate.js (0.15)
  • lib/hooks.js (0.14)
  • lib/schemas.js (0.12)

Orphans (potential dead code)

Named functions with zero detected references. Could be dead code, public API exports, or referenced dynamically.

  • handleRequestlib/handle-request.js:20
  • validate10lib/config-validator.js:10
  • anonymouslib/error-serializer.js:13
  • headRouteOnSendHandlerlib/head-route.js:2

Coupling (high-PageRank files)

  • fastify.js (1.00)
  • lib/symbols.js (0.92)
  • lib/errors.js (0.62)
  • test/helper.js (0.23)
  • test/toolkit.js (0.22)

Suggested Next Steps

  • Before refactoring done, run sverklo_impact to see the 824 call sites
  • fastify.js is your most-imported file — changes here cascade widely
  • 4+ potential orphans detected — audit for dead code