blib/lib/Validation/Class/Directive/MaxLength.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 6 | 83.3 |
line | true | false | branch |
---|---|---|---|
26 | 52 | 4 | if (defined $field->{'max_length'} and defined $param) |
30 | 52 | 0 | if ($field->{'required'} or $param) |
32 | 6 | 46 | if (length $param > $max_length) |