Skip to main content

Module offenders

Module offenders 

Source
Expand description

Offender records consumed by CI/IDE output formats.

OffenderRecord is the minimal shape every CI/IDE output format (Checkstyle, SARIF, JUnit, etc.) renders. Producing offender records from metric values vs. configured thresholds is the job of the threshold engine (#96); this module only defines the data shape so the format implementations can land independently.

Structs§

OffenderRecord
One metric-threshold violation, language-agnostic and format-agnostic.

Enums§

Severity
Severity of a metric-threshold violation.

Constants§

TOOL_ID
Tool identifier carried in the rule-id / source-prefix field of every CI/IDE output format (Checkstyle <error source="...">, Clang/MSVC warning rule prefix, SARIF tool.driver.name). Single source of truth so a future tool rename is one edit, not three.