Condition Coverage

blib/lib/HTML/FormHandler/Fields.pm
Criterion Covered Total %
condition 32 41 78.0


and 3 conditions

line !l l&&!r l&&r condition
90 0 98 760 $self->form and $self == $self->form
98 9 751 $self->form and $self == $self->form and exists $self->index->{$name}
132 74 17 717 $field->has_value and not $field->noupdate
143 63 17 471 $field->has_value and not $field->noupdate
163 376 27 3 ref $fif eq 'ARRAY' and not scalar @{$fif;}

or 2 conditions

line l !l condition
154 69 77 $prefix ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
96 8 0 0 $self->form || $self
4 8 0 $f ||= $self->form || $self
129 10 4 808 $field->is_inactive or $field->disabled
14 0 808 $field->is_inactive or $field->disabled or not $field->has_result
142 10 0 551 $field->is_inactive or not $field->has_result
152 70 76 0 $result ||= $self->result
161 0 0 413 $field->is_inactive or $field->password
163 7 5 401 not defined $fif or ref $fif eq 'ARRAY' and not scalar @{$fif;}