blib/lib/HTML/FormHandler/Widget/Theme/BootstrapFormMessages.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 13 | 61.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
33 | 5 | 0 | 1 | $self->has_info_message and $self->info_message |
line | l | !l | condition |
---|---|---|---|
18 | 0 | 1 | $msg ||= 'There were errors in your form' |
27 | 0 | 1 | $msg ||= 'Your form was successfully submitted' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
12 | 5 | 1 | 0 | $result ||= $self->result |
14 | 0 | 1 | 5 | $result->has_form_errors or $result->has_errors |