Branch Coverage

blib/lib/Geo/Coder/ArcGIS.pm
Criterion Covered Total %
branch 10 30 33.3


line true false branch
23 1 1 if ($$self{'debug'})
29 1 1 exists $$self{'compress'} ? :
1 1 if (exists $$self{'compress'} ? $$self{'compress'} : 1)
33 0 2 if $$self{'https'} and not $self->ua->is_protocol_supported('https')
43 2 3 if ($ua)
44 0 2 unless ref $ua and $ua->isa('LWP::UserAgent')
53 0 0 @params % 2 ? :
56 0 0 unless my $location = $params{'location'}
63 0 0 if $$self{'https'}
73 0 0 unless $res->is_success
80 0 0 unless $content
83 0 0 unless $data
84 0 0 if $raw
86 0 0 unless $$data{'candidates'}
87 0 0 wantarray ? :