Created at 2025-11-27 16:00:00 , with PHPMetrics v2.9.1 (Jean-François Lépine).
Average weighted method count by class (CC)
29.3
Average cyclomatic complexity by class
26.55
Average relative System complexity
1040.97
Average bugs by class(Halstead)
0.74
average defects by class (Kan)
1.86
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Drupal\token\TokenServiceProvider 1 1 1 4.33 0.33 4 0.01 0.15
Drupal\token\Token 33 26 7 169.57 0.57 169 0.45 2.44
Drupal\token\TokenEntityMapper 14 10 4 16.84 0.84 16 0.07 0.59
Drupal\token\Plugin\Derivative\DevelLocalTask 6 4 4 16.73 0.73 16 0.07 0.68
Drupal\token\Element\TokenTreeTable 30 27 17 10.38 1.38 9 0.5 1.85
Drupal\token\Controller\TokenTreeController 6 5 5 64.33 0.33 64 0.08 0.29
Drupal\token\Controller\TokenCacheController 1 1 1 16.2 0.2 16 0 0.15
Drupal\token\Controller\TokenDevelController 6 3 3 81.43 0.43 81 0.13 0.22
Drupal\token\MenuLinkFieldItemList 1 1 1 1 1 0 0 0.15
Drupal\token\TokenFieldRender 6 5 5 2.25 1.25 1 0.06 0.52
Drupal\token\TreeBuilder 33 28 12 169.57 0.57 169 0.74 2.35
Drupal\token\Routing\RouteSubscriber 4 3 3 16.33 0.33 16 0.08 0.45
Drupal\token\TokenModuleProvider 4 2 2 16.8 0.8 16 0.05 0.15
Drupal\token\Drush\Commands\TokenCommands 4 3 3 5.11 1.11 4 0.02 0.22
Drupal\token\Hook\TokenHooks 6 4 3 49.42 0.42 49 0.19 0.36
Drupal\token\Hook\TokenThemeHooks 4 3 3 25.25 0.25 25 0.25 0.29
Drupal\token\Hook\TokenTokenInfoHooks 62 56 29 900.22 0.22 900 4.55 4
Drupal\token\Hook\TokenFormHooks 31 26 17 81.4 0.4 81 0.51 1.47
Drupal\token\Hook\TokenEntityHooks 23 17 8 676.11 0.11 676 0.31 1.32
Drupal\token\Hook\TokenTokensHooks 311 306 201 18496.1 0.1 18496 6.73 19.57