Branch Coverage

blib/lib/HTML/FormFu/Element/Block.pm
Criterion Covered Total %
branch 20 34 58.8


line true false branch
61 0 0 if (not ref $arg) { }
0 0 elsif (ref $arg eq 'HASH') { }
71 0 0 ref $_ ? :
74 0 0 unless (@names)
80 0 0 unless @names
124 0 122 @_ ? :
134 257 137 $args ? :
146 3 303 if (not defined $render->{'attributes'}{'id'} and defined $self->auto_block_id and length $self->auto_block_id)
150 1 2 defined $self->form->id ? :
160 2 1 if (defined(my $count = $self->repeatable_count))
178 0 189 exists $args->{'render_data'} ? :
184 186 3 if (defined $render->{'tag'})
191 18 171 if (defined $render->{'legend'})
197 18 0 defined $render->{'legend_attributes'} ? :
204 19 170 if (defined $render->{'content'}) { }
214 302 0 if (length $elem_html)
222 186 3 if (defined $render->{'tag'})