Condition Coverage

blib/lib/HTML/FormHandler/Widget/Wrapper/Bootstrap3.pm
Criterion Covered Total %
condition 19 36 52.7


and 3 conditions

line !l l&&!r l&&r condition
108 0 0 9 $label_class and not &any(sub { $_ =~ /^col\-/; } , @$class)
117 0 2 15 exists $classes->{'element_wrapper_class'} and not &any(sub { $_ =~ /^col\-/; } , @$class)
121 0 17 0 exists $classes->{'no_label_element_wrapper_class'} and !$self->do_label || $self->type_attr eq 'checkbox'
9 0 8 exists $classes->{'no_label_element_wrapper_class'} and !$self->do_label || $self->type_attr eq 'checkbox' and not &any(sub { $_ =~ /^col\-.*offset/; } , @$class)

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 23 $self->get_tag('input_prepend') or $self->get_tag('input_append')
0 0 23 $self->get_tag('input_prepend') or $self->get_tag('input_append') or $self->get_tag('input_append_button')
92 0 0 17 $self->html_element eq 'select' or $self->html_element eq 'textarea'
0 7 10 $self->html_element eq 'select' or $self->html_element eq 'textarea' or $self->type_attr eq 'text'
7 0 10 $self->html_element eq 'select' or $self->html_element eq 'textarea' or $self->type_attr eq 'text' or $self->type_attr eq 'password'
99 0 2 18 $result->has_error_results or $result->has_errors
121 6 2 9 !$self->do_label || $self->type_attr eq 'checkbox'
133 0 7 0 $self->option_label || $self->label