blib/lib/Validation/Class/Directive/Zipcode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 6 | 66.6 |
line | true | false | branch |
---|---|---|---|
24 | 19 | 0 | if (defined $field->{'zipcode'} and defined $param) |
26 | 19 | 0 | if ($field->{'required'} or $param) |
29 | 5 | 14 | unless $param =~ /$zcre/ |