blib/lib/Validation/Class/Directive/Telephone.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 6 | 66.6 |
line | true | false | branch |
---|---|---|---|
24 | 11 | 0 | if (defined $field->{'telephone'} and defined $param) |
26 | 11 | 0 | if ($field->{'required'} or $param) |
30 | 3 | 8 | unless $param =~ /$tre/ |