blib/lib/Data/OpeningHours/Calendar.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
37 | 0 | 10 | unless exists $$self{'week'}[$day_of_week] |
48 | 2 | 2 | if ($self->is_special_day($date->ymd('-'))) |
61 | 1 | 4 | if ($self->is_special_day($date->ymd('-'))) |
63 | 1 | 0 | if $hours |
67 | 4 | 0 | if $hours |
77 | 3 | 2 | if ($hour) |