| Percentage | Lines | ||
|---|---|---|---|
| InvalidArgumentException |
|
100 % | 1 |
| DateInterval |
|
100 % | 150 |
| CRAP Score | Lines | |
|---|---|---|
| DateInterval::validateRelativeFormat() | 72 | 7 |
| DateInterval::__construct() | 14 | 43 |
| DateInterval::parse() | 11 | 46 |
| DateInterval::getRefDT() | 2 | 3 |
| DateInterval::add() | 2 | 10 |
| DateInterval::toSeconds() | 2 | 8 |
| DateInterval::sub() | 2 | 10 |
| DateInterval::__toString() | 2 | 3 |