Refactoring Risk Briefing
This chapter ranks source folder-level risk signals before the diagrams: coupling pressure, cycle participation.
Top Risk Drivers
| Primary driver | Fan-in | Fan-out |
|---|---|---|
| Source Folderpackages.shared.src | ||
| Cycle participation | 25 | 1 |
| Source Folderpackages.runtime-core.src | ||
| Cycle participation | 10 | 5 |
| Source Folderpackages.compiler-dom.src | ||
| Cycle participation | 8 | 3 |
| Source Folderpackages.runtime-dom.src | ||
| Cycle participation | 5 | 6 |
| Source Folderpackages.compiler-core.src | ||
| Cycle participation | 6 | 3 |
| Source Folderpackages.compiler-sfc.src | ||
| Cycle participation | 2 | 7 |
| Source Folderpackages.runtime-dom.src.modules | ||
| Cycle participation | 2 | 6 |
| Source Folderpackages.reactivity.src | ||
| Cycle participation | 6 | 1 |
Subsystem-Level Architecture
Subsystem figures summarize boundary pressure, internal cohesion, and recursive architecture signals.
Where does boundary pressure concentrate across the visible architecture?
- How to read this graph: each bubble is a visible architecture-boundary rollup. Right means more outgoing boundary dependencies; up means more incoming boundary dependencies; size is total class count.
- Colour follows instability, so red means outgoing-heavy rather than automatically wrong. Use the figure to find boundary surfaces worth inspecting in Topology or Matrix.
- Dashed rings mark expanded aggregate boundaries whose visible descendants are also present. Terminal packages or source folders remain valid boundaries and use their own metrics.
Which subsystem areas contain internal cycle pressure?
- How to read this graph: each bubble is a visible architecture-boundary rollup. Right means more fully contained package-cycle groups; up means the largest contained package cycle is larger; size is package count.
- Only package cycles fully inside the boundary count here. Terminal-package class/file tangles remain separate Package Internals evidence in Topology. Use the cycle tables, Topology, or Matrix for concrete dependency edges and cross-boundary cycle context.
- Dashed rings mark expanded aggregate boundaries whose visible descendants are also present. Terminal packages or source folders remain valid boundaries and use their own metrics.
Source Folder Hotspots
Hotspot figures rank source folders by available metric-space risk signals such as coupling and complexity.
Which leaf source folders stand out by coupling pressure?
- Labels are shown for the largest report bubbles; inspect the source folder metrics table for the full ranked list.
Source Folder Metrics
This table ranks source folders by structural signals. Use it to inspect source folders that combine high fan-in, high fan-out, cycle membership or size.
| Fan-in | Fan-out | Instability | Cycle | LOC |
|---|---|---|---|---|
| Source Folderpackages.shared.src | ||||
| 25 | 1 | 0.04 | Architectural | 983 |
| Source Folderpackages.runtime-core.src | ||||
| 10 | 5 | 0.33 | Architectural | 13748 |
| Source Folderpackages.compiler-dom.src | ||||
| 8 | 3 | 0.27 | Nested | 432 |
| Source Folderpackages.runtime-dom.src | ||||
| 5 | 6 | 0.55 | Architectural | 2726 |
| Source Folderpackages.compiler-core.src | ||||
| 6 | 3 | 0.33 | Architectural | 6438 |
| Source Folderpackages.compiler-sfc.src | ||||
| 2 | 7 | 0.78 | Architectural | 2551 |
| Source Folderpackages.runtime-dom.src.modules | ||||
| 2 | 6 | 0.75 | Architectural | 523 |
| Source Folderpackages.reactivity.src | ||||
| 6 | 1 | 0.14 | Architectural | 3573 |
| Source Folderpackages.compiler-sfc.src.script | ||||
| 1 | 5 | 0.83 | Architectural | 3925 |
| Source Folderpackages.compiler-ssr.src | ||||
| 3 | 3 | 0.50 | Nested | 415 |
| Source Folderpackages.runtime-core.src.compat | ||||
| 2 | 4 | 0.67 | Architectural | 2442 |
| Source Folderpackages.runtime-core.src.helpers | ||||
| 3 | 3 | 0.50 | Architectural | 684 |
| Source Folderpackages.runtime-dom.src.directives | ||||
| 3 | 3 | 0.50 | Architectural | 575 |
| Source Folderpackages.compiler-sfc.src.style | ||||
| 2 | 3 | 0.60 | Architectural | 758 |
| Source Folderpackages.runtime-core.src.components | ||||
| 1 | 4 | 0.80 | Architectural | 2417 |
| Source Folderpackages.runtime-dom.src.components | ||||
| 2 | 3 | 0.60 | Architectural | 683 |
| Source Folderpackages.server-renderer.src | ||||
| 1 | 4 | 0.80 | Nested | 743 |
| Source Folderpackages.server-renderer.src.helpers | ||||
| 1 | 4 | 0.80 | Nested | 526 |
| Source Folderpackages.vue-compat.src | ||||
| 0 | 5 | 1.00 | — | 182 |
| Source Folderpackages.compiler-core.src.transforms | ||||
| 1 | 3 | 0.75 | Architectural | 3563 |
| Source Folderpackages.compiler-dom.src.transforms | ||||
| 1 | 3 | 0.75 | Nested | 899 |
| Source Folderpackages.compiler-sfc.src.template | ||||
| 1 | 3 | 0.75 | — | 471 |
| Source Folderpackages.compiler-ssr.src.transforms | ||||
| 1 | 3 | 0.75 | Nested | 1698 |
| Source Folderpackages.runtime-dom.src.helpers | ||||
| 2 | 2 | 0.50 | — | 129 |
| Source Folderpackages.compiler-core.src.compat | ||||
| 2 | 1 | 0.33 | Architectural | 314 |
| Source Folderpackages.runtime-test.src | ||||
| 0 | 3 | 1.00 | — | 372 |
| Source Folderpackages.vue.src | ||||
| 0 | 3 | 1.00 | — | 127 |
| Source Foldervue-core | ||||
| 3 | 0 | 0.00 | — | 0 |
| Source Folderarc-templates.dist | ||||
| 0 | 0 | — | — | 0 |
| Source Folderreact-dom | ||||
| 0 | 0 | — | — | 0 |
| Source Folderteacup.lib | ||||
| 0 | 0 | — | — | 0 |