Skip to main content

coupling_specs

Function coupling_specs 

Source
pub fn coupling_specs() -> (BTreeMap<String, AttributeSpec>, BTreeMap<String, AttributeGroup>)
Expand description

The coupling/cycle attribute dictionary (fan_in / fan_out / fan_out_external / cycle) + the coupling group, read from builtin.toml [coupling.*]. The VALUES are computed post-walk by annotate_coupling / annotate_cycles; these are the display specs only (incl. the description = why and remediation = fix shown by check). The orchestrator merges them into each level’s node_attributes / groups. (hk’s spec ships with the derived [fields.*] via metric_specs.)