Branch Coverage

blib/lib/Date/Holidays/KZ.pm
Criterion Covered Total %
branch 25 38 65.7


line true false branch
159 0 14 unless $year and $month and $day
182 0 16 unless my $year = shift()
184 7 9 if $cache{$year}
188 4 2 if (my $spec = $HOLIDAYS_SPECIAL{$year})
197 2 7 if $year < $HOLIDAYS_VALID_SINCE
198 1 6 if ($strict)
199 1 0 if $year >= $INACCURATE_TIMES_SINCE
205 0 66 unless $days
206 48 18 unless ref $days
207 0 66 unless @$days
210 0 66 unless $name
220 132 0 if ref $value ne "HASH"
223 0 0 unless $ykey
237 0 5 unless $year and $month and $day
239 1 4 if is_holiday($year, $month, $day)
244 1 3 unless $wday eq "Sat" or $wday eq "Sun"
247 0 3 unless my $ref = $BUSINESS_DAYS_ON_WEEKENDS{$year}
251 1 4 if $_ eq $md
266 0 0 unless my $short_days_ref = $SHORT_BUSINESS_DAYS{$year}