Skip to main content

uncovered_changed_lines

Function uncovered_changed_lines 

Source
pub fn uncovered_changed_lines(
    changed: &BTreeMap<String, BTreeSet<u64>>,
    files: &BTreeMap<String, FileCoverage>,
) -> Vec<Uncovered>
Expand description

Pure: every changed line the coverage report marks uncovered — a missing_line, or the source of a missing_branch (a branch out of the line the suite never took). A changed file absent from files was not measured (a test file, or a coverage-exempt file omitted from the run) and contributes nothing; a changed line that is neither missing nor a branch source (a comment or blank) has nothing to cover. files is keyed by root-relative path, as changed is.