Percentage | Lines | ||
---|---|---|---|
Com2Session |
|
58 % | 56 |
Com2Create |
|
74 % | 66 |
Com2Update |
|
81 % | 91 |
Com2Delete |
|
85 % | 88 |
Mock |
|
100 % | 12 |
Comment2Controller |
|
100 % | 154 |
CRAP Score | Lines | ||
---|---|---|---|
Com2Session::callbackSubmit() | 6 | 18 | |
Com2Delete::__construct() | 3 | 45 | |
Com2Update::__construct() | 3 | 46 | |
Comment2Controller::comment2Create() | 2 | 29 | |
Com2Create::callbackSubmit() | 2 | 12 | |
Com2Delete::callbackSubmit() | 2 | 8 | |
Com2Update::callbackSubmit() | 2 | 10 | |
Comment2Controller::comment2Update() | 2 | 29 | |
Comment2Controller::comment2Delete() | 2 | 29 | |
Comment2Controller::setUser() | 1 | 21 | |