Percentage | Lines | ||
---|---|---|---|
RateLimiter |
|
100 % | 181 |
CRAP Score | Lines | |
---|---|---|
RateLimiter::getLogLevel() | 3 | 12 |
RateLimiter::__invoke() | 2 | 20 |
RateLimiter::log() | 2 | 10 |
RateLimiter::delay() | 2 | 8 |
RateLimiter::__construct() | 1 | 7 |
RateLimiter::getLogMessage() | 1 | 8 |
RateLimiter::getDefaultLogLevel() | 1 | 4 |
RateLimiter::setLogLevel() | 1 | 4 |
RateLimiter::getDelay() | 1 | 9 |
RateLimiter::setAllowance() | 1 | 7 |