Condition Coverage

blib/lib/Date/Holidays/EnglandWales.pm
Criterion Covered Total %
condition 45 75 60.0


and 3 conditions

line !l l&&!r l&&r condition
94 2 1 0 $day == 1 and $dt->day_of_week <= 5
2 1 0 $day == 2 and $dt->day_of_week == 1
2 0 1 $day == 3 and $dt->day_of_week == 1
101 10 3 3 $year == 2011 and $month == 4
106 0 2 1 $day >= 1 and $day <= 7
2 0 1 $day >= 1 and $day <= 7 and $dt->day_of_week == 1
109 0 1 1 $year != 2012 and $year != 2022
0 0 1 $day >= 25 and $dt->day_of_week == 1
1 0 1 $year != 2012 and $year != 2022 and ($day >= 25 and $dt->day_of_week == 1)
114 13 0 0 $year == 2012 and $month == 6
120 9 2 2 $year == 2022 and $month == 6
125 9 1 1 $year == 2022 and $month == 9
130 0 0 1 $day >= 25 and $dt->day_of_week == 1
136 4 1 0 $day == 25 and $dt->day_of_week <= 5
4 1 0 $day == 26 and $dt->day_of_week == 1
4 0 1 $day == 27 and $dt->day_of_week == 1
141 3 1 0 $day == 26 and $dt->day_of_week <= 5
4 0 0 $day == 27 and $dt->day_of_week <= 2
3 0 1 $day == 28 and $dt->day_of_week <= 2

or 3 conditions

line l !l&&r !l&&!r condition
94 0 0 3 $day == 1 and $dt->day_of_week <= 5 or $day == 2 and $dt->day_of_week == 1
0 3 0 $day == 1 and $dt->day_of_week <= 5 or $day == 2 and $dt->day_of_week == 1 or $day == 3 and $dt->day_of_week == 1
136 0 0 5 $day == 25 and $dt->day_of_week <= 5 or $day == 26 and $dt->day_of_week == 1
0 3 2 $day == 25 and $dt->day_of_week <= 5 or $day == 26 and $dt->day_of_week == 1 or $day == 27 and $dt->day_of_week == 1
141 0 0 4 $day == 26 and $dt->day_of_week <= 5 or $day == 27 and $dt->day_of_week <= 2
0 3 1 $day == 26 and $dt->day_of_week <= 5 or $day == 27 and $dt->day_of_week <= 2 or $day == 28 and $dt->day_of_week <= 2