zplCore.comzplCore.com

CheckedFile

public sealed class CheckedFile

Everything zplcore check found for one file.

Constructors

SignatureDescription
# CheckedFile()

Properties

PropertyTypeDescription
Baseline { get; init; }BaselineStateComparison 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; }boolA 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; }intNumber of labels the file prints.
required Path { get; init; }stringAbsolute path.
required RelativePath { get; init; }stringPath relative to the root, with forward slashes (SARIF artifact URI, JUnit suite name).
Seconds { get; init; }doubleTime spent on the file.
Skipped { get; init; }boolLabel JSON that is no label (e.g. package.json): skipped.

Methods

Method SignatureReturnsDescription
# Count(CheckSeverity s)intNumber of findings of severity s.