line | % | coverage | branch |
21 | 50 | T | F | if (exists $options{'TEST_MODE'}) |
25 | 0 | T | F | if (not defined $$self{'branchcode'}) |
88 | 50 | T | F | if (ref $add_duration ne 'DateTime::Duration') |
95 | 100 | T | F | if ($add_duration->is_negative) |
98 | 50 | T | F | if ($days_mode eq 'Datedue') { } |
| 50 | T | F | elsif ($days_mode eq 'Calendar') { } |
105 | 0 | T | F | if ($unit eq 'hours') |
111 | 50 | T | F | if ($unit eq 'hours') { } |
122 | 100 | T | F | if ($self->is_holiday($base_date)) { } |
129 | 50 | T | F | if ($unit eq 'hours') |
131 | 0 | T | F | if ($self->is_holiday($dt)) |
144 | 100 | T | F | if ($dow == 7) |
147 | 100 | T | F | if ($$self{'weekly_closed_days'}[$dow] == 1) |
153 | 100 | T | F | if (exists $$self{'day_month_closed_days'}{$month}{$day}) |
156 | 50 | T | F | if ($$self{'exception_holidays'}->contains($dt)) |
159 | 100 | T | F | if ($$self{'single_holidays'}->contains($dt)) |
180 | 0 | T | F | if ($self->is_holiday($start_dt)) |