Created at 2017-12-10 01:27:25 , with PHPMetrics v2.3.2 (Jean-François Lépine).
Violations
5
Information
0
Warnings
2
Errors
3
Criticals
0

Violations

Component Violations
Groove_ReferAFriend_Block_Form_Broadcast_Share
Too complex method code error
This class looks really complex.

* Algorithms are complex (Max cyclomatic complexity of class methods is 8)

Maybe you should delegate some code to other objects or split complex method.
Too complex method code
Groove_ReferAFriend_Helper_Data
Blob / God object error
A blob object (or "god class") does not follow the Single responsability principle.

* object has lot of public methods (11, excluding getters and setters)
* object has a high Lack of cohesion of methods (LCOM=7)
* 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
Groove_ReferAFriend_Model_Invitation
Probably bugged warning
This component contains in theory 0.74 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.
Probably bugged
Groove_ReferAFriend_Model_Transaction
Blob / God object error
A blob object (or "god class") does not follow the Single responsability principle.

* object has lot of public methods (15, excluding getters and setters)
* object has a high Lack of cohesion of methods (LCOM=3)
* 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
* testsuites has dependency to this class.

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