Percentage | Lines | ||
---|---|---|---|
CreateUserForm |
|
60 % | 101 |
UpdateUserForm |
|
94 % | 148 |
UserLoginForm |
|
96 % | 62 |
UserService |
|
98 % | 215 |
DeleteUserForm |
|
100 % | 61 |
User |
|
100 % | 33 |
UserActiveRecordModel |
|
100 % | 125 |
UserController |
|
100 % | 164 |
CRAP Score | Lines | ||
---|---|---|---|
CreateUserForm::callbackSubmit() | 12 | 35 | |
UserService::login() | 6 | 26 | |
UserService::validLoggedInAdmin() | 5 | 11 | |
UpdateUserForm::callbackSubmit() | 4 | 49 | |
UpdateUserForm::__construct() | 4 | 81 | |
UserController::getPostUpdateUser() | 4 | 28 | |
UserController::getPostDeleteUser() | 4 | 24 | |
UserActiveRecordModel::setUserData() | 3 | 10 | |
UserService::createUser() | 3 | 10 | |
UserService::getUserByField() | 3 | 14 | |