blib/lib/HTML/FormBuilder/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
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 | 17 | 541 | unless defined $attributes->{$key} |
77 | 10 | 531 | if $attributes->{$key} eq "" |
81 | 1 | 274 | if ($element_tag eq 'button') { } |
87 | 3 | 272 | if ($options->{'required_mark'} and not $self->{'option'}{'hide_required_text'}) |
95 | 52 | 223 | if ($element_tag =~ /^(input)$/) |