Branch Coverage

blib/lib/Validation/Class/Directive/MaxLength.pm
Criterion Covered Total %
branch 5 6 83.3


line true false branch
26 55 4 if (defined $field->{'max_length'} and defined $param)
30 55 0 if ($field->{'required'} or $param)
32 6 49 if (length $param > $max_length)