Condition Coverage

blib/lib/HTML/FormHandler/InitResult.pm
Criterion Covered Total %
condition 39 57 68.4


and 3 conditions

line !l l&&!r l&&r condition
24 1281 3 0 $field->inactive and not $field->_active
53 817 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 262 0 0 defined $input or $exists
262 0 0 defined $input or $exists or $self->has_fields
61 2 819 0 $field->input_param or $field_name
2 819 0 $field->input_param or $field_name
75 115 0 0 $item or $self->has_fields
84 49 0 284 ref $item eq 'HASH' and not exists $$item{$field->accessor} or &blessed($item) and not $item->can($field->accessor)