blib/lib/Lingua/EN/AddressParse/Grammar.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
942 | 1 | 3 | if ($address->{'country_code'} eq 'US') { } |
984 | 4 | 0 | unless ($address->{'abbreviated_subcountry_only'}) |
1004 | 1 | 3 | if ($address->{'country_code'} eq 'AU') { } |
1 | 2 | elsif ($address->{'country_code'} eq 'CA') { } | |
1 | 1 | elsif ($address->{'country_code'} eq 'GB') { } | |
0 | 1 | elsif ($address->{'country_code'} eq 'NZ') { } | |
1 | 0 | elsif ($address->{'country_code'} eq 'US') { } | |
1049 | 0 | 302 | if ($sub_country_name =~ /\[/) { } |