Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
D Governator\StoreFactory::create() 0 28 18 18.01 1 0 1
B Governator\Store\RedisStore::__construct() 0 3 8 8 1 0 0
A Governator\Store\RedisStore::executeLua() 0 9 6 6 0 0 0
A BaseThrottleTest::exceeding_limit_throws_rate_limit_exceeded_exception() 0 34 2 ? 0 0 0
A BaseThrottleTest::can_acquire_throttle() 0 23 1 ? 0 0 0
A BaseThrottleTest::can_get_status_of_throttle_that_has_been_hit() 0 23 1 ? 0 0 0
A BaseThrottleTest::ensure_resets_after_ttl() 0 18 1 ? 0 0 0
A UnlimitedThrottleTest::always_allows_hit() 0 18 1 ? 1 0 1
A BaseThrottleTest::can_check_throttle_status_if_exceeded() 0 17 1 ? 0 0 0
A BaseThrottleTest::acquire_with_block_throws_quota_exceeded_exception_right_away_if_not_going_to_be_available_within_passed_time() 0 17 2 ? 0 0 0
A StoreFactoryTest::connectionProvider() 0 13 2 ? 2 0 1
A BaseThrottleTest::can_block_throttle_if_available_within_passed_time() 0 13 1 ? 0 0 0
A BaseThrottleTest::can_block_throttle_if_available_at_exactly_passed_time() 0 13 1 ? 0 0 0
A BaseThrottleTest::acquire_with_block_returns_quota_right_away_if_not_exceeded() 0 11 1 ? 0 0 0
A BaseThrottleTest::can_reset_throttle() 0 11 1 ? 0 0 0