#06 Claude Code Team v3 (Advanced Prompt)

Quality

2026-03-18-claude-code-team · v2.1.80

Files Created

462

482 unique

Total Tool Calls

24140

across 177 agents

Active Agents

176

contributing code

Estimated Cost

$284.52

20151 API requests

Codebase Output

482 files

Files by Directory

tests/Feature
60
resources/views
53
database/migrations
48
app/Models
46
database/factories
40
app/Livewire
39
app/Enums
31
app/Services
21
database/seeders
19
app/Policies
11
tests/Unit
7
app/Exceptions
7
app/Events
7
app/Jobs
6
work/phase-1
5

Files per Agent (top 12)

agent-a3d67f324244c260a
79w 21e
agent-a610506f0af51a391
70w 7e
agent-a21ca4e8da74b807a
64w 4e
agent-a04e2134ca5cc3726
49w 12e
agent-a48ec2e93978b91f7
36w 13e
agent-a1bf3e8168c7d7bf6
43w 4e
agent-ab15a621d62ab107c
24w 10e
agent-a0ba65789aecb7527
12w 0e
agent-a0fd405d92bb101d0
1w 3e
agent-a0b41104c00d493f6
1w 2e
agent-a574911f888b49621
1w 1e
agent-a0b95b3aa4ea15fed
1w 0e

Code Quality Assessment

PHPMetrics

Code Quality Assessment

PHPMetrics 2.9.1

Classes

163

Lines of Code

5.7K

Avg MI

72.2

Avg Complexity

4.5

Est. Bugs

14.9

Violations

0

0 errors

Complexity Distribution

Low (CCN <= 5)
123 (75.5%)
Medium (6-10)
18 (11%)
High (> 10)
22 (13.5%)

Maintainability Distribution

Excellent (>= 85)
27 (16.6%)
Good (70-84)
26 (16%)
Moderate (55-69)
73 (44.8%)
Low (< 55)
37 (22.7%)

Most Complex Classes

ClassCCNLOCMI
Products\Form
App\Livewire\Admin\Products
36190
43
DiscountService
App\Services
30132
56
ShippingCalculator
App\Services
29104
58
OrderService
App\Services
28102
64
CheckoutService
App\Services
24144
50

Least Maintainable Classes

ClassMICCNLOC
CartService
App\Services
30
18118
ProductService
App\Services
36
1879
Addresses\Index
App\Livewire\Storefront\Account\Addresses
38
1069
Products\Show
App\Livewire\Storefront\Products
38
1374
Checkout\Show
App\Livewire\Storefront\Checkout
40
23150

Most Coupled Classes

Order
19
Store
19
User
19
CheckoutService
17
OrderService
16

Coupling Metrics

Avg Afferent (incoming)1.15
Avg Efferent (outgoing)2.89
Avg Instability0.77
Avg LCOM1.80
Max LCOM5

Halstead Metrics

Avg Volume272.5
Avg Difficulty4.12
Avg Bugs/Class0.091
Total Est. Bugs14.9
Comment Ratio7.64%
Avg LOC/Class35.0

SonarCloud Analysis

PR #11 - Quality Gate Failed
FAIL

Quality Gate: Failed

PR #11 · 2026-03-18-claude-code-teammain

14.3h technical debt

92 issues total

View on SonarCloud

Bugs

1

C

Reliability

Vulnerabilities

0

A

Security

Code Smells

91

A

Maintainability

Hotspots

47

To review

Lines of Code

18.6K

PHP

Duplication

8%

on new code

Coverage

0%

not configured

Issues by Severity

Critical
47
Major
23
Minor
22
Total92

Security Hotspots (47)

Weak Cryptography
MEDIUM30

Pseudorandom number generator usage in seeder and test files

Encrypt Data
LOW10

Data encryption review needed

Others
LOW7

Miscellaneous security considerations

Top Issue Rules

Duplicate String LiteralsS1192
43
CRITICAL
Unused Local VariablesS1481
19
MINOR
Unused Function ParametersS1172
4
MAJOR
Cognitive ComplexityS3776
4
CRITICAL
Excessive Return StatementsS1142
3
MAJOR
Generic ExceptionsS112
3
MAJOR
Field Naming ConventionS116
2
MINOR
Function Too LongS138
1
MAJOR

Highest complexity: Products Form, DiscountService, and ShippingCalculator exceed the 15-point cognitive complexity threshold. 43 duplicate string literal issues are the largest single rule category. 8% duplication density exceeds the 3% threshold.