blib/lib/HTML/FormHandler/Widget/Form/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 33 | 57.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
110 | 61 | 0 | 0 | $self->has_error_message and $result->has_errors || $result->has_form_errors |
119 | 57 | 3 | 1 | $self->has_success_message and $result->validated |
125 | 60 | 0 | 1 | $self->has_info_message and $self->info_message |
line | l | !l | condition |
---|---|---|---|
77 | 4 | 71 | $self->get_tag('wrapper_tag') || 'fieldset' |
107 | 0 | 61 | $self->get_tag('messages_wrapper_class') || 'form_messages' |
109 | 0 | 61 | $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 | 67 | $self->get_tag('wrapper_tag') || 'fieldset' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 64 | 11 | 0 | $result ||= $self->result |
96 | 4 | 7 | 0 | $result ||= $self->result |
104 | 63 | 0 | 0 | $result ||= $self->result |
110 | 0 | 0 | 0 | $result->has_errors || $result->has_form_errors |