line |
true |
false |
branch |
156
|
0 |
14 |
unless $year and $month and $day |
179
|
0 |
16 |
unless my $year = shift() |
181
|
7 |
9 |
if $cache{$year} |
185
|
4 |
2 |
if (my $spec = $HOLIDAYS_SPECIAL{$year}) |
194
|
2 |
7 |
if $year < $HOLIDAYS_VALID_SINCE |
195
|
1 |
6 |
if ($strict) |
196
|
1 |
0 |
if $year >= $INACCURATE_TIMES_SINCE |
202
|
0 |
66 |
unless $days |
203
|
48 |
18 |
unless ref $days |
204
|
0 |
66 |
unless @$days |
207
|
0 |
66 |
unless $name |
217
|
132 |
0 |
if ref $value ne 'HASH' |
220
|
0 |
0 |
unless $ykey |
234
|
0 |
5 |
unless $year and $month and $day |
236
|
1 |
4 |
if is_holiday($year, $month, $day) |
241
|
1 |
3 |
unless $wday eq 'Sat' or $wday eq 'Sun' |
244
|
0 |
3 |
unless my $ref = $BUSINESS_DAYS_ON_WEEKENDS{$year} |
248
|
1 |
4 |
if $_ eq $md |
263
|
0 |
0 |
unless my $short_days_ref = $SHORT_BUSINESS_DAYS{$year} |