Created at 2023-10-02 16:20:10 , with PHPMetrics v2.8.2 (Jean-François Lépine).
Violations
2
Information
0
Warnings
1
Errors
1
Criticals
0

Class Violations

Class Violations
Modules\Tag\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 (9, 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.63 bugs.

* Calculation is based on number of operators, operands, cyclomatic complexity
* See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures
* 0 testsuites has dependency to this class.

Maybe you should check your unit tests for this class.
Blob / God object Probably bugged

Package Violations

Package Violations