#08 Claude Code Team (Adaptive Thinking Off)

Quality

2026-04-12-claude-code-team · v2.1.104

Files Created

352

358 unique

Total Tool Calls

4058

across 30 agents

Active Agents

29

contributing code

Estimated Cost

$105.73

3526 API requests

Codebase Output

358 files

Files by Directory

tests/Feature
51
resources/views
48
database/migrations
46
app/Models
42
database/factories
39
app/Livewire
39
app/Enums
27
app/Services
18
app/Jobs
6
app/Events
6
database/seeders
6
app/ValueObjects
5
tests/Unit
5
app/Exceptions
4
app/Policies
2

Files per Agent (top 12)

agent-a087b67011c87c678
55w 5e
agent-a0f0ce33f2bc26eeb
49w 3e
agent-abb182d3c13ccb6d4
49w 3e
agent-a9d0103b3fe6c8742
38w 6e
agent-ac98d1c0f1f611636
41w 3e
agent-a325fcaef1b7b01fd
36w 8e
agent-a43179f7beacd3e4c
36w 8e
agent-aea58324fac1c25b6
41w 3e
agent-a7dd22199cab15017
40w 3e
agent-a59519327d6c9d761
33w 9e
agent-a526f8939c2343e74
29w 7e
agent-ab01208e768bd4b30
32w 2e

Code Quality Assessment

PHPMetrics

Code Quality Assessment

PHPMetrics 2.9.1

Classes

142

Lines of Code

5.0K

Avg MI

87.8

Avg Complexity

4.3

Est. Bugs

11.6

Violations

0

0 errors

Complexity Distribution

Low (CCN <= 5)
115 (81%)
Medium (6-10)
10 (7%)
High (> 10)
17 (12%)

Maintainability Distribution

Excellent (>= 85)
69 (48.6%)
Good (70-84)
34 (23.9%)
Moderate (55-69)
24 (16.9%)
Low (< 55)
15 (10.6%)

Most Complex Classes

ClassCCNLOCMI
ShippingCalculator
App\Services
3686
60
ProductService
App\Services
33129
48
CheckoutService
App\Services
30170
43
Checkout\Show
App\Livewire\Storefront\Checkout
25135
52
OrderService
App\Services
2581
45

Least Maintainable Classes

ClassMICCNLOC
CartService
App\Services
29
20130
PricingEngine
App\Services
38
1659
ResolveStore
App\Http\Middleware
43
852
CheckoutService
App\Services
43
30170
Orders\Show
App\Livewire\Admin\Orders
45
13101

Most Coupled Classes

Order
23
Store
22
CheckoutService
17
OrderService
16
Product
13

Coupling Metrics

Avg Afferent (incoming)1.23
Avg Efferent (outgoing)3.32
Avg Instability0.77
Avg LCOM2.04
Max LCOM7

Halstead Metrics

Avg Volume244.8
Avg Difficulty4.76
Avg Bugs/Class0.081
Total Est. Bugs11.6
Comment Ratio15.9%
Avg LOC/Class34.9

SonarCloud Analysis

PR #14 - Quality Gate Failed
FAIL

Quality Gate: Failed

PR #14 · 2026-04-12-claude-code-teammain

9.3h technical debt

75 issues total

View on SonarCloud

Bugs

0

A

Reliability

Vulnerabilities

0

A

Security

Code Smells

75

A

Maintainability

Hotspots

4

To review

Lines of Code

12.8K

PHP

Duplication

3.1%

on new code

Coverage

0%

not configured

Issues by Severity

Critical
10
Major
16
Minor
49
Total75

Security Hotspots (4)

Encrypt Data
LOW4

All 4 hotspots are in tests/Feature/Tenancy/TenantResolutionTest.php (data encryption review)

Top Issue Rules

Unused Local VariablesS1481
44
MINOR
Duplicate String LiteralsS1192
6
CRITICAL
Generic ExceptionsS112
6
MAJOR
Excessive Return StatementsS1142
4
MAJOR
Cognitive ComplexityS3776
4
CRITICAL
Unused Function ParametersS1172
3
MAJOR
Immediately Returned VariablesS1488
3
MINOR
Field Naming ConventionS116
2
MINOR

Dominated by unused-variable noise (44 of 75 issues). 4 methods exceed the cognitive complexity threshold. Duplication density 3.1% is just above the 3% gate. Only 4 security hotspots, all scoped to tenant-resolution tests.