Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B LeakyBucketStrategy::isViolator() 0 22 5 5 4 0 0
A LeakyBucketStrategy::setTimeSpan() 0 9 4 4 0 0 0
A BehEh\Flaps\Flaps::getFlap() 0 5 2 2 1 0 0
A BehEh\Flaps\Flap::limit() 0 5 2 6 0 0 0
A Storage\DoctrineCacheAdapter::expire() 0 3 1 1 0 0 0
A Storage\PredisStorage::__construct() 0 3 1 2 1 0 1
A Storage\PredisStorage::configure() 0 4 1 2 0 0 0
A Flaps\Storage\PredisStorage::expire() 0 3 1 1 1 0 1
A BehEh\Flaps\Flap::__construct() 0 3 1 2 1 1 0
A Storage\PredisStorage::expireIn() 0 5 1 1 1 1 0
A Flaps\Flap::pushThrottlingStrategy() 0 3 1 2 0 0 0
A LeakyBucketStrategy::__construct() 0 3 1 2 1 0 0
A DoctrineCacheAdapter::getValue() 0 4 2 2 1 0 1
A HttpViolationHandler::handleViolation() 0 3 1 1 0 0 0
A Flaps\Flap::ensureViolationHandler() 0 3 2 6 0 0 0