Violations
Violations
38
Information
1
Warnings
28
Errors
9
Critical
0
Class Violations
Class | Violations |
---|---|
Mvc5\Request\Config\Request
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 26) * Component uses 66 operators Maybe you should delegate some code to other objects. |
Too complex class code |
Mvc5\Service\Context
Blob / God object error
A blob object (or "god class") does not follow the Single responsability principle.
* object has lot of public methods (8, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=6) * object knows everything (and use lot of external classes) Maybe you should reducing the number of methods splitting this object in many sub objects. |
Blob / God object |
Mvc5\Service\Builder
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 13) Maybe you should delegate some code to other objects or split complex method. |
Too complex method code |
Mvc5\Http\Config\Uri
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 14) Maybe you should delegate some code to other objects or split complex method. |
Too complex method code |
Mvc5\Url\Assemble
Blob / God object error
A blob object (or "god class") does not follow the Single responsability principle.
* object has lot of public methods (14, excluding getters and setters) * object has a high Lack of cohesion of methods (LCOM=14) * 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.4 bugs.
* Calculation is based on number of operators, operands, cyclomatic complexity * See more details at https://en.wikipedia.org/wiki/Halstead_complexity_measures * 6 testsuites has dependency to this class. Maybe you should check your unit tests for this class. |
Blob / God object Probably bugged |
Mvc5\Resolver\Resolver
Too complex class code error
This class looks really complex.
* Algorithms are complex (Total cyclomatic complexity of class is 99) * Component uses 189 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 23) Maybe you should delegate some code to other objects or split complex method.
Probably bugged warning
This component contains in theory 1.31 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 311 logical lines of code * Class has 491 lines of code Maybe your class should not exceed 200 lines of logical code |
Too complex class code Too complex method code Probably bugged Too long |
Mvc5\Signal
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. |
Too complex method code |
Mvc5\Route\Definition\Compiler
Too complex method code error
This class looks really complex.
* Algorithms are complex (Max cyclomatic complexity of class methods is 21) Maybe you should delegate some code to other objects or split complex method. |
Too complex method code |
Package Violations
Package | Violations |
---|---|
Mvc5
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.37) than 4 package(s) that it depends on. The packages that are more stable are * Mvc5\Service (0.421) * Mvc5\Exception (0.833) * Mvc5\View (0.429) * Mvc5\Plugin (0.962) |
Stable Dependencies Principle |
Mvc5\Request\Exception\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Request\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Cookie
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.3) than 1 package(s) that it depends on. The packages that are more stable are * Mvc5 (0.37) |
Stable Dependencies Principle |
Mvc5\Cookie\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Http
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract.
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.063) than 2 package(s) that it depends on. The packages that are more stable are * Mvc5\Config (0.182) * Mvc5 (0.37) |
Stable Abstractions Principle Stable Dependencies Principle |
Mvc5\Http\Error
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Http\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Plugins
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Url\Route
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Template
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.167) than 2 package(s) that it depends on. The packages that are more stable are * Mvc5\Config (0.182) * Mvc5 (0.37) |
Stable Dependencies Principle |
Mvc5\Template\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Resolver
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\View\Template
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\View\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Response\Service
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Response\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Event
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.2) than 1 package(s) that it depends on. The packages that are more stable are * Mvc5 (0.37) |
Stable Dependencies Principle |
Mvc5\Plugin\Gem
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.143) than 2 package(s) that it depends on. The packages that are more stable are * Mvc5 (0.37) * Mvc5\Config (0.182) |
Stable Dependencies Principle |
Mvc5\Route\Definition
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Route\Dispatch
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Route
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract.
Stable Dependencies Principle warning
Packages should depend in the direction of stability.
This package is more stable (0.188) than 1 package(s) that it depends on. The packages that are more stable are * Mvc5 (0.37) |
Stable Abstractions Principle Stable Dependencies Principle |
Mvc5\Route\Match\Plugin
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |
Mvc5\Session\Config
Stable Abstractions Principle warning
Packages should be either abstract and stable or concrete and instable.
This package is instable and abstract. |
Stable Abstractions Principle |