Created at 2025-11-27 16:00:49 , with PHPMetrics v2.9.1 (Jean-François Lépine).
Average weighted method count by class (CC)
10.6
Average cyclomatic complexity by class
8.1
Average relative System complexity
140.44
Average bugs by class(Halstead)
0.39
average defects by class (Kan)
0.56
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Drupal\image_captcha\Form\ImageCaptchaSettingsForm 24 18 10 576.28 0.28 576 1.88 1.75
Drupal\image_captcha\Constants\ImageCaptchaConstants 0 1 0 0 0 0 0.01 0.15
Drupal\image_captcha\Controller\CaptchaImageRefreshController 6 5 5 256.18 0.18 256 0.19 0.22
Drupal\image_captcha\Controller\CaptchaFontPreviewController 9 7 7 16.87 0.87 16 0.2 0.5
Drupal\image_captcha\Controller\CaptchaImageGeneratorController 8 6 6 144.51 0.51 144 0.19 0.5
Drupal\image_captcha\Service\ImageCaptchaRenderService 48 42 23 196.73 0.73 196 2.61 1.85
Drupal\captcha\Form\CaptchaPointForm 9 6 5 361.24 0.24 361 0.2 0.29
Drupal\captcha\Form\CaptchaPointEnableForm 6 2 2 64.49 0.49 64 0.03 0.15
Drupal\captcha\Form\CaptchaSettingsForm 18 12 9 484.23 0.23 484 1.11 1.03
Drupal\captcha\Form\CaptchaExamplesForm 12 8 8 49.71 0.71 49 0.19 0.82
Drupal\captcha\Form\CaptchaPointDisableForm 6 2 2 64.49 0.49 64 0.03 0.15
Drupal\captcha\Form\CaptchaPointDeleteForm 5 2 2 64.39 0.39 64 0.03 0.15
Drupal\captcha\Entity\Controller\CaptchaPointListBuilder 3 2 2 36.36 0.36 36 0.05 0.15
Drupal\captcha\Entity\CaptchaPoint 4 3 2 17.09 1.09 16 0.03 0.22
Drupal\captcha\Constants\CaptchaConstants 0 1 0 0 0 0 0.01 0.15
Drupal\captcha\Plugin\migrate\source\CaptchaPoints 4 1 1 17.05 1.05 16 0.05 0.15
Drupal\captcha\Plugin\migrate\process\CaptchaTypeFormatter 2 2 2 3.5 2.5 1 0.02 0.15
Drupal\captcha\Element\Captcha 27 23 17 441.43 0.43 441 0.65 0.99
Drupal\captcha\Service\CaptchaService 18 17 11 4.89 0.89 4 0.24 1.63
Drupal\captcha\EventSubscriber\CaptchaCachedSettingsSubscriber 3 2 2 9.42 0.42 9 0.02 0.22