Angular Modernizer
    Preparing search index...

    Ordered fix plan returned by buildViolationPlan.

    interface ViolationPlan {
        cycles: PlannedCycle[];
        phases: PlannedPhase[];
        stats: {
            byLayer: Record<string, number>;
            files: number;
            levels: number;
            violations: number;
        };
    }
    Index

    Properties

    Properties

    cycles: PlannedCycle[]

    Import cycles among the violated files.

    phases: PlannedPhase[]

    Phases in fix order.

    stats: {
        byLayer: Record<string, number>;
        files: number;
        levels: number;
        violations: number;
    }

    Totals of the plan.

    Type Declaration

    • byLayer: Record<string, number>

      File count per layer ((no layer) for files without one).

    • files: number

      Number of violated files.

    • levels: number

      Number of topological levels before phases are merged.

    • violations: number

      Number of input violations.