| Class | Violations |
|---|---|
|
Drupal\display_builder_entity_view\Controller\EntityViewOverridesController
Probably bugged warning
This component contains in theory 0.38 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_entity_view\Entity\EntityViewDisplayTrait
Probably bugged warning
This component contains in theory 0.59 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_entity_view\Form\EntityViewDisplayFormTrait
Probably bugged warning
This component contains in theory 1.04 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_entity_view\Plugin\display_builder\Buildable\EntityView
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (12, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=8) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.48 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder_entity_view\Plugin\display_builder\Buildable\EntityViewOverride
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (13, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=9) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.78 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class.
Too long information
This class looks really long.
* Class has 210 logical lines of code * Class has 349 lines of code Maybe your class should not exceed 200 lines of logical code |
Blob / God object Probably bugged Too long |
|
Drupal\display_builder_entity_view\BuilderDataConverter
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 36) * Component uses 110 operators Maybe you should delegate some code to other objects.
Probably bugged warning
This component contains in theory 1 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex class code Probably bugged |
|
Drupal\display_builder_page_layout\Entity\PageLayout
Probably bugged warning
This component contains in theory 0.41 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_page_layout\Form\PageLayoutForm
Probably bugged warning
This component contains in theory 0.64 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_page_layout\Plugin\DisplayVariant\DisplayBuilderPageVariant
Probably bugged warning
This component contains in theory 0.44 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_page_layout\Plugin\UiPatterns\Source\PageLayoutSource
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (11, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=6) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.36 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder_page_layout\Plugin\display_builder\Buildable\PageLayout
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (12, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=8) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects. |
Blob / God object |
|
Drupal\display_builder_page_layout\PageLayoutListBuilder
Probably bugged warning
This component contains in theory 0.5 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_ui\PatternPresetListBuilder
Probably bugged warning
This component contains in theory 0.39 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_ui\InstanceListBuilder
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (8, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=5) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 12) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.08 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Too complex method code Probably bugged |
|
Drupal\display_builder_views\Plugin\views\display_extender\DisplayExtender
Probably bugged warning
This component contains in theory 0.38 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder_views\Plugin\display_builder\Buildable\ViewDisplay
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (12, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=7) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.35 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder\Controller\ApiPreviewController
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 12) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 0.4 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex method code Probably bugged |
|
Drupal\display_builder\Controller\ApiController
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (15, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=4) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 56) * Component uses 183 operators Maybe you should delegate some code to other objects.
Probably bugged warning
This component contains in theory 2.4 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class.
Too long information
This class looks really long.
* Class has 354 logical lines of code * Class has 535 lines of code Maybe your class should not exceed 200 lines of logical code |
Blob / God object Too complex class code Probably bugged Too long |
|
Drupal\display_builder\Entity\PatternPreset
Probably bugged warning
This component contains in theory 0.52 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Entity\Instance
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (36, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=3) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 55) * Component uses 188 operators Maybe you should delegate some code to other objects.
Probably bugged warning
This component contains in theory 1.82 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class.
Too long information
This class looks really long.
* Class has 375 logical lines of code * Class has 609 lines of code Maybe your class should not exceed 200 lines of logical code |
Blob / God object Too complex class code Probably bugged Too long |
|
Drupal\display_builder\Event\DisplayBuilderEventsSubscriber
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (11, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=3) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects. |
Blob / God object |
|
Drupal\display_builder\Form\ProfileForm
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 11) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.29 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex method code Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\Collaboration
Probably bugged warning
This component contains in theory 0.79 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\ComponentLibraryPanel
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 14) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.87 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex method code Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\ControlsButtons
Probably bugged warning
This component contains in theory 0.35 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\HistoryButtons
Probably bugged warning
This component contains in theory 0.46 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\ViewportSwitcher
Probably bugged warning
This component contains in theory 0.93 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\BlockLibraryPanel
Probably bugged warning
This component contains in theory 0.62 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\ContextualFormPanel
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (10, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=5) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.51 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\DesignTokensPanel
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (10, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=7) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects. |
Blob / God object |
|
Drupal\display_builder\Plugin\display_builder\Island\PreviewPanel
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (9, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=4) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects. |
Blob / God object |
|
Drupal\display_builder\Plugin\display_builder\Island\StateButtons
Probably bugged warning
This component contains in theory 0.57 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\StylesPanel
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (11, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=6) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects. |
Blob / God object |
|
Drupal\display_builder\Plugin\display_builder\Island\TreePanel
Probably bugged warning
This component contains in theory 0.46 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\VisibilityConditionsPanel
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (8, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=4) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects. |
Blob / God object |
|
Drupal\display_builder\Plugin\display_builder\Island\BuilderPanel
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (9, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=3) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 55) * Component uses 157 operators Maybe you should delegate some code to other objects.
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 25) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.6 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class.
Too long information
This class looks really long.
* Class has 233 logical lines of code * Class has 414 lines of code Maybe your class should not exceed 200 lines of logical code |
Blob / God object Too complex class code Too complex method code Probably bugged Too long |
|
Drupal\display_builder\Plugin\display_builder\Island\LayersPanel
Probably bugged warning
This component contains in theory 0.81 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\PresetLibraryPanel
Probably bugged warning
This component contains in theory 0.45 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\Plugin\display_builder\Island\LogsPanel
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (10, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=4) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.43 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder\Plugin\UiPatterns\Source\LayoutSource
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (17, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=8) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.74 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder\Plugin\UiPatterns\Source\ComponentSource
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 50) * Component uses 126 operators Maybe you should delegate some code to other objects.
Probably bugged warning
This component contains in theory 0.97 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex class code Probably bugged |
|
Drupal\display_builder\ComponentLibraryDefinitionHelper
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 13) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 0.53 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex method code Probably bugged |
|
Drupal\display_builder\DisplayBuilderHelpers
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 17) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 0.41 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex method code Probably bugged |
|
Drupal\display_builder\BlockLibrarySourceHelper
Probably bugged warning
This component contains in theory 0.71 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\IslandPluginBase
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (24, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=14) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.52 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder\HtmxEvents
Probably bugged warning
This component contains in theory 0.96 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\RenderableBuilderTrait
Probably bugged warning
This component contains in theory 0.98 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
|
Drupal\display_builder\SourceTree
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 50) * Component uses 153 operators Maybe you should delegate some code to other objects.
Probably bugged warning
This component contains in theory 1.13 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class.
Too long information
This class looks really long.
* Class has 292 logical lines of code * Class has 586 lines of code Maybe your class should not exceed 200 lines of logical code |
Too complex class code Probably bugged Too long |
|
Drupal\display_builder\DisplayBuildablePluginBase
Blob / God object error
A blob object (or "god class") does not follow the Single responsibility principle.
* object has lot of public methods (12, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=4) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects.
Probably bugged warning
This component contains in theory 0.72 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
|
Drupal\display_builder\ProfileViewBuilder
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 41) * Component uses 119 operators Maybe you should delegate some code to other objects.
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 13) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.26 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex class code Too complex method code Probably bugged |
| Package | Violations |
|---|---|
|
Drupal\display_builder_entity_view\Plugin\display_builder\Buildable
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.783) than 1 package(s) that it depends on. The packages that are more stable are * Drupal\display_builder_entity_view (0.833) |
Stable Dependencies Principle |
|
Drupal\display_builder_page_layout\Plugin\display_builder\Buildable
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.818) than 1 package(s) that it depends on. The packages that are more stable are * Drupal\display_builder_page_layout (0.9) |
Stable Dependencies Principle |
|
Drupal\display_builder\Controller
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.879) than 1 package(s) that it depends on. The packages that are more stable are * Drupal\display_builder\Plugin\display_builder\Island (0.966) |
Stable Dependencies Principle |
|
Drupal\display_builder
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.491) than 1 package(s) that it depends on. The packages that are more stable are * Drupal\display_builder\Entity (0.913) |
Stable Dependencies Principle |