Condition Coverage

blib/lib/HTML/FormHighlight.pm
Criterion Covered Total %
condition 0 50 0.0


and 3 conditions

line !l l&&!r l&&r condition
148 0 0 0 $$self{'fields'}{$$attr{'name'}} and not $$self{'_field_filled'}{$$attr{'name'}}
237 0 0 0 $$self{'_buffer'} and $$self{'mark'}
0 0 0 $$self{'_buffer'} and $$self{'mark'} and $$self{'_buffer'} =~ /$$self{'_mark_regex'}/

or 2 conditions

line l !l condition
55 0 0 $options{'fields'} ||= []
61 0 0 $options{'highlight'} || '*'
62 0 0 $options{'mark'} || ''
63 0 0 $options{'all_in_group'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
40 0 0 0 ref $proto || $proto
140 0 0 0 $tagname eq 'input' or $tagname eq 'textarea'
0 0 0 $tagname eq 'input' or $tagname eq 'textarea' or $tagname eq 'select'
0 0 0 $tagname eq 'input' or $tagname eq 'textarea' or $tagname eq 'select' or $tagname eq 'option'
151 0 0 0 $tagname eq 'textarea' or $tagname eq 'select'
154 0 0 0 $$attr{'type'} eq 'text' or $$attr{'type'} eq 'password'
0 0 0 $$attr{'type'} eq 'text' or $$attr{'type'} eq 'password' or $$attr{'type'} eq 'file'
0 0 0 $$attr{'type'} eq 'radio' or $$attr{'type'} eq 'checkbox'
164 0 0 0 $$self{'all_in_group'} or not $$self{'_highlighted'}{$$attr{'name'}}
201 0 0 0 $tagname eq 'textarea' or $tagname eq 'select'
0 0 0 $tagname eq 'textarea' or $tagname eq 'select' or $tagname eq 'option'