| Percentage | Lines | ||
|---|---|---|---|
| ForbiddenException |
|
0 % | 12 |
| UnauthorizedException |
|
0 % | 12 |
| Ability |
|
0 % | 47 |
| Authenticate |
|
0 % | 34 |
| CheckUserStatus |
|
0 % | 35 |
| Permission |
|
0 % | 41 |
| ResponseGuestIfAuthenticated |
|
0 % | 48 |
| Role |
|
0 % | 42 |
| AccessLog |
|
0 % | 36 |
| AccessLogRepository |
|
0 % | 9 |
| CRAP Score | Lines | ||
|---|---|---|---|
| RequestCriteria::apply() | 462 | 79 | |
| UserTrait::ability() | 420 | 59 | |
| BaseRepository::setWheres() | 306 | 59 | |
| RequestCriteria::parserFieldsSearch() | 110 | 60 | |
| SearchCriteria::apply() | 110 | 36 | |
| BaseRepository::findBy() | 110 | 47 | |
| Role::hasPermission() | 90 | 27 | |
| RoleTrait::hasPermission() | 90 | 27 | |
| UserTrait::can() | 90 | 28 | |
| User::can() | 90 | 28 | |