Created at 2025-11-27 16:01:21 , with PHPMetrics v2.9.1 (Jean-François Lépine).
Average weighted method count by class (CC)
16.71
Average cyclomatic complexity by class
12.57
Average relative System complexity
478.5
Average bugs by class(Halstead)
0.28
average defects by class (Kan)
0.88
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Drupal\twig_tweak\UriExtractor 10 9 5 64.67 0.67 64 0.06 0.5
Drupal\twig_tweak\CacheMetadataExtractor 5 4 3 36.43 0.43 36 0.04 0.45
Drupal\twig_tweak\TwigTweakExtension 69 34 7 3025.81 0.81 3025 1.55 1.99
Drupal\twig_tweak\View\MenuViewBuilder 4 4 4 49.44 0.44 49 0.15 0.36
Drupal\twig_tweak\View\BlockViewBuilder 14 13 13 400.29 0.29 400 0.27 0.94
Drupal\twig_tweak\View\EntityFormViewBuilder 4 4 4 81.3 0.3 81 0.04 0.22
Drupal\twig_tweak\View\EntityViewBuilder 4 3 3 121.33 0.33 121 0.05 0.22
Drupal\twig_tweak\View\FieldViewBuilder 4 4 4 81.5 0.5 81 0.05 0.29
Drupal\twig_tweak\View\RegionViewBuilder 8 7 7 400.19 0.19 400 0.14 0.66
Drupal\twig_tweak\View\ImageViewBuilder 11 10 8 169.45 0.45 169 0.16 0.43
Drupal\twig_tweak\Command\ValidateCommand 2 2 2 25 0 25 0.01 0.22
Drupal\twig_tweak\Command\LintCommand 41 31 11 1369.42 0.42 1369 0.77 2.8
Drupal\twig_tweak\Command\DebugCommand 41 36 15 729.28 0.28 729 0.51 2.67
Drupal\twig_tweak\UrlExtractor 17 15 10 144.85 0.85 144 0.11 0.57