Class | Violations |
---|---|
Modules\Media\Models\MediaMapper
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 * 0 testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Probably bugged |
Modules\Media\Models\UploadFile
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 28) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 0.76 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 complex method code Probably bugged |
Modules\Media\Models\CollectionMapper
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 16) Maybe you should delegate some code to other objects or split complex method. |
Too complex method code |
Modules\Media\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 (20, 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 231) * Component uses 492 operators Maybe you should delegate some code to other objects.
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 35) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 4.98 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 726 logical lines of code * Class has 1128 lines of code Maybe your class should not exceed 200 lines of logical code
Too dependent information
This class looks use really high number of components.
* Efferent coupling is 36, so this class uses 36 different external components. Maybe you should check why this class has lot of dependencies. |
Blob / God object Too complex class code Too complex method code Probably bugged Too long Too dependent |
Modules\Media\Controller\BackendController
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 71) * Component uses 155 operators Maybe you should delegate some code to other objects.
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 35) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.51 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 204 logical lines of code * Class has 343 lines of code Maybe your class should not exceed 200 lines of logical code
Too dependent information
This class looks use really high number of components.
* Efferent coupling is 20, so this class uses 20 different external components. Maybe you should check why this class has lot of dependencies. |
Too complex class code Too complex method code Probably bugged Too long Too dependent |
Modules\Media\Admin\Installer
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 59) * Component uses 127 operators Maybe you should delegate some code to other objects.
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 22) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.05 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * 1 testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Too complex class code Too complex method code Probably bugged |
Package | Violations |
---|---|
phpOMS\DataStorage\Database
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Modules\Media\Controller
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Modules\Media\Views
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.714) than 1 package(s) that it depends on. The packages that are more stable are * Modules\Media\Models (0.818) |
Stable Dependencies Principle |