Next.js
Blast radius in Next.js
Blast radius in Next.js uses the Next.js (packages/next) snapshot: 1,942 modules and 4,489 dependency edges, about 2.31 edges per module. Largest blast radius in this snapshot: 423 modules downstream from src/server/config-shared. Example break path: src/server/config-shared → src/server/request-meta → src/server/request/params. A one-file edit there can retrace a large share of the 1,942-module graph. The leading row is src/server/config-shared at 423 modules.
Modules
- src/server/config-shared423 modules
- src/types423 modules
| Module | What arc impact shows |
|---|---|
| src/server/config-shared | 423 modulesfan-in 46 · CRITICAL |
| src/types | 423 modulesfan-in 21 · CRITICAL |
Inspect first
- arc impact src/server/config-shared
- arc impact src/types
In Next.js, src/server/config-shared is recorded at 423 modules. Fan-in on src/server/config-shared is 46. The risk mark on that row is CRITICAL. That reach is 21.8% of the 1,942 modules in Next.js. 1,519 modules sit outside that downstream set. The command is arc impact src/server/config-shared. In Next.js, src/types is recorded at 423 modules. Fan-in on src/types is 21. The risk mark on that row is CRITICAL. That reach is 21.8% of the 1,942 modules in Next.js. The command is arc impact src/types.
Hop 1 of 3 is src/server/config-shared. Hop 2 of 3 is src/server/request-meta. Hop 3 of 3 is src/server/request/params. The break path in Next.js runs src/server/config-shared → src/server/request-meta → src/server/request/params. arc impact src/server/config-shared prints that path.
src/server/config-shared and src/types share 423 modules. Fan-in is 46 on src/server/config-shared and 21 on src/types, a gap of 25. Fan-in 46 is more than double fan-in 21. src/server/request-meta and src/server/request/params are hops on the break path and have no separate row in this table. The measured blast radius stays on src/server/config-shared. 2 steps follow src/server/config-shared before the path ends at src/server/request/params.
Open src/server/config-shared first and run arc impact src/server/config-shared. Then run the same command on src/types. Read the blast radius and the fan-in the command prints for each file. Next.js has 4,489 edges on 1,942 modules. The concept page holds the definition of blast radius. This page holds the Next.js measurements.