Branch Coverage

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 566 if (ref $self->value eq 'ARRAY')
50 0 544 unless $field->next::method
53 11 533 if (my $maxlength = $field->maxlength)
54 3 8 if length $value > $maxlength
60 12 529 if (my $minlength = $field->minlength)
61 3 9 if length $value < $minlength