Condition Coverage

blib/lib/HTML/FormHandler/InitResult.pm
Criterion Covered Total %
condition 40 57 70.1


and 3 conditions

line !l l&&!r l&&r condition
24 1289 3 0 $field->inactive and not $field->_active
53 823 4 0 $field->inactive and not $field->_active
79 333 0 0 $field->inactive and not $field->_active
84 26 258 49 ref $item eq 'HASH' and not exists $$item{$field->accessor}
258 17 9 &blessed($item) and not $item->can($field->accessor)
131 0 276 3 $field->form and $field->form->use_defaults_over_obj
276 1 2 $field->form and $field->form->use_defaults_over_obj and @values = $field->get_default_value
260 0 17 &blessed($item) and $item->can($accessor)
140 0 16 1 scalar @values == 1 and ref $values[0] eq 'ARRAY'
16 0 1 scalar @values == 1 and ref $values[0] eq 'ARRAY' and $field->has_flag('multiple')
146 252 3 3 $field->has_flag('multiple') and ref $v eq 'ARRAY'
162 2 4 1 scalar @values == 1 && !defined($values[0])

or 3 conditions

line l !l&&r !l&&!r condition
16 6 1 0 ref $value eq 'HASH' or &blessed($value)
49 264 0 0 defined $input or $exists
264 0 0 defined $input or $exists or $self->has_fields
61 2 825 0 $field->input_param or $field_name
2 825 0 $field->input_param or $field_name
75 115 0 0 $item or $self->has_fields
84 49 9 275 ref $item eq 'HASH' and not exists $$item{$field->accessor} or &blessed($item) and not $item->can($field->accessor)