Findings, verdicts and fingerprints
JSON and JSONL findings carry both verdict and fingerprint. SARIF exposes the verdict in
result properties and the fingerprint in partialFingerprints. The HTML page’s embedded JSON
is a convenience for external tooling, with a different field set; use the versioned JSON or
JSONL report for interchange.
verdict
Section titled “verdict”verdict names what the finding claims, because the remedies differ:
| Verdict | Meaning |
|---|---|
redundant |
One copy can go. |
consolidatable |
Every case is needed; they belong in one table. |
name-collision |
Two tests share a title. |
similar-uncertain |
A review prompt: the tests look equivalent, but that is not established. |
fingerprint
Section titled “fingerprint”fingerprint is a stable identity for one finding across runs: the rule plus the normalized
participants, not file positions, so it survives reformatting and line moves. Baselines match on it.
Structured fields
Section titled “Structured fields”Structured fields are provided rather than asking a consumer to parse message.
inertcarries a per-participant.skip/.todoflag parallel tolocationsandtitles, so an integration can tell which side of a duplicate is dead code. A test is inert when it or any suite around it is skipped or a todo, by chain or by an option whose last write is a literaltrue({ skip: true },{ todo: true }). A skip or todo on a registration that is also focused (describe.skip.only,{ skip: true, only: true }) does not make it inert.registrationFilesis optional. Declaration locations identify source text, and file-scoped rules use the file registering each test. When those differ, a finding may carryregistrationFiles, an array parallel tolocations. Each entry lists the sorted caller paths represented by that declaration, including callers collapsed onto one declaration site.- SARIF places it in result
properties; HTML includes it in its JSON data. - Without this field, every participant belongs to its source file.
- Baseline identities include differing caller provenance; ordinary findings retain their existing fingerprints.
- Inline suppressions and HTML snippets refer to declaration source locations.
- SARIF places it in result
Registrations that come from called helper functions are described on Imported runners.
Back to Reports.