Branch Coverage

blib/lib/HTML/FormFu/MultiForm.pm
Criterion Covered Total %
branch 42 70 60.0


line true false branch
138 28 5 if ($query)
144 9 24 unless (defined $hidden_name)
150 0 33 if (defined $query and &blessed($query)) { }
28 5 elsif (defined $query) { }
166 0 33 if $@
168 12 21 if (defined $data) { }
176 4 8 if ($current_form_num == scalar @forms and $current_form->submitted_and_valid)
196 21 12 unless defined $input and length $input
204 12 0 if (defined $data) { }
228 0 0 if (ref $value eq 'ARRAY') { }
0 0 elsif (&blessed($value)) { }
251 132 1386 if (defined $value)
271 12 21 if (defined $data)
281 3 30 if (not defined $self->multiform_hidden_name and $current_form_num > 1)
295 9 24 if (defined $data and $self->combine_params)
301 9 16 if $self->nested_hash_key_exists($params, $name)
323 0 16 if (ref $value eq 'ARRAY') { }
0 32 elsif (&blessed($value) and $value->isa('HTML::FormFu::Upload')) { }
340 0 12 unless defined $form
343 0 12 if ($self->complete)
350 8 4 if ($form->submitted_and_valid)
365 0 25 unless defined $form
371 0 25 if $current_form_num >= scalar @{$self->forms;}
381 100 1050 if (defined $value)
410 7 18 unless (defined $self->multiform_hidden_name)
434 7 18 unless (defined $hidden_name)
442 0 25 unless $self->_file_fields
450 62 0 if (ref $value ne 'ARRAY')
455 0 62 if (&blessed($value) and $value->isa('HTML::FormFu::Upload'))
505 0 0 unless $self->nested_hash_key_exists(\%params, $name)
525 0 0 unless $self->nested_hash_key_exists(\%params, $name)
545 0 0 if (ref $value eq 'ARRAY') { }
0 0 elsif (&blessed($value) and $value->isa('HTML::FormFu::Upload')) { }
564 0 0 if (ref $value eq 'ARRAY') { }
0 0 elsif (&blessed($value) and $value->isa('HTML::FormFu::Upload')) { }