Angular Modernizer
    Preparing search index...

    Interface StepRiskAssessment

    Risk assessment result for a migration step

    interface StepRiskAssessment {
        breakdown: RiskBreakdown;
        confidence: number;
        mitigations: MitigationStrategy[];
        overallRisk: number;
        riskLevel: "low" | "medium" | "high" | "critical";
        step: MigrationStep;
        styleAnalysis: {
            alignsWithCodebaseStyle: boolean;
            deviations: string[];
            recommendations: string[];
            styleAlignmentScore: number;
        };
    }
    Index

    Properties

    breakdown: RiskBreakdown

    Detailed risk breakdown

    confidence: number

    Confidence in this assessment (0.0 - 1.0)

    mitigations: MitigationStrategy[]

    Recommended mitigations

    overallRisk: number

    Overall risk score (0-100)

    riskLevel: "low" | "medium" | "high" | "critical"

    Risk level classification

    Step being assessed

    styleAnalysis: {
        alignsWithCodebaseStyle: boolean;
        deviations: string[];
        recommendations: string[];
        styleAlignmentScore: number;
    }

    Style alignment analysis

    Type Declaration

    • alignsWithCodebaseStyle: boolean

      false when the transformation goes against the codebase style.

    • deviations: string[]

      Reasons the step deviates from the codebase style.

    • recommendations: string[]

      Style-related advice for the step.

    • styleAlignmentScore: number

      1.0 when aligned or style-neutral, 0.3 on a deviation.