Branch Coverage

blib/lib/HTML/FormBuilder/Base.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
65 0 275 if $element_tag eq ''
72 1 664 if ref $attributes->{$key} eq 'HASH' or ref $attributes->{$key} eq 'ARRAY'
75 106 558 if $key =~ /^(?:option|text|hide_required_text|localize|wrap_in_div_class)/i
76 530 28 if ($attributes->{$key})
80 1 274 if ($element_tag eq 'button') { }
86 3 272 if ($options->{'required_mark'} and not $self->{'option'}{'hide_required_text'})
94 52 223 if ($element_tag =~ /^(input)$/)