Branch Coverage

blib/lib/Date/Holidays/RU.pm
Criterion Covered Total %
branch 27 34 79.4


line true false branch
181 0 17 unless $year and $month and $day
194 0 18 unless my $year = shift()
196 7 11 if $cache{$year}
200 6 4 if (my $spec = $HOLIDAYS_SPECIAL{$year})
209 1 10 if $year < $HOLIDAYS_VALID_SINCE
214 20 80 unless $days
215 67 13 unless ref $days
216 0 80 unless @$days
219 0 80 unless $name
229 47 133 if ref $value ne "HASH"
232 6 127 unless $ykey
241 0 5 unless $year and $month and $day
243 1 4 if is_holiday($year, $month, $day)
248 1 3 unless $wday eq "Sat" or $wday eq "Sun"
251 2 1 unless my $ref = $BUSINESS_DAYS_ON_WEEKENDS{$year}
255 1 0 if $_ eq $md
265 0 3 unless my $short_days_ref = $SHORT_BUSINESS_DAYS{$year}