Condition Coverage

blib/lib/HTML/FormHandler/Fields.pm
Criterion Covered Total %
condition 30 41 73.1


and 3 conditions

line !l l&&!r l&&r condition
90 0 98 758 $self->form and $self == $self->form
98 758 0 $self->form and $self == $self->form and exists $self->index->{$name}
132 73 16 713 $field->has_value and not $field->noupdate
143 62 16 467 $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 802 $field->is_inactive or $field->disabled
14 0 802 $field->is_inactive or $field->disabled or not $field->has_result
142 10 0 545 $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 0 406 not defined $fif or ref $fif eq 'ARRAY' and not scalar @{$fif;}