| blib/lib/HTML/FormBuilder/Base.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 64 | 0 | 275 | if $element_tag eq '' |
| 71 | 1 | 664 | if ref $attributes->{$key} eq 'HASH' or ref $attributes->{$key} eq 'ARRAY' |
| 74 | 106 | 558 | if $key =~ /^(?:option|text|hide_required_text|localize|wrap_in_div_class)/i |
| 75 | 530 | 28 | if ($attributes->{$key}) |
| 79 | 1 | 274 | if ($element_tag eq 'button') { } |
| 85 | 3 | 272 | if ($options->{'required_mark'} and not $self->{'option'}{'hide_required_text'}) |
| 93 | 52 | 223 | if ($element_tag =~ /^(input)$/) |