╔══════════════════════════════════════════════════════════════════════════╗ ║ ANBT Backend — Architecture Re-Score ║ ║ Generated: 2026-11-21 01:19 ║ ╠══╦════════════════════════════════════════════════╦═══════╦═════════════╣ ║ #║ Axis ║ Score ║ Detail ║ ╠══╬════════════════════════════════════════════════╬═══════╬═════════════╣ ║ 1║ Layering: Common never imports domain ║ 10/10 ║ Common→Doma║ ║ 2║ No god classes (>350 lines) ║ 0/10 ║ Files >350 ║ ║ 3║ Test coverage ║ 6/10 ║ 48.17% ║ ║ 4║ PHPStan excludePaths (src/) = 0 ║ 4/10 ║ Excluded sr║ ║ 5║ Architecture guard tests ║ 10/10 ║ Test method║ ║ 6║ No domain services in Common/Service ║ 10/10 ║ Non-infra i║ ║ 7║ No stray used_battery_rates SQL ║ 4/10 ║ Stray occur║ ║ 8║ CI gates (5 gates = 10pts) ║ 10/10 ║ Gates activ║ ║ 9║ ADR documents (5+ = 10pts) ║ 10/10 ║ ADR files: ║ ║10║ Largest PHP file ║ 1/10 ║ 1243 lines ║ ╠══╩════════════════════════════════════════════════╩═══════╩═════════════╣ ║ TOTAL SCORE: 65 / 100 (65%) ║ ╚══════════════════════════════════════════════════════════════════════════╝ [ 1] Common→Domain imports: 0 [ 2] Files >350 lines: 49 [ 4] Excluded src/ paths: 3 [ 5] Test methods: 47 [ 6] Non-infra in Common: 0 / 7 [ 7] Stray occurrences: 3 [ 8] Gates active: 5/5 [ 9] ADR files: 5 [10] 1243 lines (ExecutiveOverviewService.php)