blib/lib/String/Validator/Phone/NANP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
24 | 2 | 5 | unless (defined $self->{'alphanum'}) |
39 | 32 | 24 | if ($alphanum) { } |
58 | 42 | 14 | if (10 == $l) { } |
76 | 3 | 16 | if ($ac =~ /\d11/ or $ac < 200) { } |
85 | 1 | 24 | if ($self->Start($string1, $string2)) |
88 | 5 | 19 | unless ($self->_must_be10($self->{'string'})) |
97 | 0 | 19 | unless ($Phone) |
133 | 1 | 6 | unless ($self->{'international'}) |