Branch Coverage

blib/lib/HTML/FormHandler/Widget/Wrapper/Bootstrap.pm
Criterion Covered Total %
branch 31 32 96.8


line true false branch
17 1 52 if $self->name eq 'form_actions' or $self->type_attr eq 'submit' or $self->type_attr eq 'reset'
22 3 51 $form_actions ? :
1 54 $self->type eq 'Hidden' ? :
23 54 1 if $div_class
26 49 6 if ($self->do_wrapper)
31 45 10 if $self->do_label
35 46 9 unless $form_actions or not $self->do_wrapper
40 5 50 if ($self->get_tag('input_prepend') or $self->get_tag('input_append') or $self->get_tag('input_append_button')) { }
8 42 elsif (lc $self->widget eq 'checkbox') { }
50 55 0 unless ($self->get_tag('no_errors'))
58 46 9 unless $form_actions or not $self->do_wrapper
60 49 6 if ($self->do_wrapper)
71 2 3 if (my $ip_tag = $self->get_tag('input_prepend'))
75 2 3 if (my $ia_tag = $self->get_tag('input_append'))
79 2 3 if (my $iab_tag = $self->get_tag('input_append_button'))
80 1 1 ref $iab_tag eq 'ARRAY' ? :