public sealed class CheckedFile
Everything zplcore check found for one file.
Constructors
| Signature | Description |
# CheckedFile() | |
Properties
| Property | Type | Description |
Baseline { get; init; } | BaselineState | Comparison with the baseline version. |
Cases { get; init; } | IReadOnlyList<CheckCase> | The checks that ran (JUnit test cases). |
Changes { get; init; } | IReadOnlyList<ElementChange> | Semantic changes against the baseline. |
Failed { get; } | bool | A check failed or could not run. |
Findings { get; } | IEnumerable<CheckFinding> | All findings of all checks. |
Images { get; init; } | IReadOnlyList<CheckImages> | Report images (with ZplCheckOptions.ReportDirectory). |
LabelCount { get; init; } | int | Number of labels the file prints. |
required Path { get; init; } | string | Absolute path. |
required RelativePath { get; init; } | string | Path relative to the root, with forward slashes (SARIF artifact URI, JUnit suite name). |
Seconds { get; init; } | double | Time spent on the file. |
Skipped { get; init; } | bool | Label JSON that is no label (e.g. package.json): skipped. |
Methods
| Method Signature | Returns | Description |
# Count(CheckSeverity s) | int | Number of findings of severity s. |