Condition Coverage

blib/lib/HTML/FormBuilder/Field.pm
Criterion Covered Total %
condition 15 20 75.0


and 3 conditions

line !l l&&!r l&&r condition
34 13 23 61 $data->{'input'} and ref $data->{'input'} ne 'ARRAY'
67 71 0 0 $data->{'type'} and $data->{'type'} eq 'hidden'
169 1 53 7 $input_field->{'type'} and $input_field->{'type'} eq 'textarea'
202 0 2 1 $input_field->{'type'} and $input_field->{'type'} =~ /radio|checkbox/i

or 2 conditions

line l !l condition
76 55 1 $data->{'label'}{'text'} || ''
78 2 54 delete $data->{'label'}{'required_mark'} || 0
107 0 1 $data->{'comment'}{'class'} ||= ''
173 7 0 $input_field->{'value'} || ''