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