Condition Coverage

blib/lib/Data/FormValidator/Constraints/Dates.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
50 1 0 3 $date_test && $time_test
93 0 0 4 $result{'p'} eq 'PM' and $result{'h'} != 12
94 4 0 0 $result{'p'} eq 'AM' and $result{'h'} == 12

or 2 conditions

line l !l condition
30 6 0 shift() || die(q[date_and_time: need format parameter. Be sure to pass it by reference, like this: \\'MM/DD/YYYY'])

or 3 conditions

line l !l&&r !l&&!r condition
89 2 47 0 $result{$format->[1][$i]} ||= $data[$i]