blib/lib/Mojar/Cron/Holiday.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
21 | 2 | 50 | if (ref $date eq "ARRAY") |
23 | 2 | 0 | if @_ |
30 | 0 | 50 | unless $date =~ /^\d\d\d\d-\d\d-\d\d$/u |
33 | 16 | 34 | if @_ |
36 | 23 | 11 | if exists $holidays->{$date} |
39 | 1 | 10 | if $linked |
52 | 6 | 1 | @dates ? : |