Condition Coverage

blib/lib/Geo/Coder/Postcodes.pm
Criterion Covered Total %
condition 2 11 18.1


and 3 conditions

line !l l&&!r l&&r condition
137 0 0 0 my $region = $result->{'region'} and $county =~ /\s+(\w+)$/

or 2 conditions

line l !l condition
56 0 1 delete $param{'host'} || 'api.postcodes.io'

or 3 conditions

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