Orchestrator Tool Calls
817
8 unique tools
Sub-agent Tool Calls
1.4K
exec / apply_patch / read
Sub-agents
16
named specialist roles
Estimated Cost
$119.74
3.1M tokens
Tool Usage per Sub-agent
16 agents
Tool Usage per Sub-agent
Code Quality Assessment
PHPMetrics
Code Quality Assessment
Code Quality Assessment
PHPMetrics 2.9.1Classes
286
Lines of Code
11.3K
Avg MI
70.5
Avg Complexity
6.8
Est. Bugs
51.2
max 3.0 in CheckRegistry
Violations
113
39 errors, 69 warnings
Complexity Distribution
Maintainability Distribution
Most Complex Classes
ProductService
App\Services
CheckRegistry
App\Services\CodeQuality
DiscountService
App\Services
Show
App\Livewire\Storefront\Checkout
OrderService
App\Services
Least Maintainable
ProductService
CCN 107 · 272 LOC
Show
CCN 50 · 297 LOC
CartService
CCN 36 · 183 LOC
CheckoutController
CCN 41 · 132 LOC
ProductController
CCN 30 · 116 LOC
Most Coupled Classes
AdminComponent
33Order
31Store
30Product
27User
27Max Efferent
20
Max LCOM
7
Notes
- •PHPMetrics flags 113 violations: 0 critical, 39 errors, 69 warnings, 5 info.
- •SonarCloud reports 190 unresolved issues on PR #25: 34 critical, 147 major, 9 minor (50 bugs, 1 vulnerability, 139 code smells).
- •Most complex class is App\Services\ProductService (CCN 107, MI 20.44) - by far the single worst-scoring class in the codebase.
- •11.3K LOC across 286 classes - the leanest LOC of any build tested so far on this spec, despite the largest sub-agent team (16 named specialists).
SonarCloud Analysis
PR #25 - Quality Gate Failed
SonarCloud Analysis
Quality Gate: Failed
PR #25 · 2026-07-12-codex-gpt-5-6-sol-ultra → main
26.9h technical debt
190 issues total
Quality Gate Conditions
Bugs
50
CReliability
Vulnerabilities
1
CSecurity
Code Smells
139
AMaintainability
Hotspots
0
100% reviewed
Lines of Code
18.9K
PHP
Duplication
0.8%
of all code
Coverage
0%
not configured
Issues by Severity
Issues by Type
Top Issue Rules
Quality gate failed on two of five conditions: Reliability (C) and Security (C) on new code. Duplication (0.7%) and hotspot review (100%) both pass comfortably. The single biggest rule is missing table header id/scope attributes (39 hits) across admin data tables, followed by cognitive-complexity warnings concentrated almost entirely in one class, App\Services\ProductService (CCN 107) - the same class PHPMetrics independently flags as the codebase's worst offender.