pub fn write_metrics(node: &mut Node, i: &MetricInputs)Expand description
Write the per-unit built-in metrics onto node: the tier-1 measured values
(the LOC block is emitted only when sloc > 0) plus the pre-graph derived
metrics ([DERIVED]) computed from the raw tier-1 counts. Graph-derived fields
(e.g. hk) are written later by write_derived, once the coupling pass has
run. Each value is dropped at its omit_at.