Skip to main content

measure_line_exempt

Function measure_line_exempt 

Source
pub fn measure_line_exempt(
    root: &Path,
    thresholds: Thresholds,
    omit: &[String],
    exempt_lines: &BTreeMap<String, BTreeSet<u32>>,
) -> Result<Outcome>
Expand description

Diff-free Python coverage floor with line-scoped exemptions: measure thresholds over every measured line except the exempt_lines. omit is the whole-file coverage exemptions. Runs only when exempt_lines is non-empty.