Branch Coverage

blib/lib/FormValidator/Lite/Constraint/Date.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
22 0 3 unless $y and $m and $d
24 0 3 if ($d > 31 or $d < 1 or $m > 12 or $m < 1 or $y == 0)
27 0 0 if ($d > 30 and $m == 4 || $m == 6 || $m == 9 || $m == 11)
30 1 2 if ($d > 29 and $m == 2)
33 0 2 if ($m == 2 and $d > 28 and not $y % 4 == 0 && ($y % 100 != 0 || $y % 400 == 0))