compare_coverage
Check whether two coverage percentages are comparable by reading the pins and conditions in both scan blocks, returning comparable, not_comparable, or unestablished.
Instructions
Say whether two scans produced numbers that can be compared at all.
Two coverage percentages can differ because the estate moved, because the instrument moved, or because the corpus was collected differently, and the percentages show none of the three. This reads the pins and conditions in both blocks and answers with one of three verdicts.
comparable means nothing that moves the number differs. not_comparable lists
which conditions differ, each with what it means, so the reader knows whether to
re-run, re-clone or ignore it. unestablished means the blocks do not carry enough
to decide -- an unpinned corpus, or an emitter that names no commit -- which is a
different situation from a known difference and has a different repair.
Use it before putting two coverage figures in one table. Do not use it to compare findings; it reads conditions, not results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | Yes | The `coverage` block from one scan result. | |
| second | Yes | The `coverage` block from another scan result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||