Skip to main content

enrich_with_coverage

Function enrich_with_coverage 

Source
pub fn enrich_with_coverage(
    nodes: &mut [CodeNode],
    coverage: &HashMap<String, FileCoverage>,
)
Expand description

Enrich CodeNodes with coverage percentages from a coverage map.

The coverage map keys are file paths (matching node ID file paths).