public sealed class ZplCheckResult
Result of ZplCheck.Run with the CI output formats.
Properties
Methods
| Method Signature | Returns | Description |
# Count(CheckSeverity s) | int | Number of findings of severity s. |
# ToGitHubAnnotations() | string | GitHub Actions workflow commands (::error file=…,line=…::…): inline annotations without code scanning. |
# ToJUnit() | string | JUnit XML: one <testsuite> per file, one <testcase> per check. Valid against the Ant/windyroad JUnit schema and the Surefire/Jenkins junit-10 schema (GitHub test reporters, Azure DevOps, GitLab, Jenkins). |
# ToJson() | string | Machine-readable result (files, cases, findings, changes, images). |
# ToMarkdown(MarkdownOptions? options = default) | string | Markdown for a pull request comment or the job summary: overview table, then per changed or failing file the before / after / diff images (when MarkdownOptions.ImageUrl gives URLs), the semantic changes and the findings. |
# ToSarif() | string | SARIF 2.1.0 with one run (tool "zplCore label check") for GitHub code scanning: rules of the compliance packs (ZPL3xxx, with citations), scan-proof (SPxxxx) and the testing checks (ZTxxxx); results with file, line, column and the label area in properties.boundsDots. Notes (baseline changes) are included as level "note". |
# ToText() | string | Console text: one block per file, findings as path:line:col: error RULE: message (compiler style, works with problem matchers). |