Branch Coverage

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


line true false branch
178 0 17 unless $year and $month and $day
191 0 18 unless my $year = shift()
193 7 11 if $cache{$year}
197 6 4 if (my $spec = $HOLIDAYS_SPECIAL{$year})
206 1 10 if $year < $HOLIDAYS_VALID_SINCE
211 20 80 unless $days
212 67 13 unless ref $days
213 0 80 unless @$days
216 0 80 unless $name
226 47 133 if ref $value ne 'HASH'
229 6 127 unless $ykey
238 0 5 unless $year and $month and $day
240 1 4 if is_holiday($year, $month, $day)
245 1 3 unless $wday eq 'Sat' or $wday eq 'Sun'
248 2 1 unless my $ref = $BUSINESS_DAYS_ON_WEEKENDS{$year}
252 1 0 if $_ eq $md
262 0 3 unless my $short_days_ref = $SHORT_BUSINESS_DAYS{$year}