Condition Coverage

blib/lib/Date/Holidays/AU.pm
Criterion Covered Total %
condition 39 39 100.0


and 3 conditions

line !l l&&!r l&&r condition
30 1 1 157 exists $params{'year'} and defined $params{'year'}
75 1 1 30 ref $params{'holidays'} and ref $params{'holidays'} eq "ARRAY"
254 29 1 1 exists $params{'no_melbourne_cup'} and $params{'no_melbourne_cup'}
266 6 1 1 exists $params{'no_show_day'} and $params{'no_show_day'}
304 5 1 1 exists $params{'include_bank_holiday'} and $params{'include_bank_holiday'}
362 11 1 3 exists $params{'include_bank_holiday'} and $params{'include_bank_holiday'}
448 6 1 1 $state eq "NSW" and $year > 2011
470 44 1 1 $state eq "NSW" and $year > 2011
486 49 8 1 $state eq "NSW" and $year > 2011
512 9 1 5 exists $params->{'region'} and defined $params->{'region'}
566 1 1 5 $wday >= 1 and $wday <= 3

or 3 conditions

line l !l&&r !l&&!r condition
194 31 40 82 $state eq "VIC" or $state eq "TAS"
71 15 67 $state eq "VIC" or $state eq "TAS" or $state eq "NSW"