#13 Claude Code Team 4.8 xHigh

Quality

2026-05-30-claude-code-team-4-8-xhigh · v2.1.158

Files Created

446

462 unique

Total Tool Calls

2432

across 7 agents

Active Agents

6

contributing code

Estimated Cost

$497.67

2289 API requests

Codebase Output

462 files

Files by Directory

resources/views
67
app/Livewire
52
tests/Feature
52
database/migrations
49
app/Models
46
database/factories
37
app/Enums
32
app/Services
23
app/Http
20
app/Policies
11
app/ValueObjects
8
database/seeders
7
app/Exceptions
7
tests/Unit
7
app/Jobs
6

Files per Agent (top 12)

commerce
117w 27e
storefront
70w 36e
foundation
75w 22e
admin
74w 20e
platform
72w 14e
catalog
48w 12e

Code Quality Assessment

PHPMetrics

Code Quality Assessment

PHPMetrics 2.9.1

Classes

205

Lines of Code

11.2K

Avg MI

104.5

Avg Complexity

5.1

Est. Bugs

24.5

Violations

0

0 errors

Complexity Distribution

Low (CCN <= 5)
153 (74.6%)
Medium (6-10)
22 (10.7%)
High (> 10)
30 (14.6%)

Maintainability Distribution

Excellent (>= 85)
145 (70.7%)
Good (70-84)
36 (17.6%)
Moderate (55-69)
20 (9.8%)
Low (< 55)
4 (2%)

Most Complex Classes

ClassCCNLOCMI
Form
App\Livewire\Admin\Products
41245
52
ShippingCalculator
App\Services
36143
71
OrderService
App\Services
34142
57
SearchService
App\Services
34245
64
ProductService
App\Services
29176
73

Least Maintainable Classes

ClassMICCNLOC
Show
App\Livewire\Admin\Orders
47
28178
Shipping
App\Livewire\Admin\Settings
48
18137
Form
App\Livewire\Admin\Products
52
41245
Form
App\Livewire\Admin\Discounts
54
23164
Index
App\Livewire\Admin\Navigation
56
18138

Most Coupled Classes

Product
23
Order
23
Store
22
CheckoutService
22
User
20

Coupling Metrics

Avg Afferent (incoming)1.46
Avg Efferent (outgoing)3.33
Avg Instability0.76
Avg LCOM2.00
Max LCOM6

Halstead Metrics

Avg Volume358.4
Avg Difficulty5.41
Avg Bugs/Class0.120
Total Est. Bugs24.5
Comment Ratio36.79%
Avg LOC/Class54.8

SonarCloud Analysis

PR #21 - Quality Gate Failed
FAIL

Quality Gate: Failed

PR #21 · 2026-05-30-claude-code-team-4-8-xhighmain

10.5h technical debt

65 issues total

View on SonarCloud

Bugs

1

C

Reliability

Vulnerabilities

0

A

Security

Code Smells

64

A

Maintainability

Hotspots

0

To review

Lines of Code

14.7K

PHP

Duplication

0.8%

on new code

Coverage

0%

not configured

Issues by Severity

Critical
4
Major
55
Minor
6
Total65

Security Hotspots (0)

0

No security hotspots to review on this PR. Security rating is A with zero vulnerabilities.

Top Issue Rules

Unused Parametersphp:S1172
12
MAJOR
Generic Exceptionsphp:S112
10
MAJOR
Autocomplete AttributeWeb:S6840
7
MAJOR
Excessive Return Statementsphp:S1142
6
MAJOR
Dialog Role AccessibilityWeb:S6819
5
MAJOR
Duplicate String Literalsphp:S1192
4
CRITICAL
Identical Method Bodiesphp:S4144
3
MAJOR
Nested Ternaryphp:S3358
3
MAJOR
ARIA Role / LandmarkWeb:S6822
2
MAJOR
Property Naming (snake_case)php:S116
2
MINOR
Unused Local Variablesphp:S1481
2
MINOR
Missing Table Headers (bug)Web:S5256
1
MAJOR

65 issues in total (64 code smells + 1 bug), dominated by unused parameters (12) and generic exceptions (10). Duplication sits at 0.8%, well under the gate, and both maintainability and security stay at A with zero vulnerabilities and zero hotspots. The gate fails only because new-code reliability drops to C: a single missing-table-headers bug in the customer order view.