Branch Coverage

blib/lib/Geo/Coder/Mappy.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
17 1 2 @params % 2 ? :
19 1 2 unless $params{'token'}
27 0 2 exists $$self{'compress'} ? :
0 2 if ($$self{'debug'}) { }
2 0 elsif (exists $$self{'compress'} ? $$self{'compress'} : 1) { }
36 0 2 if $params{'https'} and not $self->ua->is_protocol_supported('https')
46 2 2 if ($ua)
47 0 2 unless ref $ua and $ua->isa('LWP::UserAgent')
56 0 0 @params % 2 ? :
61 0 0 unless my $location = delete $params{'location'}
73 0 0 if ($$self{'https'})
79 0 0 unless $res->is_success
86 0 0 unless $content
89 0 0 unless $data
93 0 0 'ARRAY' eq ref $results ? :
94 0 0 wantarray ? :