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 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 LeakyBucketStrategy::__construct() 0 3 1 2 1 0 0
A Flaps\Flap::pushThrottlingStrategy() 0 3 1 2 0 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
A HttpViolationHandler::sendHeader() 0 3 1 2 3 0 0
A BehEh\Flaps\Flap::isViolator() 0 6 3 12 0 0 0
A LeakyBucketStrategy::parseTime() 0 9 3 3 0 0 0