Skip to main content

measure

Function measure 

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

Diff-scoped Python coverage floor: measure thresholds over the <base>...HEAD changed .py lines instead of the whole tree. omit is the coverage-rule exemptions; an exempt file’s changed lines drop out of the ratio with it.