Branch Coverage

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


line true false branch
60 0 0 if (not ref $arg) { }
0 0 elsif (ref $arg eq 'HASH') { }
70 0 0 ref $_ ? :
73 0 0 unless (@names)
79 0 0 unless @names
123 0 122 @_ ? :
133 257 137 $args ? :
145 3 303 if (not defined $render->{'attributes'}{'id'} and defined $self->auto_block_id and length $self->auto_block_id)
149 1 2 defined $self->form->id ? :
159 2 1 if (defined(my $count = $self->repeatable_count))
177 0 189 exists $args->{'render_data'} ? :
183 186 3 if (defined $render->{'tag'})
190 18 171 if (defined $render->{'legend'})
196 18 0 defined $render->{'legend_attributes'} ? :
203 19 170 if (defined $render->{'content'}) { }
213 302 0 if (length $elem_html)
221 186 3 if (defined $render->{'tag'})