Angular Modernizer
    Preparing search index...

    Interface ConfidenceBreakdown

    Confidence score breakdown

    interface ConfidenceBreakdown {
        explanation: string;
        factors: {
            bestPractices: number;
            codeSimilarity: number;
            occurrenceFrequency: number;
            patternStability: number;
            styleAlignment: number;
        };
        overall: number;
        reasons: string[];
    }
    Index

    Properties

    explanation: string

    Human-readable explanation

    factors: {
        bestPractices: number;
        codeSimilarity: number;
        occurrenceFrequency: number;
        patternStability: number;
        styleAlignment: number;
    }

    Individual factor scores

    Type Declaration

    • bestPractices: number

      Score from known best practices and anti-patterns (0-1).

    • codeSimilarity: number

      Score from how similar the occurrences are (0-1).

    • occurrenceFrequency: number

      Score from how often the pattern occurs (0-1).

    • patternStability: number

      Score from stability across scans (0-1).

    • styleAlignment: number

      Score from alignment with the codebase style (0-1).

    overall: number

    Overall confidence score (0.0 - 1.0)

    reasons: string[]

    Detailed reasons for the score