Condition Coverage

blib/lib/HTML/FormBuilder.pm
Criterion Covered Total %
condition 24 37 64.8


and 3 conditions

line !l l&&!r l&&r condition
215 0 2 0 $input->{'type'} and $input->{'type'} eq "submit"
259 0 26 60 $_->{'id'} and $_->{'id'} eq $field_id
292 0 17 86 $input->{'id'} and $input->{'id'} eq $field_id
298 0 4 11 $input->{'type'} eq "checkbox" and $input->{'checked'}
4 0 11 $input->{'type'} eq "checkbox" and $input->{'checked'} and $input->{'checked'} eq "checked"
377 0 525 164 $sub_input_field->{'id'} and $sub_input_field->{'id'} eq $field_id
406 4 10 2 $input_field->{'data'}{'error'}{'id'} and $input_field->{'data'}{'error'}{'id'} eq $error_id

or 2 conditions

line l !l condition
60 3 24 $args{'csrftoken'} // ""
64 7 20 $args{'data'}{'method'} ||= "get"
216 2 0 $input->{'name'} || ''
217 0 2 $self->get_field_value($input->{'id'}) || ''
264 36 0 $field_value // ""
267 11 0 $_->{'value'} // "on"
299 58 0 $input->{'value'} // ""
302 11 0 $input->{'value'} // "on"