/** * @angular-modernizer/plugin-angular - Architecture Analyzer * * Analyzes architectural violations and patterns across the entire codebase. * Uses the dependency graph to detect layer violations, circular dependencies, * and other architectural anti-patterns. */ import type { AnalysisContext } from '@angular-modernizer/plugin-system'; import { type DependencyGraph } from './dependency-graph.js'; import { type ArchitectureViolation } from './types.js'; export declare class ArchitectureAnalyzer { private readonly dependencyGraph; constructor(dependencyGraph: DependencyGraph); /** * Analyzes layer boundary violations */ analyzeLayerViolations(): ArchitectureViolation[]; /** * Analyzes circular dependencies */ analyzeCircularDependencies(): ArchitectureViolation[]; /** * Analyzes God objects (classes with too many methods) */ analyzeGodObjects(context: AnalysisContext): ArchitectureViolation[]; /** * Analyzes SOLID principle violations */ analyzeSolidViolations(context: AnalysisContext): ArchitectureViolation[]; /** * Analyzes service anti-patterns */ analyzeServicePatterns(context: AnalysisContext): ArchitectureViolation[]; /** * Analyzes component pattern violations */ analyzeComponentPatterns(context: AnalysisContext): ArchitectureViolation[]; private analyzeSingleResponsibilityViolations; private analyzeOpenClosedViolations; private analyzeDirectInstantiation; private analyzeMissingInterfaces; private analyzeServiceLocatorPattern; private analyzeDumbComponentViolations; private analyzeSmartComponentViolations; private analyzeResponsibilities; private hasLongIfElseChain; private isAllowedInstantiation; private extractTemplateContent; private hasComplexPresentationLogic; } export { ViolationType } from './types.js'; //# sourceMappingURL=architecture-analyzer.d.ts.map