Percentage | Lines | ||
---|---|---|---|
CircuitBreaker |
|
0 % | 61 |
CircuitBreakerOpenException |
|
0 % | 12 |
FailSafe |
|
0 % | 51 |
Retry |
|
100 % | 104 |
CRAP Score | Lines | ||
---|---|---|---|
FailSafe::with() | 12 | 16 | |
Retry::isInsideRetryLimit() | 4 | 8 | |
Retry::run() | 4 | 16 | |
Retry::canRetry() | 3 | 6 | |
CircuitBreaker::isAvailable() | 2 | 4 | |
CircuitBreaker::withFailureThreshold() | 2 | 7 | |
CircuitBreaker::withSuccessThreshold() | 2 | 7 | |
CircuitBreaker::withDelay() | 2 | 6 | |
CircuitBreaker::failOnException() | 2 | 6 | |
CircuitBreaker::failOnTimeOut() | 2 | 6 | |