Class | Violations |
---|---|
Modules\Accounting\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=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.
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 39) * Component uses 161 operators Maybe you should delegate some code to other objects.
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 * 0 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 265 logical lines of code * Class has 623 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 |
Modules\Accounting\Controller\BackendController
Probably bugged warning
This component contains in theory 0.68 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. |
Probably bugged |
Package | Violations |
---|