Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | BusinessHoursBuilder::shiftToTimezone() | 33 | 38 | 8 | 8 | 0 | 0 | 0 |
B | Time\Time::timeElementsAreValid() | 0 | 10 | 8 | 8 | 0 | 0 | 0 |
B | Day\DayBuilder::isIntervalAllDay() | 6 | 6 | 7 | 7 | 0 | 0 | 0 |
B | AbstractDay::getNextOpeningHoursInterval() | 0 | 14 | 5 | 5.25 | 0 | 0 | 0 |
B | AbstractDay::getPreviousOpeningHoursInterval() | 0 | 14 | 5 | 5.2 | 0 | 0 | 0 |
B | BusinessHours\Day\DayBuilder::fromArray() | 0 | 15 | 5 | 5 | 0 | 0 | 0 |
B | AbstractDay::flattenOpeningHoursIntervals() | 0 | 17 | 4 | 4 | 0 | 0 | 0 |
B | DayBuilder::fromAssociativeArray() | 0 | 13 | 6 | 6 | 0 | 0 | 0 |
A | Day\Time\TimeBuilder::fromString() | 0 | 11 | 4 | 4 | 0 | 0 | 0 |
A | AbstractDay::setOpeningHoursIntervals() | 0 | 9 | 4 | 4 | 0 | 0 | 0 |
A | BusinessHoursBuilder::fromAssociativeArray() | 0 | 7 | 4 | 4 | 0 | 0 | 0 |
A | BusinessHours\BusinessHours::getDayBefore() | 0 | 7 | 4 | 4.25 | 0 | 0 | 0 |
A | BusinessHours\BusinessHours::getDayAfter() | 0 | 7 | 4 | 4.25 | 0 | 0 | 0 |
A | BusinessHours::getClosestDateIntervalBefore() | 0 | 12 | 3 | 3.02 | 0 | 0 | 0 |
A | BusinessHours::getClosestDateIntervalAfter() | 0 | 12 | 3 | 3.02 | 0 | 0 | 0 |