Branch Coverage

blib/lib/HTML/Widget/Constraint/DateTime.pm
Criterion Covered Total %
branch 4 6 66.6


line true false branch
37 0 2 unless $self->names and @{$self->names;} >= 3
51 0 2 unless $y and $mo and $d
55 1 1 unless ($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))