AppliedRule
constructor(id: String, description: String, severity: Severity, explanation: String, ruleCount: Int, violationCount: Int)(source)
Parameters
id
Stable kebab-case rule id (the public contract also used in SARIF and suppressions).
description
Human-readable rule description.
severity
Strictest effective severity across all instances of this id, overrides applied.
explanation
Plain-language "what and why" for the rule.
ruleCount
Number of configured rule instances folded under this id (usually 1).
violationCount
Violations attributed to this id after suppression - 0 means the rule passed.