Expand description
Coverage attribution: combine a head per-line report with a DiffModel
(and optionally a baseline report) into the metrics a reviewer wants.
- Patch coverage — of the lines this diff added, how many are covered. Needs only the head report + diff; immune to line-shift because added lines exist only in head.
- Uncovered new lines — the explicit
file:linelist of added lines that are not covered (the actionable output). - Project delta — per-file and total before/after coverage (baseline).
- Indirect changes — lines whose coverage flipped without their content changing, found by aligning base↔head through the diff (baseline).
Structs§
- Coverage
Diff - The full attribution result.
- File
Delta - Per-file project coverage delta (requires a baseline report).
- File
Patch - Patch coverage for a single file.
- Indirect
Change - A line whose coverage status flipped without its content changing.
- Patch
Coverage - Covered / uncovered tally over a set of lines.
Enums§
- Diff
Scope - Which files the project-delta and indirect-change sections report on.