Skip to main content

count_error_severity_issues

Function count_error_severity_issues 

Source
pub fn count_error_severity_issues(
    results: &AnalysisResults,
    rules: &RulesConfig,
    config: Option<&ResolvedConfig>,
    promote_warns: bool,
) -> usize
Expand description

The number of findings that has_error_severity_issues reads as error, with the same arguments and the same rule table.

The error-severity-findings gate publishes this number as observed. The count is zero exactly when has_error_severity_issues returns false.