Created at 2025-11-27 16:00:00 , with PHPMetrics v2.9.1 (Jean-François Lépine).
classes
20 (100 %)
interfaces
3 (15 %)
average LCOM
2.05
logical lines of code by class
96
logical lines of code by method
26
Class LCOM Volume Class cycl. Max method cycl. Bugs Difficulty
Drupal\token\TokenServiceProvider 1 16.25 1 1 0.01 0.75
Drupal\token\Token 1 1346.45 26 7 0.45 24.63
Drupal\token\TokenEntityMapper 1 196.12 10 4 0.07 9.11
Drupal\token\Plugin\Derivative\DevelLocalTask 2 205.13 4 4 0.07 4.22
Drupal\token\Element\TokenTreeTable 4 1502.21 27 17 0.5 9.71
Drupal\token\Controller\TokenTreeController 2 249.73 5 5 0.08 4.67
Drupal\token\Controller\TokenCacheController 1 12 1 1 0 0.83
Drupal\token\Controller\TokenDevelController 2 384.7 3 3 0.13 3.81
Drupal\token\MenuLinkFieldItemList 1 0 1 1 0 0
Drupal\token\TokenFieldRender 2 193.26 5 5 0.06 8.25
Drupal\token\TreeBuilder 1 2218.01 28 12 0.74 18.34
Drupal\token\Routing\RouteSubscriber 2 235.53 3 3 0.08 3
Drupal\token\TokenModuleProvider 2 160 2 2 0.05 5.17
Drupal\token\Drush\Commands\TokenCommands 2 71.7 3 3 0.02 3.5
Drupal\token\Hook\TokenHooks 2 568.93 4 3 0.19 6.55
Drupal\token\Hook\TokenThemeHooks 2 752.46 3 3 0.25 5.96
Drupal\token\Hook\TokenTokenInfoHooks 2 13653.84 56 29 4.55 29.22
Drupal\token\Hook\TokenFormHooks 3 1519.03 26 17 0.51 15.7
Drupal\token\Hook\TokenEntityHooks 6 934.32 17 8 0.31 8.32
Drupal\token\Hook\TokenTokensHooks 2 20186.32 306 201 6.73 70.58