Created at 2025-11-27 16:00:53 , with PHPMetrics v2.9.1 (Jean-François Lépine).
Average weighted method count by class (CC)
17.45
Average cyclomatic complexity by class
14.1
Average relative System complexity
1045.48
Average bugs by class(Halstead)
0.25
average defects by class (Kan)
1.05
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Drupal\entity_reference_revisions\Form\OrphanedCompositeEntitiesDeleteForm 6 2 2 64.51 0.51 64 0.13 0.38
Drupal\entity_reference_revisions\TypedData\EntityRevisionDataDefinition 9 8 5 25.42 0.42 25 0.09 0.57
Drupal\entity_reference_revisions\EntityReferenceRevisionsFieldItemList 38 35 17 625.38 0.38 625 0.44 3.8
Drupal\entity_reference_revisions\Plugin\QueueWorker\OrphanPurger 6 4 4 256.33 0.33 256 0.11 0.52
Drupal\entity_reference_revisions\Plugin\Derivative\MigrateEntityReferenceRevisions 3 3 3 4.67 0.67 4 0.03 0.45
Drupal\entity_reference_revisions\Plugin\DataType\EntityReferenceRevisions 23 18 9 144.49 0.49 144 0.13 0.57
Drupal\entity_reference_revisions\Plugin\DataType\EntityRevisionsAdapter 0 1 0 0 0 0 0 0.15
Drupal\entity_reference_revisions\Plugin\diff\Field\EntityReferenceRevisionsFieldDiffBuilder 11 10 7 5 1 4 0.08 1.28
Drupal\entity_reference_revisions\Plugin\Field\FieldWidget\EntityReferenceRevisionsAutocompleteWidget 4 4 4 36.57 0.57 36 0.05 0.52
Drupal\entity_reference_revisions\Plugin\Field\FieldType\EntityReferenceRevisionsItem 112 98 21 14641.15 0.15 14641 1.56 4.61
Drupal\entity_reference_revisions\Plugin\Field\FieldFormatter\EntityReferenceRevisionsLabelFormatter 14 10 9 100.55 0.55 100 0.19 0.59
Drupal\entity_reference_revisions\Plugin\Field\FieldFormatter\EntityReferenceRevisionsEntityFormatter 13 7 6 625.37 0.37 625 0.29 0.52
Drupal\entity_reference_revisions\Plugin\Field\FieldFormatter\EntityReferenceRevisionsFormatterBase 3 3 3 1.5 0.5 1 0.01 0.61
Drupal\entity_reference_revisions\Plugin\migrate\destination\EntityReferenceRevisions 35 28 16 784.24 0.24 784 0.33 1.34
Drupal\entity_reference_revisions\Plugin\views\style\EntityReferenceRevisions 7 4 4 121.37 0.37 121 0.12 0.68
Drupal\entity_reference_revisions\Plugin\views\row\EntityReferenceRevisions 4 2 2 25.5 0.5 25 0.06 0.22
Drupal\entity_reference_revisions\Plugin\views\display\EntityReferenceRevisions 20 13 7 225.52 0.52 225 0.36 1.17
Drupal\entity_reference_revisions\EntityNeedsSaveTrait 1 1 1 4.67 0.67 4 0.01 0.15
Drupal\entity_reference_revisions\EntityReferenceRevisionsOrphanPurger 36 28 9 3136.23 0.23 3136 0.94 2.33
Drupal\entity_reference_revisions\Commands\EntityReferenceRevisionsCommands 4 3 3 81.13 0.13 81 0.04 0.45