#11 Codex GPT-5.5

Quality

2026-04-25-codex-gpt-5-5 · v0.124.0

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

PHPMetrics 2.9.1

Classes

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

Low (CCN <= 5)
56 (83.6%)
Medium (6-10)
8 (11.9%)
High (> 10)
3 (4.5%)

Maintainability Distribution

Excellent (>= 85)
13 (19.4%)
Good (70-84)
11 (16.4%)
Moderate (55-69)
29 (43.3%)
Low (< 55)
14 (20.9%)

Most Complex Classes

ClassCCNLOCMI
PricingService
App\Services\Shop
2153
58
CheckoutService
App\Services\Shop
1884
33
ResolveStore
App\Http\Middleware
1156
51
CartService
App\Services\Shop
868
39
CustomerAccountController
App\Http\Controllers
361
40

Least Maintainable Classes

ClassMICCNLOC
CheckoutService
App\Services\Shop
33
1884
CartService
App\Services\Shop
39
868
CustomerAccountController
App\Http\Controllers
40
361
CartController
App\Http\Controllers
44
347
ResolveStore
App\Http\Middleware
51
1156

Most Coupled Classes

AdminController
17
CheckoutService
15
PricingService
9
User
8
ProductVariant
8

Violations (0)

Critical0
Errors0
Warnings0
Info0

· 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

Total Est. Bugs4.5
Avg Bugs/Class0.068
Avg Defects (Kan)0.00
Max Efferent Coupling17
Avg Instability0.78
Max LCOM23
Avg LOC/Class26.0

SonarCloud Analysis

PR #18 - Quality Gate Passed
PASS

Quality Gate: Passed

PR #18 · 2026-04-25-codex-gpt-5-5main

2.0h technical debt

5 issues total

View on SonarCloud

Quality Gate Conditions

Reliability on New Code
A> 1
Security on New Code
A> 1
Maintainability on New Code
A> 1
Duplicated Lines on New Code
1.3%> 3.0%
Security Hotspots Reviewed
100.0%< 100%

Bugs

0

A

Reliability

Vulnerabilities

0

A

Security

Code Smells

5

A

Maintainability

Hotspots

0

0% reviewed

Lines of Code

4.5K

PHP

Duplication

1.3%

on new code

Coverage

0%

not configured

Issues by Severity

Critical
1
Major
4
Minor
0
Total5

Issues by Type

Code Smells
5 (100.0%)
Security Hotspots
0 (0.0%)
Bugs
0 (0.0%)
Vulnerabilities
0 (0.0%)
Zero bugs and zero vulnerabilities - all ratings A

Top Issue Rules

Too Many MethodsS1448
1
MAJOR
Identical MethodsS4144
1
MAJOR
Excessive Return StatementsS1142
1
MAJOR
Cognitive ComplexityS3776
1
CRITICAL
Long MethodS138
1
MAJOR

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.