| Class | Violations |
|---|---|
|
Drupal\entity\BulkFormEntityListBuilder
Probably bugged warning
This component contains in theory 0.42 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\entity\Form\RevisionableContentEntityForm
Probably bugged warning
This component contains in theory 0.37 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\entity\Form\RevisionRevertForm
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\entity\Access\EntityRevisionRouteAccessChecker
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 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. |
Too complex method code Probably bugged |
|
Drupal\entity\QueryAccess\ViewsQueryAlter
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.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. |
Too complex method code Probably bugged |
|
Drupal\entity\QueryAccess\QueryAccessHandlerBase
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 20) Maybe you should delegate some code to other objects or split complex method.
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. |
Too complex method code Probably bugged |
|
Drupal\entity\EntityPermissionProviderBase
Probably bugged warning
This component contains in theory 0.73 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\entity\EntityViewsData
Probably bugged warning
This component contains in theory 1.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. |
Probably bugged |
| Package | Violations |
|---|---|
|
Drupal\entity\Entity
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
|
Drupal\entity\Revision
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |