Branch Coverage

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


line true false branch
179 0 17 unless $year and $month and $day
192 0 18 unless my $year = shift()
194 7 11 if $cache{$year}
198 6 4 if (my $spec = $HOLIDAYS_SPECIAL{$year})
207 1 10 if $year < $HOLIDAYS_VALID_SINCE
212 20 80 unless $days
213 67 13 unless ref $days
214 0 80 unless @$days
217 0 80 unless $name
227 47 133 if ref $value ne "HASH"
230 6 127 unless $ykey
239 0 5 unless $year and $month and $day
241 1 4 if is_holiday($year, $month, $day)
246 1 3 unless $wday eq "Sat" or $wday eq "Sun"
249 2 1 unless my $ref = $BUSINESS_DAYS_ON_WEEKENDS{$year}
253 1 0 if $_ eq $md
263 0 3 unless my $short_days_ref = $SHORT_BUSINESS_DAYS{$year}