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