Branch Coverage

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


line true false branch
47 0 46 unless $count =~ /^[0-9]+\z/
52 6 40 if ($self->_original_elements) { }
63 0 46 unless @$children
68 1 45 unless $count
78 18 27 if (defined $nested_name and length $nested_name) { }
115 34 0 if ($self->increment_field_names)
119 34 0 unless defined $block->original_nested_name
127 74 0 if (defined(my $name = $field->name))
131 67 7 unless defined $field->original_name
136 67 7 unless defined $field->original_nested_name
202 42 9 if ($self->increment_field_names)
205 83 0 if (defined(my $name = $field->name))
206 71 12 unless defined $field->original_name
209 71 12 unless defined $field->original_nested_name
247 161 110 unless $self->is_block
263 43 10 if (defined $counter_name and defined $form->query)
272 10 38 if (defined $field)
280 42 1 if (defined $input and $input =~ /^[1-9][0-9]*\z/)
285 19 34 unless ($self->_original_elements)
286 0 19 if &DEBUG_PROCESS()
297 0 29 if @_
311 0 22 exists $args->{'render_data'} ? :