Percentage | Lines | ||
---|---|---|---|
FromJdnConverter |
|
95 % | 68 |
Processor |
|
97 % | 157 |
Converter |
|
100 % | 56 |
InvalidDateException |
|
100 % | 12 |
LeapYearValidator |
|
100 % | 37 |
DateTime |
|
100 % | 188 |
DateValidator |
|
100 % | 111 |
ToJdnConverter |
|
100 % | 61 |
DateTimeFactory |
|
100 % | 111 |
Easter |
|
100 % | 46 |
CRAP Score | Lines | ||
---|---|---|---|
Formatter::getValueOfFormatCharacter() | 3 | 12 | |
Formatter::skipCharacter() | 3 | 14 | |
Initiator::computeDaysInMonth() | 3 | 4 | |
DateValidator::isValidLeapDay() | 3 | 10 | |
Processor::fixForChaining() | 2 | 10 | |
FromJdnConverter::set() | 2 | 12 | |
ToJdnConverter::set() | 2 | 16 | |
DateTime::__construct() | 2 | 10 | |
DateTimeFactory::checkForDateTimeZone() | 2 | 9 | |
Formatter::format() | 2 | 17 | |