Branch Coverage

blib/lib/Geo/Coder/Mapbox.pm
Criterion Covered Total %
branch 3 30 10.0


line true false branch
53 1 1 unless (defined $class)
58 0 1 ref $_[0] eq 'HASH' ? :
88 0 0 if (ref $_[0] eq 'HASH') { }
0 0 elsif (ref $_[0]) { }
0 0 elsif (@_ % 2 == 0) { }
100 0 0 unless my $location = $param{'location'}
102 0 0 if (&Encode::is_utf8($location))
116 0 0 if ($res->is_error)
126 0 0 unless (defined $rc)
127 0 0 if ($@)
135 0 0 if ($rc->{'otherlocations'} and $rc->{'otherlocations'}{'loc'} and ref $rc->{'otherlocations'}{'loc'} eq "ARRAY")
138 0 0 if (wantarray)
168 0 0 if (@_)
186 0 0 if (@_ % 2 == 0) { }
193 0 0 unless my $lnglat = $param{'lnglat'}