Condition Coverage

blib/lib/HTML/FillInForm.pm
Criterion Covered Total %
condition 65 85 76.4


and 3 conditions

line !l l&&!r l&&r condition
230 291 6 10 exists $self->{'target'} and !exists $self->{'current_form'} || $self->{'current_form'} ne $self->{'target'}
248 121 172 2 exists $attr->{'name'} and exists $self->{'disable_fields'}{$attr->{'name'}}
293 0 2 exists $attr->{'name'} and exists $self->{'disable_fields'}{$attr->{'name'}} and $self->{'disable_fields'}{$attr->{'name'}}
2 0 0 exists $attr->{'disabled'} && $attr->{'disabled'}
172 0 2 exists $attr->{'name'} and exists $self->{'disable_fields'}{$attr->{'name'}} and $self->{'disable_fields'}{$attr->{'name'}} and not exists $attr->{'disabled'} && $attr->{'disabled'}
252 121 166 8 exists $attr->{'name'} and exists $self->{'invalid_fields'}{$attr->{'name'}}
287 0 8 exists $attr->{'name'} and exists $self->{'invalid_fields'}{$attr->{'name'}} and $self->{'invalid_fields'}{$attr->{'name'}}
256 5 0 3 exists $attr->{'class'} and length $attr->{'class'}
269 1 125 10 exists $attr->{'type'} and $attr->{'type'} eq "hidden"
126 4 6 exists $attr->{'type'} and $attr->{'type'} eq "hidden" and not exists $attr->{'value'}
129 5 1 exists $attr->{'type'} and $attr->{'type'} eq "hidden" and not exists $attr->{'value'} and not defined $value
272 114 17 5 $self->{'clear_absent_checkboxes'} and not defined $value
131 0 5 $self->{'clear_absent_checkboxes'} and not defined $value and exists $attr->{'type'}
0 3 2 $self->{'clear_absent_checkboxes'} and not defined $value and exists $attr->{'type'} and $attr->{'type'} eq 'checkbox' || $attr->{'type'} eq 'radio'
275 51 4 0 lc $attr->{'type'} eq "password" and $self->{'fill_password'}
328 50 20 8 $self->{'clear_absent_checkboxes'} and not defined $value
382 1 4 6 $attr->{'name'} and defined(my $value = $self->_get_param($attr->{'name'}))
446 348 0 2 exists $self->{'outputText'} and $self->{'outputText'} eq "no"
502 4 0 0 index($text, "[if ") == 0 and not $text =~ /

or 2 conditions

line l !l condition
23 0 58 $arg{'parser_class'} || 'HTML::Parser'
383 1 1 shift @$value || ''

or 3 conditions

line l !l&&r !l&&!r condition
22 0 0 58 @_ || ()
194 43 16 0 exists $self->{'fdat'} or $self->{'objects'}
221 4 2 19 exists $attr->{'name'} or exists $attr->{'id'}
222 4 2 0 $attr->{'name'} || $attr->{'id'}
230 4 8 4 !exists $self->{'current_form'} || $self->{'current_form'} ne $self->{'target'}
272 3 2 0 $attr->{'type'} eq 'checkbox' || $attr->{'type'} eq 'radio'
275 1 55 55 not exists $attr->{'type'} or $attr->{'type'} =~ /^(text|textfield|hidden|tel|search|url|email|datetime|date|month|week|time|datetime\-local|number|range|color|)$/i
502 0 0 4 index($text, "[if ") == 0 and not $text =~ /