Branch Coverage

blib/lib/Geo/Coder/Mapbox.pm
Criterion Covered Total %
branch 5 32 15.6


line true false branch
50 0 4 ref $_[0] eq 'HASH' ? :
53 1 3 if (not defined $class) { }
1 2 elsif (ref $class) { }
93 0 0 if (ref $_[0] eq 'HASH') { }
0 0 elsif (ref $_[0]) { }
0 0 elsif (@_ % 2 == 0) { }
105 0 0 unless my $location = $param{'location'}
107 0 0 if (&Encode::is_utf8($location))
121 0 0 if ($res->is_error)
131 0 0 unless (defined $rc)
132 0 0 if ($@)
140 0 0 if ($rc->{'otherlocations'} and $rc->{'otherlocations'}{'loc'} and ref $rc->{'otherlocations'}{'loc'} eq "ARRAY")
143 0 0 if (wantarray)
173 0 0 if (@_)
191 0 0 if (@_ % 2 == 0) { }
198 0 0 unless my $lnglat = $param{'lnglat'}