Tool Calls
6.7K
35 unique tools
Total Tokens
822.3M
1.8M output
Subagents
18
15 explorers, 3 workers
Reasoning
3.6K
1240 commentary msgs
Code Quality Assessment
PHPMetrics
Code Quality Assessment
Code Quality Assessment
PHPMetrics 2.9.1Classes
268
Lines of Code
13.6K
Avg MI
80.4
Avg Complexity
6.0
Est. Bugs
48.5
max 1.4 in Form
Violations
0
0 errors, 0 warnings
Complexity Distribution
Maintainability Distribution
Most Complex Classes
| Class | CCN | LOC | MI |
|---|---|---|---|
| Form App\Livewire\Admin\Products | 75 | 415 | 30 |
| ProductController App\Http\Controllers\Api\Admin\V1 | 65 | 347 | 38 |
| Index App\Livewire\Admin\Navigation | 54 | 304 | 32 |
| Show App\Livewire\Storefront\Checkout | 50 | 282 | 36 |
| ProductService App\Services | 48 | 179 | 43 |
Least Maintainable Classes
| Class | MI | CCN | LOC |
|---|---|---|---|
| CartService App\Services | 24 | 27 | 179 |
| Form App\Livewire\Admin\Products | 30 | 75 | 415 |
| Index App\Livewire\Admin\Navigation | 32 | 54 | 304 |
| Show App\Livewire\Storefront\Checkout | 36 | 50 | 282 |
| PricingEngine App\Services | 37 | 13 | 69 |
Most Coupled Classes
Violations (0)
· PHPMetrics found no built-in violation flags on this codebase.
· SonarCloud reports 84 issues on PR #20: 17 critical, 63 major, 4 minor (1 bug, 1 vulnerability, 82 code smells).
· Largest class is Admin\Products\Form Livewire component (415 LOC, CCN 75).
· 13.6K LOC across 268 classes (largest of any build so far - 3x the prior Codex run).
Halstead & Coupling
SonarCloud Analysis
PR #20 - Quality Gate Failed
SonarCloud Analysis
Quality Gate: Failed
PR #20 · 2026-05-04-codex-5-5-goal → main
23.2h technical debt
84 issues total
Quality Gate Conditions
Bugs
1
CReliability
Vulnerabilities
1
CSecurity
Code Smells
82
AMaintainability
Hotspots
0
0% reviewed
Lines of Code
24.4K
PHP
Duplication
3.2%
of all code
Coverage
0%
not configured
Issues by Severity
Issues by Type
Top Issue Rules
Quality gate failed on three of five conditions: Reliability (C), Security (C), and Duplicated Lines on new code (3.4% > 3.0%). 24.4K NCLOC is the largest of any build so far - 5x the prior Codex run - and most of the 82 code smells are typical Sonar styling complaints (return-count limits, generic exceptions, duplicated string literals) rather than functional defects.