Tool Calls
136
19 unique tools
Total Tokens
24.9M
77.1K output
Subagents
3
3 explorers
Reasoning
99
17 commentary msgs
Code Quality Assessment
PHPMetrics
Code Quality Assessment
Code Quality Assessment
PHPMetrics 2.9.1Classes
67
Lines of Code
1.7K
Avg MI
71.9
Avg Complexity
2.9
Est. Bugs
4.5
max 0.8 in CheckoutService
Violations
0
0 errors, 0 warnings
Complexity Distribution
Maintainability Distribution
Most Complex Classes
| Class | CCN | LOC | MI |
|---|---|---|---|
| PricingService App\Services\Shop | 21 | 53 | 58 |
| CheckoutService App\Services\Shop | 18 | 84 | 33 |
| ResolveStore App\Http\Middleware | 11 | 56 | 51 |
| CartService App\Services\Shop | 8 | 68 | 39 |
| CustomerAccountController App\Http\Controllers | 3 | 61 | 40 |
Least Maintainable Classes
| Class | MI | CCN | LOC |
|---|---|---|---|
| CheckoutService App\Services\Shop | 33 | 18 | 84 |
| CartService App\Services\Shop | 39 | 8 | 68 |
| CustomerAccountController App\Http\Controllers | 40 | 3 | 61 |
| CartController App\Http\Controllers | 44 | 3 | 47 |
| ResolveStore App\Http\Middleware | 51 | 11 | 56 |
Most Coupled Classes
Violations (0)
· PHPMetrics found no built-in violation flags on this codebase.
· SonarCloud reports 5 minor code smells (122min effort) in admin/middleware/checkout.
· Migration file is large (399 lines in single up() method) by design.
· Class footprint is small (67 classes, 1.7K LOC) due to thin controller pattern.
Halstead & Coupling
SonarCloud Analysis
PR #18 - Quality Gate Passed
SonarCloud Analysis
Quality Gate: Passed
PR #18 · 2026-04-25-codex-gpt-5-5 → main
2.0h technical debt
5 issues total
Quality Gate Conditions
Bugs
0
AReliability
Vulnerabilities
0
ASecurity
Code Smells
5
AMaintainability
Hotspots
0
0% reviewed
Lines of Code
4.5K
PHP
Duplication
1.3%
on new code
Coverage
0%
not configured
Issues by Severity
Issues by Type
Top Issue Rules
Quality gate passed on all five conditions. Only 5 code smells over 4.5K new lines (122min effort), zero bugs and zero vulnerabilities. The smallest codebase among recent builds; the only critical-severity issue is one cognitive complexity violation in CheckoutService.