| Percentage | Lines | ||
|---|---|---|---|
| StrategyFactory |
|
0 % | 24 |
| StrategyRegistry |
|
0 % | 54 |
| Webhook |
|
43 % | 372 |
| RequestResult |
|
73 % | 101 |
| AbstractStrategy |
|
88 % | 49 |
| ExponentialStrategy |
|
94 % | 52 |
| LinearStrategy |
|
94 % | 53 |
| Handler |
|
100 % | 82 |
| CRAP Score | Lines | ||
|---|---|---|---|
| StrategyFactory::create() | 12 | 15 | |
| Webhook::jsonSerialize() | 12 | 13 | |
| StrategyRegistry::getClassByName() | 6 | 8 | |
| StrategyRegistry::getName() | 6 | 10 | |
| Webhook::retry() | 6 | 12 | |
| Handler::handle() | 5 | 24 | |
| AbstractStrategy::setOptions() | 4 | 9 | |
| ExponentialStrategy::setBase() | 3 | 8 | |
| LinearStrategy::setMultiplier() | 3 | 8 | |
| Handler::createOptions() | 3 | 21 | |