blib/lib/HTML/FormHandler/Field/Text.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
30 | 92 | 0 | if $self->minlength_message |
32 | 92 | 0 | if $self->maxlength_message |
40 | 2 | 562 | if (ref $self->value eq 'ARRAY') |
50 | 0 | 541 | unless $field->next::method |
53 | 11 | 530 | if (my $maxlength = $field->maxlength) |
54 | 3 | 8 | if length $value > $maxlength |
60 | 12 | 526 | if (my $minlength = $field->minlength) |
61 | 3 | 9 | if length $value < $minlength |