Percentage | Lines | ||
---|---|---|---|
HasRoles |
|
86 % | 27 |
SimpleRolesServiceProvider |
|
94 % | 39 |
RoleMiddleware |
|
100 % | 15 |
CRAP Score | Lines | |
---|---|---|
HasRoles::hasRole() | 2 | 9 |
HasRoles::setRole() | 2 | 9 |
SimpleRolesServiceProvider::boot() | 1 | 21 |
HasRoles::removeRole() | 1 | 4 |
RoleMiddleware::handle() | 1 | 5 |
SimpleRolesServiceProvider::register() | 1 | 4 |