Branch Coverage

blib/lib/Validation/Class/Directive/Pattern.pm
Criterion Covered Total %
branch 6 8 75.0


line true false branch
24 25 0 if (defined $field->{'pattern'} and defined $param)
28 25 0 if ($field->{'required'} or $param)
30 10 15 unless (isa_regexp($pattern))
39 7 18 unless ($param =~ /$pattern/)