Branch Coverage

blib/lib/Geo/Coder/GooglePlaces/V3.pm
Criterion Covered Total %
branch 5 44 11.3


line true false branch
110 0 0 if (@_ % 2 == 0) { }
117 0 0 unless my $location = $param{'location'}
119 0 0 if (&Encode::is_utf8($location))
123 0 0 $param{'reverse'} ? :
127 0 0 if defined $self->{'language'}
128 0 0 if defined $self->{'region'}
130 0 0 $self->{'sensor'} ? :
132 0 0 if defined $components_params
133 0 0 if defined $self->{'key'} and length $self->{'key'}
138 0 0 if ($self->{'client'} and $self->{'key'})
146 0 0 if $signature
151 0 0 if ($res->is_error)
158 0 0 unless ($data->{'status'} eq "OK" or $data->{'status'} eq "ZERO_RESULTS")
162 0 0 unless $data->{'results'}
163 0 0 wantarray ? :
179 0 0 if (@_ % 2 == 0) { }
186 0 0 unless my $latlng = $param{'latlng'}
234 1 7 unless grep {$_ eq $filter;} @ALLOWED_FILTERS
236 0 7 unless (defined $value)
242 1 6 unless @validated_components
262 0 0 if (@_)
278 0 0 if (@_)