Condition Coverage

blib/lib/Data/FormValidator/Util/HTML.pm
Criterion Covered Total %
condition 2 5 40.0


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 6 $token->is_start_tag('input') and not $token->return_attr->{'type'} =~ /^(button|submit|image)$/i

or 2 conditions

line l !l condition
50 6 0 'HTML::TokeParser::Simple'->new($in{'html'}) || die("failed to create HTML::TokeParser::Simple object: $!")