MetricSnapshot
A snapshot of the structural metrics that quality gates ratchet on.
Recorded in the committed baseline (aalekh-baseline.json) by aalekhBaseline and compared against the current graph by aalekhCheck. For every metric here, higher is worse, so a gate fails when the current value exceeds the baseline.
All fields default so a baseline written by an older plugin version (without a metrics block) still deserializes - a missing snapshot simply disables the gates until the baseline is regenerated.
Parameters
Number of main-code dependency cycles.
Number of god modules (high fan-in and high fan-out).
Cumulative Component Dependency - the headline coupling number.
Percentage of modules inside a dependency cycle.
Mean instability across all modules.
Longest production dependency chain, in modules.