Condition Coverage

blib/lib/HTML/Widget/Constraint/DateTime.pm
Criterion Covered Total %
condition 15 36 41.6


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 2 $self->names and @{$self->names;} >= 3
51 0 0 2 $y and $mo
0 0 2 $y and $mo and $d
55 0 0 2 $y =~ /^\d+$/ and $mo =~ /^\d+$/
0 0 2 $y =~ /^\d+$/ and $mo =~ /^\d+$/ and $d =~ /^\d+$/
0 0 2 $y =~ /^\d+$/ and $mo =~ /^\d+$/ and $d =~ /^\d+$/ and $h =~ /^\d+$/
0 0 2 $y =~ /^\d+$/ and $mo =~ /^\d+$/ and $d =~ /^\d+$/ and $h =~ /^\d+$/ and $mi =~ /^\d+$/
0 0 2 $y =~ /^\d+$/ and $mo =~ /^\d+$/ and $d =~ /^\d+$/ and $h =~ /^\d+$/ and $mi =~ /^\d+$/ and $s =~ /^\d+$/
0 1 1 $y =~ /^\d+$/ and $mo =~ /^\d+$/ and $d =~ /^\d+$/ and $h =~ /^\d+$/ and $mi =~ /^\d+$/ and $s =~ /^\d+$/ and Date::Calc::check_date($y, $mo, $d)
1 0 1 $y =~ /^\d+$/ and $mo =~ /^\d+$/ and $d =~ /^\d+$/ and $h =~ /^\d+$/ and $mi =~ /^\d+$/ and $s =~ /^\d+$/ and Date::Calc::check_date($y, $mo, $d) and Date::Calc::check_time($h, $mi, $s)

or 2 conditions

line l !l condition
44 2 0 $$params{$hour} || 0
45 2 0 $$params{$min} || 0
46 2 0 $$params{$sec} || 0