Skip to main content

Crate covguard_app

Crate covguard_app 

Source
Expand description

Backward-compatible façade for covguard-orchestrator.

covguard-app is retained as a stable integration surface while the orchestration layer is maintained in covguard-orchestrator.

Structs§

CheckRequest
Request for a coverage check operation.
CheckResult
Result of a coverage check operation.
SystemClock
System clock implementation that returns the actual current time.

Enums§

AppError
Errors that can occur during the check operation.
FailOn
Determines when the evaluation should fail.
MissingBehavior
How to handle missing coverage data.

Constants§

DEFAULT_MAX_ANNOTATIONS
Backward-compatible constant aliases for output budgets.
DEFAULT_MAX_LINES
DEFAULT_MAX_SARIF_RESULTS

Traits§

Clock
Port for obtaining the current UTC time.
CoverageProvider
Port for loading and merging LCOV coverage data.
DiffProvider
Port for obtaining changed ranges from diff input.
RepoReader
Port for reading source lines from the repository.

Functions§

build_report
Build a Report from evaluation output.
check
Run a diff coverage check.
check_with_clock
Run a diff coverage check with a custom clock.
check_with_clock_and_reader
Run a diff coverage check with a custom clock and repo reader.
check_with_providers_and_reader
Run a diff coverage check with pluggable diff and coverage providers.
detect_ignored_lines
Detect lines with covguard: ignore directives in changed ranges.
render_annotations
Backward-compatible annotation renderer with project-wide default limit.
render_annotations_with_limit
Annotation renderer with configurable budget.
render_markdown
Backward-compatible markdown renderer with project-wide default limit.
render_markdown_with_limit
Markdown renderer with configurable budget.
render_sarif
Backward-compatible SARIF renderer with project-wide default limit.
render_sarif_with_limit
SARIF renderer with configurable budget.

Type Aliases§

CoverageMap
Canonical line-hit representation used at the port boundary.