| Percentage | Lines | ||
|---|---|---|---|
| Commands |
|
0 % | 35 |
| PermissionCreate |
|
0 % | 26 |
| RoleDelete |
|
0 % | 26 |
| RoleNotFoundException |
|
0 % | 7 |
| PermissionDelete |
|
0 % | 26 |
| PermissionNotFoundException |
|
0 % | 7 |
| RoleCreate |
|
0 % | 27 |
| UnknownModelKeyException |
|
0 % | 7 |
| Permission |
|
10 % | 65 |
| Role |
|
20 % | 84 |
| CRAP Score | Lines | ||
|---|---|---|---|
| PermissionCreate::handle() | 6 | 9 | |
| RoleDelete::handle() | 6 | 9 | |
| Role::revokePermissions() | 6 | 4 | |
| Role::assignPermissions() | 6 | 4 | |
| PermissionDelete::handle() | 6 | 9 | |
| RoleCreate::handle() | 6 | 9 | |
| Permission::revokeRoles() | 6 | 4 | |
| Permission::assignRoles() | 6 | 4 | |
| Commands::slug() | 6 | 9 | |
| Search::toArray() | 5 | 11 | |