Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A ImpersonatorServiceProvider::extendAuthDriver() 0 26 4 4 0 0 0
A LaravelImpersonator\Impersonator::stop() 0 22 2 2 0 0 0
A LaravelImpersonator\Impersonator::start() 0 21 2 2.02 0 0 0
A ImpersonationPolicy::abilities() 0 18 1 1 0 0 0
A Impersonator::getImpersonatorFromSession() 0 11 1 1 0 0 0
A ImpersonatorServiceProvider::register() 0 9 1 1 0 0 0
A ImpersonationException::cannotImpersonate() 0 9 1 1 0 0 0
A ImpersonationException::cannotBeImpersonated() 0 9 1 1 0 0 0
A ImpersonationException::selfImpersonation() 0 4 1 1 0 0 0
A ImpersonationPolicy::canImpersonate() 0 8 2 2 0 0 0
A Exceptions\ImpersonationException::make() 0 4 1 1 0 0 0
A LaravelImpersonator\Impersonator::getSessionKey() 0 4 1 1 0 0 0
A Traits\CanImpersonate::isSamePerson() 0 8 3 3.14 0 0 0
A LaravelImpersonator\Impersonator::__construct() 0 4 1 1 0 0 0
A LaravelImpersonator\Impersonator::mustBeEnabled() 0 7 2 2 0 0 0