blib/lib/HTML/FormFu/Model/HashRef.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 29 | 79.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
49 | 64 | 28 | 14 | $element->is_block and $element->is_field |
77 | 0 | 60 | 4 | $self->inflators and @{$element->get_inflators;} > 0 |
126 | 38 | 60 | 22 | $self->options and $element->can('_options') |
98 | 0 | 22 | $self->options and $element->can('_options') and @{$element->_options;} > 0 | |
21 | 0 | 77 | $element->is_field and $self->deflators | |
221 | 145 | 16 | 0 | $self->get_multi($key) and ref $v eq 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
46 | 85 | 28 | $element->name || '' |
47 | 89 | 24 | $element->nested_name || '' |
150 | 14 | 8 | $names->{$es_name} ||= {'value', undef, 'label', undef} |
175 | 12 | 3 | shift() || \&HTML::FormFu::Model::HashRef::_escape_name |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
50 | 0 | 0 | 7 | $data->{$name} || $data->{$nested_name} |