#14 Claude Code Fable 5

Quality

2026-06-09-claude-code-fable-5 · v2.1.170

Files Created

498

508 unique

Total Tool Calls

2356

across 15 agents

Active Agents

14

contributing code

Estimated Cost

$422.68

1635 API requests

Codebase Output

508 files

Files by Directory

resources/views
84
tests/Feature
58
app/Livewire
51
database/migrations
49
app/Models
46
database/factories
43
app/Enums
30
app/Http
20
database/seeders
20
app/Services
19
tests/Browser
18
app/Policies
11
app/Exceptions
9
app/Jobs
6
tests/Unit
6

Files per Agent (top 12)

agent-a1164194376804efc
69w 15e
agent-aee658067d5c9624e
70w 7e
agent-a23bd9da03123eb37
60w 14e
agent-ac0e81897d8cb1642
48w 11e
agent-a5b8fdd31f067495e
37w 17e
agent-aaf8c45178ed6fa97
44w 4e
agent-a510d66f2ca1526f7
27w 10e
agent-a04a87cd887618894
26w 7e
agent-a12c5bc2a067318a7
13w 17e
agent-a94e46415fdbce5a2
13w 10e
agent-a7118dae002fa5091
7w 13e
agent-aa227ac08dc987930
6w 11e

Code Quality Assessment

PHPMetrics

Code Quality Assessment

PHPMetrics 2.9.1

Classes

195

Lines of Code

10.3K

Avg MI

90.2

Avg Complexity

6.2

Est. Bugs

31.1

Violations

0

0 errors

Complexity Distribution

Low (CCN <= 5)
145 (74.4%)
Medium (6-10)
13 (6.7%)
High (> 10)
37 (19%)

Maintainability Distribution

Excellent (>= 85)
108 (55.4%)
Good (70-84)
46 (23.6%)
Moderate (55-69)
34 (17.4%)
Low (< 55)
7 (3.6%)

Most Complex Classes

ClassCCNLOCMI
Form
App\Livewire\Admin\Products
54384
44
ProductController
App\Http\Controllers\Api\Admin
51187
56
SearchService
App\Services
49302
58
Shipping
App\Livewire\Admin\Settings
48254
48
Show
App\Livewire\Storefront\Checkout
40251
50

Least Maintainable Classes

ClassMICCNLOC
Form
App\Livewire\Admin\Products
44
54384
Shipping
App\Livewire\Admin\Settings
48
48254
Show
App\Livewire\Storefront\Checkout
50
40251
Show
App\Livewire\Admin\Orders
51
36210
InvalidDiscountException
App\Exceptions
52
136

Most Coupled Classes

Store
33
Order
27
CheckoutService
24
Product
23
User
19

Coupling Metrics

Avg Afferent (incoming)1.61
Avg Efferent (outgoing)3.84
Avg Instability0.75
Avg LCOM2.05
Max LCOM8

Halstead Metrics

Avg Volume477.7
Avg Difficulty5.47
Avg Bugs/Class0.159
Total Est. Bugs31.1
Comment Ratio26.95%
Avg LOC/Class52.9

SonarCloud Analysis

PR #22 - Quality Gate Failed
FAIL

Quality Gate: Failed

PR #22 · 2026-06-09-claude-code-fable-5main

12.6h technical debt

83 issues total

View on SonarCloud

Bugs

7

C

Reliability

Vulnerabilities

0

A

Security

Code Smells

76

A

Maintainability

Hotspots

0

To review

Lines of Code

17.7K

PHP

Duplication

1.5%

on new code

Coverage

0%

not configured

Issues by Severity

Critical
15
Major
67
Minor
1
Total83

Security Hotspots (0)

0

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

Top Issue Rules

Dialog Role AccessibilityWeb:S6819
15
MAJOR
Unused Parametersphp:S1172
13
MAJOR
Duplicate String Literalsphp:S1192
13
CRITICAL
Missing Page Title (bug)Web:PageWithoutTitleCheck
7
MAJOR
Generic Exceptionsphp:S112
7
MAJOR
ARIA Role / LandmarkWeb:S6822
5
MAJOR
Nested Ternaryphp:S3358
5
MAJOR
ARIA Required AttributesWeb:S6807
3
MAJOR
Identical Method Bodiesphp:S4144
2
MAJOR
Cognitive Complexityphp:S3776
2
CRITICAL
Too Many Parametersphp:S107
2
MAJOR
Method Too Longphp:S138
2
MAJOR

83 issues in total (76 code smells + 7 bugs), dominated by role="dialog" accessibility (15), unused parameters (13) and duplicate string literals (13). Duplication sits at 1.5%, comfortably under the 3% 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: seven Blade pages are missing a <title> tag.