Branch Coverage

blib/lib/Date/Holidays/BQ.pm
Criterion Covered Total %
branch 27 30 90.0


line true false branch
196 3 18 if ($args{'gov'})
200 12 9 if $cache{$key}
206 36 81 if (my $end = $holiday->{'year_ended'})
207 30 6 if $year > $end
209 15 72 if (my $start = $holiday->{'year_started'})
210 6 9 if $year < $start
213 0 81 if (my $int = $holiday->{'interval'}) { }
8 73 elsif (not $args{'gov'} and $holiday->{'gov'}) { }
214 0 0 if not $args{'gov'} and $year % $int != 0
225 9 64 if (my $dow = $holiday->{'dow'})
228 6 3 unless $cur == $_
240 8 48 if not $args{'gov'} and $holiday->{'gov'}
291 16 2 if (exists $holidays->{$key})
293 3 13 if ($lang eq "nl" or $lang eq "nld")
296 1 12 if ($lang eq "en" or $lang eq "eng")