Skip to main content

check_regression

Function check_regression 

Source
pub fn check_regression(
    project_path: &Path,
    current_result: &AnalysisResult,
) -> Result<Option<TrendReport>>
Expand description

Check if the current score regresses compared to the last snapshot. Returns Some(TrendReport) if there’s a regression, None otherwise.