blib/lib/Geo/Coder/GeocodeFarm.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 19 | 57.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
225 | 0 | 0 | 1 | defined $args{'lat'} and defined $args{'lon'} |
261 | 6 | 0 | 4 | blessed $res and $res->isa('HTTP::Response') |
278 | 2 | 6 | 2 | $$self{'raise_failure'} and ($$data{'geocoding_results'}{'STATUS'}{'status'} || '') ne 'SUCCESS' |
line | l | !l | condition |
---|---|---|---|
80 | 0 | 10 | $args{'raise_failure'} || 1 |
278 | 8 | 0 | $$data{'geocoding_results'}{'STATUS'}{'status'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
80 | 9 | 1 | 0 | $args{'ua'} || 'HTTP::Tiny'->new('agent', 'Geo::Coder::GeocodeFarm' . "/$VERSION") |
0 | 10 | 0 | $args{'parser'} || 'JSON'->new->utf8 |