Percentage | Lines | ||
---|---|---|---|
InvalidArgumentException |
|
100 % | 37 |
DateTimeComparator |
|
100 % | 38 |
DateTimeFormatter |
|
100 % | 34 |
TimeFormatter |
|
100 % | 34 |
DateRange |
|
100 % | 204 |
DateTime |
|
100 % | 139 |
DateRangeFormatter |
|
100 % | 69 |
Time |
|
100 % | 138 |
CRAP Score | Lines | ||
---|---|---|---|
DateRangeFormatter::getLong() | 7 | 24 | |
DateRange::__construct() | 6 | 11 | |
DateRangeFormatter::getShort() | 6 | 20 | |
DateRange::containsDateRange() | 5 | 10 | |
DateRange::containsDate() | 5 | 10 | |
DateRange::intersect() | 4 | 11 | |
DateRange::getAllDates() | 4 | 19 | |
DateTimeComparator::getLatestDate() | 4 | 12 | |
DateTimeComparator::getEarliestDate() | 4 | 12 | |
DateRange::getDuration() | 3 | 8 | |