Created at 2018-02-12 23:33:26 , with PHPMetrics v2.3.2 (Jean-François Lépine).
Violations
6
Information
2
Warnings
2
Errors
2
Criticals
0

Violations

Component Violations
LupeCode\phpTraderInterface\Trader
Blob / God object error
A blob object (or "god class") does not follow the Single responsability principle.

* object has lot of public methods (163, excluding getters and setters)
* object has a high Lack of cohesion of methods (LCOM=163)
* 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 2.22 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 657 logical lines of code
* Class has 2456 lines of code

Maybe your class should not exceed 200 lines of logical code
Blob / God object Probably bugged Too long
LupeCode\phpTraderInterface\TraderTrait
Blob / God object error
A blob object (or "god class") does not follow the Single responsability principle.

* object has lot of public methods (163, excluding getters and setters)
* object has a high Lack of cohesion of methods (LCOM=164)
* 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 5.25 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 1158 logical lines of code
* Class has 2844 lines of code

Maybe your class should not exceed 200 lines of logical code
Blob / God object Probably bugged Too long