Condition Coverage

blib/lib/HTML/Widget/Constraint/Time.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
30 0 0 2 $self->names and @{$self->names;} == 3
36 0 0 2 $h and $m
0 0 2 $h and $m and $s
39 0 0 2 $h =~ /^\d+$/ and $m =~ /^\d+$/
0 0 2 $h =~ /^\d+$/ and $m =~ /^\d+$/ and $s =~ /^\d+$/
0 1 1 $h =~ /^\d+$/ and $m =~ /^\d+$/ and $s =~ /^\d+$/ and Date::Calc::check_time($h, $m, $s)

or 2 conditions

line l !l condition
33 2 0 $$params{$hour} || 0
34 2 0 $$params{$min} || 0
35 2 0 $$params{$sec} || 0