blib/lib/Rose/HTML/Form/Field/Text.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
41 | 11 | 123 | unless $ok |
44 | 0 | 123 | if ref $value |
45 | 26 | 97 | unless defined $value and length $value |
49 | 0 | 0 | unless $self->error_label |
51 | 1 | 96 | if (ref($self)->force_utf8 and not &Encode::is_utf8($value)) |
56 | 3 | 94 | if (defined $maxlength and length $value > $maxlength) |