blib/lib/String/Validator/Phone/NANP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 14 | 100.0 |
line | true | false | branch |
---|---|---|---|
24 | 2 | 5 | unless (defined $self->{'alphanum'}) |
39 | 32 | 24 | if ($alphanum) { } |
58 | 42 | 14 | if (10 == $l) { } |
75 | 1 | 24 | if ($self->Start($string1, $string2)) |
78 | 5 | 19 | unless ($self->_must_be10($self->{'string'})) |
86 | 3 | 16 | unless ($Phone) |
122 | 1 | 6 | unless ($self->{'international'}) |