| line |
true |
false |
branch |
|
153
|
0 |
14 |
unless $year and $month and $day |
|
176
|
0 |
16 |
unless my $year = shift() |
|
178
|
7 |
9 |
if $cache{$year} |
|
182
|
4 |
2 |
if (my $spec = $HOLIDAYS_SPECIAL{$year}) |
|
191
|
2 |
7 |
if $year < $HOLIDAYS_VALID_SINCE |
|
192
|
1 |
6 |
if ($strict) |
|
193
|
1 |
0 |
if $year >= $INACCURATE_TIMES_SINCE |
|
199
|
0 |
66 |
unless $days |
|
200
|
48 |
18 |
unless ref $days |
|
201
|
0 |
66 |
unless @$days |
|
204
|
0 |
66 |
unless $name |
|
214
|
132 |
0 |
if ref $value ne 'HASH' |
|
217
|
0 |
0 |
unless $ykey |
|
231
|
0 |
5 |
unless $year and $month and $day |
|
233
|
1 |
4 |
if is_holiday($year, $month, $day) |
|
238
|
1 |
3 |
unless $wday eq 'Sat' or $wday eq 'Sun' |
|
241
|
0 |
3 |
unless my $ref = $BUSINESS_DAYS_ON_WEEKENDS{$year} |
|
245
|
1 |
4 |
if $_ eq $md |
|
260
|
0 |
0 |
unless my $short_days_ref = $SHORT_BUSINESS_DAYS{$year} |