Condition Coverage

blib/lib/HTML/FormFu/Role/Element/Layout.pm
Criterion Covered Total %
condition 23 43 53.4


and 3 conditions

line !l l&&!r l&&r condition
53 0 2061 4 defined $value and $self->reverse_single
62 0 0 4 ref $value and 'ARRAY' eq &reftype($value)
66 0 0 4 defined $field_index and defined $label_index
0 0 4 defined $field_index and defined $label_index and 1 == abs $field_index - $label_index
110 0 1535 7 defined $value and $self->reverse_multi
119 0 0 7 ref $value and 'ARRAY' eq &reftype($value)
123 0 0 7 defined $field_index and defined $label_index
0 0 7 defined $field_index and defined $label_index and 1 == abs $field_index - $label_index
214 4005 5 959 ref $layout and 'ARRAY' eq ref $layout
4005 0 5 ref $layout and 'HASH' eq ref $layout
256 0 836 91 exists $render->{'label'} and defined $render->{'label'}
836 0 91 exists $render->{'label'} and defined $render->{'label'} and length $render->{'label'}
307 0 0 2 exists $render->{'label'} and length $render->{'label'}

or 2 conditions

line l !l condition
178 217 740 $args ||= {}
315 5 0 $opts ||= {}