Created at 2024-09-03 19:22:11 , with PHPMetrics v2.8.2 (Jean-François Lépine).
Violations
4
Information
1
Warnings
2
Errors
1
Criticals
0

Class Violations

Class Violations
Snicco\Component\BetterWPDB\BetterWPDB
Too complex class code error
This class looks really complex.

* Algorithms are complex (Total cyclomatic complexity of class is 62)
* Component uses 205 operators

Maybe you should delegate some code to other objects.
Probably bugged warning
This component contains in theory 1.86 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 432 logical lines of code
* Class has 676 lines of code

Maybe your class should not exceed 200 lines of logical code
Too complex class code Probably bugged Too long
Snicco\Component\BetterWPDB\KeysetPagination\Query
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.
Probably bugged

Package Violations

Package Violations