Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A ThrottleServiceProvider::setupConfig() 0 6 5 5.58 3 0 0
A Throttlers\CacheThrottler::hit() 0 9 3 3.01 4 1 0
A Throttle\Throttle::getTransformer() 0 1 1 2 0 0 0
A Factories\CacheFactory::getCache() 0 1 1 1 1 0 0
A ThrottleServiceProvider::provides() 0 4 1 1 0 0 0
A Transformers\RequestTransformer::transform() 0 1 1 1 1 0 0
A Throttlers\CacheThrottler::attempt() 0 3 1 1 0 0 0
A Middleware\ThrottleMiddleware::handle() 0 3 2 2 1 0 0
A GrahamCampbell\Throttle\Data::__construct() 0 4 1 1 1 0 0
A Throttlers\CacheThrottler::hitRedis() 0 5 1 2 2 0 0
A GrahamCampbell\Throttle\Throttle::getFactory() 0 1 1 1 0 0 0
A Throttle\Factories\CacheFactory::make() 0 1 1 1 1 0 0
A Facades\Throttle::getFacadeAccessor() 0 1 1 1 0 0 0
A ThrottleServiceProvider::registerTransformer() 0 4 1 1 2 0 0
A GrahamCampbell\Throttle\Data::getIp() 0 1 1 1 1 0 0