blib/lib/HTML/FormFu/Model/HashRef.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 29 | 82.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 64 | 28 | 14 | $element->is_block and $element->is_field |
78 | 0 | 60 | 4 | $self->inflators and @{$element->get_inflators;} > 0 |
127 | 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 | |
222 | 145 | 16 | 0 | $self->get_multi($key) and ref $v eq 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
47 | 85 | 28 | $element->name || '' |
48 | 89 | 24 | $element->nested_name || '' |
151 | 14 | 8 | $names->{$es_name} ||= {'value', undef, 'label', undef} |
176 | 12 | 3 | shift() || \&HTML::FormFu::Model::HashRef::_escape_name |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
51 | 0 | 6 | 1 | $data->{$name} || $data->{$nested_name} |