blib/lib/Rose/HTML/Form/Field/PhoneNumber/US.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 1 | unless $number =~ /\S/ |
26 | 0 | 1 | if length $number == 10 |
37 | 0 | 14 | unless defined $value |
41 | 12 | 2 | if ($value =~ /^(\d{3})(\d{3})(\d{4})$/) |