#12 Codex GPT-5.5 Goal Mode

Quality

2026-05-04-codex-5-5-goal · v0.128.0 · xhigh

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

PHPMetrics 2.9.1

Classes

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

Low (CCN <= 5)
195 (72.8%)
Medium (6-10)
31 (11.6%)
High (> 10)
42 (15.7%)

Maintainability Distribution

Excellent (>= 85)
116 (43.3%)
Good (70-84)
36 (13.4%)
Moderate (55-69)
59 (22%)
Low (< 55)
57 (21.3%)

Most Complex Classes

ClassCCNLOCMI
Form
App\Livewire\Admin\Products
75415
30
ProductController
App\Http\Controllers\Api\Admin\V1
65347
38
Index
App\Livewire\Admin\Navigation
54304
32
Show
App\Livewire\Storefront\Checkout
50282
36
ProductService
App\Services
48179
43

Least Maintainable Classes

ClassMICCNLOC
CartService
App\Services
24
27179
Form
App\Livewire\Admin\Products
30
75415
Index
App\Livewire\Admin\Navigation
32
54304
Show
App\Livewire\Storefront\Checkout
36
50282
PricingEngine
App\Services
37
1369

Most Coupled Classes

Store
83
Controller
30
Order
29
ProductController
29
Product
28

Violations (0)

Critical0
Errors0
Warnings0
Info0

· 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

Total Est. Bugs48.5
Avg Bugs/Class0.181
Avg Defects (Kan)0.00
Max Efferent Coupling30
Avg Instability0.74
Max LCOM6
Avg LOC/Class50.9

SonarCloud Analysis

PR #20 - Quality Gate Failed
FAIL

Quality Gate: Failed

PR #20 · 2026-05-04-codex-5-5-goalmain

23.2h technical debt

84 issues total

View on SonarCloud

Quality Gate Conditions

Reliability on New Code
C> 1
Security on New Code
C> 1
Maintainability on New Code
A> 1
Duplicated Lines on New Code
3.4%> 3.0%
Security Hotspots Reviewed
0.0%< 100%

Bugs

1

C

Reliability

Vulnerabilities

1

C

Security

Code Smells

82

A

Maintainability

Hotspots

0

0% reviewed

Lines of Code

24.4K

PHP

Duplication

3.2%

of all code

Coverage

0%

not configured

Issues by Severity

Critical
17
Major
63
Minor
4
Total84

Issues by Type

Code Smells
82 (97.6%)
Security Hotspots
0 (0.0%)
Bugs
1 (1.2%)
Vulnerabilities
1 (1.2%)
1 bug + 1 vulnerability dropped Reliability and Security to C; Maintainability stays at A despite 82 smells across 24K LOC.

Top Issue Rules

Excessive Return StatementsS1142
14
MAJOR
Generic ExceptionS112
12
MAJOR
Duplicated String LiteralsS1192
9
CRITICAL
Too Many MethodsS1448
9
MAJOR
Missing autocompleteWeb:S6840
8
MAJOR
Unused ParameterS1172
6
MAJOR
Nested TernaryS3358
4
MAJOR
Cognitive ComplexityS3776
3
CRITICAL

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.