Branch Coverage

blib/lib/String/Validator/Phone/NANP.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
25 2 4 unless (defined $$self{'alphanum'})
37 31 22 if ($alphanum) { }
56 40 13 if (10 == $l) { }
71 0 21 if ($self->Start($string1, $string2))
74 4 17 unless ($self->_must_be10($$self{'string'}))
82 2 15 if (not $Phone) { }
85 0 15 unless ($Phone->is_valid)
122 1 6 unless ($$self{'international'})