Skip to main content

findings_without_severity

Function findings_without_severity 

Source
pub fn findings_without_severity(results: AnalysisResults) -> usize
Expand description

The number of gated dead-code findings in results that carry no saved severity, for example in a report from an older version. A renderer then takes their level from the configured rules.

Policy violations carry their own severity and do not count. Neither do prop-drilling, thin-wrapper and duplicate-prop-shape findings: only SARIF renders them, always at level warning, so the rules never change their level.