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
51 0 2047 4 defined $value and $self->reverse_single
59 0 0 4 ref $value and 'ARRAY' eq &reftype($value)
63 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
109 0 1528 7 defined $value and $self->reverse_multi
117 0 0 7 ref $value and 'ARRAY' eq &reftype($value)
121 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
211 3970 5 952 ref $layout and 'ARRAY' eq ref $layout
3970 0 5 ref $layout and 'HASH' eq ref $layout
255 0 831 89 exists $render->{'label'} and defined $render->{'label'}
831 0 89 exists $render->{'label'} and defined $render->{'label'} and length $render->{'label'}
308 0 0 2 exists $render->{'label'} and length $render->{'label'}

or 2 conditions

line l !l condition
175 217 733 $args ||= {}
316 5 0 $opts ||= {}