Condition Coverage

blib/lib/FormValidator/Lite/Constraint/Date.pm
Criterion Covered Total %
condition 12 36 33.3


and 3 conditions

line !l l&&!r l&&r condition
22 1 0 3 $y and $m
0 0 3 $y and $m and $d
27 3 0 0 $d > 30 and $m == 4 || $m == 6 || $m == 9 || $m == 11
30 2 0 1 $d > 29 and $m == 2
33 0 2 0 $m == 2 and $d > 28
0 0 0 $y % 4 == 0 && ($y % 100 != 0 || $y % 400 == 0)
2 0 0 $m == 2 and $d > 28 and not $y % 4 == 0 && ($y % 100 != 0 || $y % 400 == 0)

or 3 conditions

line l !l&&r !l&&!r condition
24 0 0 3 $d > 31 or $d < 1
0 0 3 $d > 31 or $d < 1 or $m > 12
0 0 3 $d > 31 or $d < 1 or $m > 12 or $m < 1
0 0 3 $d > 31 or $d < 1 or $m > 12 or $m < 1 or $y == 0
27 0 0 0 $m == 4 || $m == 6 || $m == 9 || $m == 11