Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Yiisoft\User\CurrentUser::getSavedId() | 0 | 12 | 11 | 11 | 1 | 0 | 0 |
B | CookieLoginMiddleware::authenticateUserByCookieFromRequest() | 0 | 32 | 10 | 10 | 1 | 0 | 0 |
B | CookieLoginMiddleware::process() | 0 | 12 | 8 | 8 | 0 | 0 | 0 |
A | Yiisoft\User\CurrentUser::saveId() | 0 | 13 | 5 | 5 | 1 | 0 | 0 |
A | Login\LoginMiddleware::process() | 0 | 10 | 4 | 4 | 3 | 0 | 0 |
A | Login\Cookie\CookieLogin::addCookie() | 0 | 10 | 3 | 3 | 0 | 0 | 0 |
A | Yiisoft\User\CurrentUser::beforeLogin() | 0 | 3 | 1 | 1 | 2 | 0 | 0 |
A | Yiisoft\User\CurrentUser::getIdentity() | 0 | 8 | 3 | 3 | 1 | 0 | 0 |
A | CookieLoginMiddleware::__construct() | 0 | 0 | 1 | 1 | 0 | 0 | 0 |
A | User\Event\BeforeLogin::isValid() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | CurrentUser::getExpireAbsolute() | 0 | 4 | 3 | 3 | 2 | 1 | 0 |
A | Event\BeforeLogout::__construct() | 0 | 0 | 1 | 1 | 1 | 0 | 0 |
A | Cookie\CookieLogin::expireCookie() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | Yiisoft\User\UserAuth::challenge() | 0 | 3 | 1 | 1 | 1 | 0 | 0 |
A | User\CurrentUser::switchIdentity() | 0 | 2 | 2 | 2 | 1 | 0 | 0 |