blib/lib/WebService/StreetMapLink/MapQuest.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 12 | 58.3 |
line | true | false | branch |
---|---|---|---|
42 | 5 | 0 | if (defined $p{'state'}) |
44 | 2 | 3 | if (length $p{'state'} > 2) |
51 | 0 | 5 | unless defined $p{'address'} and defined $p{'city'} && defined $p{'state'} || defined $p{'postal_code'} |
59 | 0 | 5 | if $p{'address'} =~ /p\.?o\.\s+box/i |
65 | 15 | 0 | if defined $p{$k} |
69 | 5 | 0 | if defined $p{'postal_code'} |