blib/lib/HTML/FormHandler/Widget/Form/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 33 | 57.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
110 | 60 | 0 | 0 | $self->has_error_message and $result->has_errors || $result->has_form_errors |
119 | 56 | 3 | 1 | $self->has_success_message and $result->validated |
125 | 59 | 0 | 1 | $self->has_info_message and $self->info_message |
line | l | !l | condition |
---|---|---|---|
77 | 4 | 70 | $self->get_tag('wrapper_tag') || 'fieldset' |
107 | 0 | 60 | $self->get_tag('messages_wrapper_class') || 'form_messages' |
109 | 0 | 60 | $self->get_tag('error_class') || 'error_message' |
122 | 0 | 1 | $self->get_tag('success_class') || 'success_message' |
128 | 0 | 1 | $self->get_tag('info_class') || 'info_message' |
139 | 3 | 66 | $self->get_tag('wrapper_tag') || 'fieldset' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 63 | 11 | 0 | $result ||= $self->result |
96 | 4 | 7 | 0 | $result ||= $self->result |
104 | 62 | 0 | 0 | $result ||= $self->result |
110 | 0 | 0 | 0 | $result->has_errors || $result->has_form_errors |