Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | Yiisoft\Yii\RateLimiter\Counter::hit() | 0 | 9 | 2 | 2 | 0 | 0 | 0 |
A | Counter::getLastStoredTheoreticalNextIncrementTime() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Policy\LimitCallback::fingerprint() | 0 | 4 | 3 | 3 | 1 | 0 | 0 |
A | Storage\SimpleCacheStorage::save() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | MicrotimeTimer::nowInMilliseconds() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | RateLimiter\CounterState::__construct() | 0 | 0 | 1 | 1 | 1 | 0 | 0 |
A | Counter::storeTheoreticalNextIncrementTime() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Policy\LimitCallback::__construct() | 0 | 0 | 1 | 1 | 1 | 0 | 0 |
A | Storage\SimpleCacheStorage::get() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Policy\LimitAlways::fingerprint() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | RateLimiter\CounterState::getRemaining() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | RateLimiter\Counter::getStorageKey() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Counter::calculateTheoreticalNextIncrementTime() | 0 | 2 | 1 | 1 | 1 | 0 | 0 |
A | RateLimiter\Policy\LimitPerIp::getIp() | 0 | 2 | 1 | 1 | 1 | 0 | 0 |
A | LimitRequestsMiddleware::__construct() | 0 | 1 | 2 | 2 | 0 | 0 | 0 |