Branch Coverage

blib/lib/Geo/Coder/GeocodeFarm.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
87 2 7 defined $args{'raise_failure'} ? :
91 0 9 unless $self->{'key'}
144 3 1 defined $args{'lat'} ? :
145 3 0 defined $args{'lon'} ? :
147 1 1 unless $results->{'result'}{'0'} and $results->{'result'}{'accuracy'}
156 4 3 $type eq 'forward' ? :
158 4 3 if ($type eq 'forward') { }
3 0 elsif ($type eq 'reverse') { }
173 3 4 if (builtin::blessed($res) and $res->isa('HTTP::Response')) { }
4 0 elsif (ref $res eq 'HASH') { }
174 1 2 if $self->{'raise_failure'} and not $res->is_success
177 1 3 if $self->{'raise_failure'} and not $res->{'success'}
185 0 5 unless $content
188 0 5 if $@
191 0 5 if $self->{'raise_failure'} and ($data->{'STATUS'}{'status'} || '') ne "SUCCESS"