Created at 2024-11-03 13:00:05 , with PHPMetrics v2.8.1 (Jean-François Lépine).
Violations
6
Information
0
Warnings
5
Errors
1
Criticals
0

Class Violations

Class Violations
PropertySuggester\GetSuggestions
Too complex method code error
This class looks really complex.

* Algorithms are complex (Max cyclomatic complexity of class methods is 15)

Maybe you should delegate some code to other objects or split complex method.
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.
Too complex method code Probably bugged
PropertySuggester\Suggesters\SchemaTreeSuggester
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
PropertySuggester\Suggesters\SimpleSuggester
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.
Probably bugged

Package Violations

Package Violations
PropertySuggester\UpdateTable
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.

This package is instable and abstract.
Stable Abstractions Principle
PropertySuggester\Suggesters
Stable Dependencies Principle warning
Packages should depend in the direction of stability.

This package is more stable (0.727) than 1 package(s) that it depends on.
The packages that are more stable are

* PropertySuggester (0.929)
Stable Dependencies Principle