| Percentage | Lines | ||
|---|---|---|---|
| PdoAssignUserToRole |
|
100 % | 70 |
| PdoUserRoles |
|
100 % | 51 |
| RolesAwareTrait |
|
100 % | 30 |
| PimpleServiceProvider |
|
100 % | 63 |
| CRAP Score | Lines | |
|---|---|---|
| PdoAssignUserToRole::__construct() | 3 | 13 |
| PdoAssignUserToRole::__invoke() | 2 | 23 |
| PdoUserRoles::__construct() | 2 | 13 |
| PdoUserRoles::__invoke() | 2 | 11 |
| RolesAwareTrait::setRoles() | 1 | 5 |
| RolesAwareTrait::getRoles() | 1 | 4 |
| PimpleServiceProvider::register() | 1 | 56 |