Created at 2025-11-27 16:00:09 , with PHPMetrics v2.9.1 (Jean-François Lépine).
Average weighted method count by class (CC)
12.66
Average cyclomatic complexity by class
8.21
Average relative System complexity
278.77
Average bugs by class(Halstead)
0.27
average defects by class (Kan)
0.64
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Drupal\ctools_views\Plugin\Display\Block 200 185 55 4356.28 0.28 4356 4.83 11.31
Drupal\ctools_block\Plugin\Deriver\EntityFieldDeriver 7 7 7 121.17 0.17 121 0.13 0.89
Drupal\ctools_block\Plugin\Block\EntityField 25 11 6 1369.41 0.41 1369 0.83 0.64
Drupal\ctools_entity_mask\MaskEntityTrait 1 1 1 1.5 0.5 1 0 0.15
Drupal\ctools_entity_mask\MaskContentEntityStorage 12 2 2 8.36 8.36 0 0.03 0.15
Drupal\ctools\ContextMapper 3 3 3 2 2 0 0.07 0.45
Drupal\ctools\Form\RelationshipConfigure 10 2 2 256.34 0.34 256 0.25 0.15
Drupal\ctools\Form\RequiredContextDelete 15 2 2 256.65 0.65 256 0.29 0.22
Drupal\ctools\Form\ResolverRelationshipDelete 10 2 2 256.41 0.41 256 0.21 0.22
Drupal\ctools\Form\ResolverRelationshipConfigure 13 5 3 225.36 0.36 225 0.43 0.59
Drupal\ctools\Form\AjaxFormTrait 2 1 1 9.5 0.5 9 0.01 0.15
Drupal\ctools\Form\ContextDelete 7 1 1 64.69 0.69 64 0.05 0.15
Drupal\ctools\Form\ContextConfigure 22 11 5 676.22 0.22 676 0.7 0.78
Drupal\ctools\Form\ConditionDelete 18 3 2 361.56 0.56 361 0.33 0.29
Drupal\ctools\Form\ManageConditions 16 3 2 484.32 0.32 484 0.6 0.61
Drupal\ctools\Form\RequiredContext 14 3 2 196.49 0.49 196 0.53 0.61
Drupal\ctools\Form\ManageContext 26 8 4 784.33 0.33 784 0.97 0.96
Drupal\ctools\Form\ConditionConfigure 17 8 5 529.24 0.24 529 0.31 0.5
Drupal\ctools\Form\ManageResolverRelationships 17 4 2 529.4 0.4 529 0.61 0.52
Drupal\ctools\SerializableTempstoreFactory 3 3 3 5 1 4 0.02 0.22
Drupal\ctools\Context\AutomaticContext 1 1 1 1 1 0 0 0.15
Drupal\ctools\Context\EntityLazyLoadContext 5 3 2 49.38 0.38 49 0.03 0.29
Drupal\ctools\Access\TempstoreAccess 6 6 6 100.3 0.3 100 0.07 0.29
Drupal\ctools\ParamConverter\TempstoreConverter 18 15 7 65.08 1.08 64 0.2 0.66
Drupal\ctools\Plugin\RelationshipBase 0 1 0 0 0 0 0 0.15
Drupal\ctools\Plugin\DisplayVariant\BlockDisplayVariant 14 7 4 122.02 1.02 121 0.19 0.66
Drupal\ctools\Plugin\RelationshipManager 1 1 1 9.75 0.75 9 0.01 0.15
Drupal\ctools\Plugin\VariantPluginCollection 5 3 3 10.25 1.25 9 0.04 0.22
Drupal\ctools\Plugin\Relationship\TypedDataEntityRelationship 3 3 3 25.17 0.17 25 0.04 0.29
Drupal\ctools\Plugin\Relationship\TypedDataLanguageRelationship 2 2 2 25.17 0.17 25 0.03 0.22
Drupal\ctools\Plugin\Relationship\TypedDataRelationship 9 5 3 289.24 0.24 289 0.12 0.43
Drupal\ctools\Plugin\Condition\NodeType 1 1 1 5 1 4 0.03 0.15
Drupal\ctools\Plugin\Condition\EntityBundle 4 3 2 36.14 0.14 36 0.03 0.61
Drupal\ctools\Plugin\Deriver\TypedDataEntityRelationshipDeriver 4 4 4 26 1 25 0.05 0.29
Drupal\ctools\Plugin\Deriver\TypedDataPropertyDeriverBase 12 8 6 100.67 0.67 100 0.08 0.89
Drupal\ctools\Plugin\Deriver\TypedDataRelationshipDeriver 12 12 12 121.5 0.5 121 0.33 0.57
Drupal\ctools\Plugin\Deriver\EntityBundle 7 6 4 81.5 0.5 81 0.08 0.66
Drupal\ctools\Plugin\Deriver\TypedDataLanguageRelationshipDeriver 5 4 3 10.13 1.13 9 0.04 0.45
Drupal\ctools\Plugin\Deriver\EntityViewDeriver 3 3 3 16.4 0.4 16 0.04 0.45
Drupal\ctools\Plugin\Deriver\EntityDeriverBase 2 1 1 3 2 1 0.03 0.15
Drupal\ctools\Plugin\BlockVariantTrait 18 6 2 289.59 0.59 289 0.16 0.36
Drupal\ctools\Plugin\VariantCollectionTrait 7 2 2 81.45 0.45 81 0.03 0.22
Drupal\ctools\Plugin\BlockPluginCollection 9 8 8 36.64 0.64 36 0.1 0.68
Drupal\ctools\Plugin\Block\EntityView 17 9 6 441.6 0.6 441 0.23 0.5
Drupal\ctools\Wizard\WizardFactory 16 13 7 289.32 0.32 289 0.27 1.1
Drupal\ctools\Wizard\FormWizardBase 47 26 8 1225.54 0.54 1225 1.28 1.76
Drupal\ctools\Wizard\EntityFormWizardBase 15 11 6 1444.15 0.15 1444 0.53 0.64
Drupal\ctools\Annotation\Relationship 0 1 0 0 0 0 0 0.15
Drupal\ctools\Controller\WizardFormController 6 3 2 144.38 0.38 144 0.07 0.22
Drupal\ctools\Controller\WizardEntityFormController 3 2 2 25.58 0.58 25 0.05 0.22
Drupal\ctools\SerializableTempstore 0 1 0 0 0 0 0 0.15
Drupal\ctools\ContextNotFoundException 0 1 0 0 0 0 0 0.15
Drupal\ctools\Routing\Enhancer\WizardEnhancer 7 6 4 5.5 1.5 4 0.05 0.36
Drupal\ctools\TypedDataResolver 33 28 15 576.31 0.31 576 0.38 2.79
Drupal\ctools\Event\WizardEvent 1 1 1 3.75 3.75 0 0.01 0.15
Drupal\ctools\Event\BlockVariantEvent 1 1 1 2.67 2.67 0 0.01 0.15
Drupal\ctools\Event\BlockVariantEvents 0 1 0 0 0 0 0 0.15
Drupal\ctools\Ajax\OpenModalWizardCommand 2 2 2 10.25 1.25 9 0.04 0.15