Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
104 1 1 30 ref $params{'holidays'} and ref $params{'holidays'} eq "ARRAY"
137 6 1 1 exists $params{'include_bank_holiday'} and $params{'include_bank_holiday'}
162 33 1 1 exists $params{'no_melbourne_cup'} and $params{'no_melbourne_cup'}
178 14 1 3 exists $params{'include_bank_holiday'} and $params{'include_bank_holiday'}
199 9 1 1 exists $params{'no_show_day'} and $params{'no_show_day'}
263 1 1 176 exists $params{'year'} and defined $params{'year'}
347 110 23 38 defined $states_with_anzac_day_holiday_in_lieu{$state} and $states_with_anzac_day_holiday_in_lieu{$state} <= $year
486 17 1 3 $state eq "NSW" and $year >= _STARTING_YEAR_FOR_NSW_ADDITIONAL_DAY()
510 47 1 1 $state eq "NSW" and $year >= _STARTING_YEAR_FOR_NSW_ADDITIONAL_DAY()
528 47 8 1 $state eq "NSW" and $year >= _STARTING_YEAR_FOR_NSW_ADDITIONAL_DAY()
556 10 1 5 exists $params->{'region'} and defined $params->{'region'}
610 1 4 5 $wday >= _MONDAY() and $wday <= _WEDNESDAY()