Branch Coverage

File:Koha/Calendar.pm
Coverage:55.9%

line%coveragebranch
2150TFif (exists $options{'TEST_MODE'})
250TFif (not defined $$self{'branchcode'})
8850TFif (ref $add_duration ne 'DateTime::Duration')
95100TFif ($add_duration->is_negative)
9850TFif ($days_mode eq 'Datedue') { }
50TFelsif ($days_mode eq 'Calendar') { }
1050TFif ($unit eq 'hours')
11150TFif ($unit eq 'hours') { }
122100TFif ($self->is_holiday($base_date)) { }
12950TFif ($unit eq 'hours')
1310TFif ($self->is_holiday($dt))
144100TFif ($dow == 7)
147100TFif ($$self{'weekly_closed_days'}[$dow] == 1)
153100TFif (exists $$self{'day_month_closed_days'}{$month}{$day})
15650TFif ($$self{'exception_holidays'}->contains($dt))
159100TFif ($$self{'single_holidays'}->contains($dt))
1800TFif ($self->is_holiday($start_dt))