Percentage | Lines | ||
---|---|---|---|
anonymous//src/Auth.php$0 |
|
0 % | 5 |
anonymous//src/Confirmation/HashidsConfirmation.php$0 |
|
67 % | 5 |
TokenConfirmation |
|
97 % | 119 |
HashidsConfirmation |
|
99 % | 291 |
AuthMiddleware |
|
100 % | 165 |
NoConfirmation |
|
100 % | 46 |
StateTrait |
|
100 % | 93 |
CookieMiddleware |
|
100 % | 95 |
AbstractEvent |
|
100 % | 28 |
CancellableTrait |
|
100 % | 34 |
CRAP Score | Lines | ||
---|---|---|---|
Auth::getInfoFromSession() | 10 | 37 | |
Jwt::getInfo() | 7 | 27 | |
CookieMiddleware::getSetCookieHeader() | 6 | 21 | |
Auth::login() | 6 | 24 | |
Levels::calcUserLevel() | 6 | 20 | |
Auth::mfa() | 5 | 23 | |
TokenConfirmation::from() | 5 | 28 | |
HashidsConfirmation.php$0 ➔ extractHex() | 5 | 22 | |
AuthMiddleware::isAllowed() | 4 | 14 | |
Groups::calcUserRoles() | 4 | 15 | |