blib/lib/Geo/Coder/Postcodes.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 11 | 18.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
142 | 0 | 0 | 0 | my $region = $result->{'region'} and $county =~ /\s+(\w+)$/ |
line | l | !l | condition |
---|---|---|---|
61 | 0 | 2 | delete $param{'host'} || 'api.postcodes.io' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
57 | 0 | 2 | 0 | delete $param{'ua'} || 'LWP::UserAgent'->new('agent', 'Geo::Coder::Postcodes' . "/$VERSION") |
138 | 0 | 0 | 0 | $unitary =~ /$county/i or $unitary =~ /$location/i |