blib/lib/HTML/FormHandler/Render/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 24 | 79.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
44 | 0 | 0 | 96 | defined $field and $field->isa('HTML::FormHandler::Field') |
76 | 0 | 8 | 57 | not $field->get_tag('label_none') and $field->do_label |
8 | 0 | 57 | not $field->get_tag('label_none') and $field->do_label and length $field->label > 0 | |
153 | 39 | 4 | 4 | defined $option->{'disabled'} and $option->{'disabled'} |
157 | 21 | 18 | 8 | $multiple and exists $fif_lookup{$value} |
line | l | !l | condition |
---|---|---|---|
205 | 4 | 1 | $field->fif || '' |
207 | 2 | 3 | $field->cols || 10 |
208 | 2 | 3 | $field->rows || 5 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 2 | 65 | 0 | $wrapper_tag ||= $field->has_flag('is_repeatable') ? 'fieldset' : 'div' |