CRAP Score | Lines | ||
---|---|---|---|
Day::isHoliday() | 4 | 16 | |
DateRange::getPeriod() | 3 | 12 | |
DateRange::equals() | 2 | 4 | |
DateRange::overlaps() | 2 | 4 | |
Month::__construct() | 2 | 12 | |
Week::__construct() | 2 | 14 | |
Week::getFirstDayOfWeek() | 2 | 12 | |
Year::__construct() | 2 | 12 | |
DateRange::start() | 1 | 4 | |
Month::isOutOfMonth() | 1 | 4 | |