Branch Coverage

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


line true false branch
187 0 17 unless $year and $month and $day
200 0 18 unless my $year = shift()
202 7 11 if $cache{$year}
206 6 4 if (my $spec = $HOLIDAYS_SPECIAL{$year})
215 1 10 if $year < $HOLIDAYS_VALID_SINCE
220 20 80 unless $days
221 67 13 unless ref $days
222 0 80 unless @$days
225 0 80 unless $name
235 47 133 if ref $value ne "HASH"
238 6 127 unless $ykey
247 0 5 unless $year and $month and $day
249 1 4 if is_holiday($year, $month, $day)
254 1 3 unless $wday eq "Sat" or $wday eq "Sun"
257 2 1 unless my $ref = $BUSINESS_DAYS_ON_WEEKENDS{$year}
261 1 0 if $_ eq $md
271 0 3 unless my $short_days_ref = $SHORT_BUSINESS_DAYS{$year}