Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Middleware\Impersonate::handle() | 0 | 42 | 9 | 9.01 | 0 | 0 | 0 |
A | Middleware\Impersonate::checkPermission() | 0 | 19 | 4 | 4 | 0 | 0 | 0 |
A | Impersonator::enterImpersonation() | 0 | 18 | 3 | 3 | 0 | 0 | 0 |
A | Impersonator::exitImpersonation() | 0 | 15 | 2 | 2 | 0 | 0 | 0 |
A | Service\Impersonator::__construct() | 0 | 14 | 1 | 1 | 0 | 0 | 0 |
A | Service\Impersonator::retrieveUser() | 0 | 14 | 2 | 2 | 0 | 0 | 0 |
A | LaravelPretendServiceProvider::boot() | 0 | 14 | 3 | 3 | 0 | 0 | 0 |
A | Middleware\Impersonate::__construct() | 0 | 13 | 1 | 1 | 0 | 0 | 0 |
A | LaravelPretendServiceProvider::register() | 0 | 10 | 1 | 1 | 0 | 0 | 0 |
A | LaravelPretendServiceProvider::isLumen() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | Event\Impersonated::__construct() | 0 | 5 | 1 | 1 | 0 | 0 | 0 |
A | Impersonator::getImpersonatingIdentifier() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | Middleware\ForbidImpersonation::handle() | 0 | 4 | 1 | ? | 0 | 0 | 0 |
A | Event\Impersonated::getRealUser() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | Impersonated::getImpersonationUser() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |