Branch Coverage

blib/lib/HTML/FormFu/Element/Repeatable.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
48 0 47 unless $count =~ /^[0-9]+\z/
53 6 41 if ($self->_original_elements) { }
64 0 47 unless @$children
69 1 46 unless $count
79 19 27 if (defined $nested_name and length $nested_name) { }
116 36 0 if ($self->increment_field_names)
120 36 0 unless defined $block->original_nested_name
128 78 0 if (defined(my $name = $field->name))
132 71 7 unless defined $field->original_name
137 71 7 unless defined $field->original_nested_name
203 42 9 if ($self->increment_field_names)
206 83 0 if (defined(my $name = $field->name))
207 71 12 unless defined $field->original_name
210 71 12 unless defined $field->original_nested_name
248 165 112 unless $self->is_block
264 44 10 if (defined $counter_name and defined $form->query)
273 10 39 if (defined $field)
281 43 1 if (defined $input and $input =~ /^[1-9][0-9]*\z/)
286 20 34 unless ($self->_original_elements)
287 0 20 if &DEBUG_PROCESS()
298 0 29 if @_
312 0 22 exists $args->{'render_data'} ? :