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
147 0 0 0 my $region = $result->{'region'} and $county =~ /\s+(\w+)$/

or 2 conditions

line l !l condition
66 0 3 delete $args{'host'} || 'api.postcodes.io'

or 3 conditions

line l !l&&r !l&&!r condition
62 0 3 0 delete $args{'ua'} || 'LWP::UserAgent'->new('agent', 'Geo::Coder::Postcodes' . "/$VERSION")
143 0 0 0 $unitary =~ /$county/i or $unitary =~ /$location/i