Branch Coverage

blib/lib/Geo/Google/StaticMaps/V2.pm
Criterion Covered Total %
branch 45 76 59.2


line true false branch
92 9 44 unless ref $$self{'_markers'} eq 'ARRAY'
119 9 46 unless ref $$self{'_paths'} eq 'ARRAY'
146 9 42 unless ref $$self{'_visibles'} eq 'ARRAY'
160 0 50 if @_
172 0 50 if @_
188 1 51 if @_
205 1 51 if @_
223 0 50 if @_
238 0 50 if @_
252 0 61 if @_
266 0 50 if @_
280 0 50 if @_
281 9 41 unless defined $$self{'server'}
295 0 50 if @_
296 9 41 unless defined $$self{'script'}
311 0 50 if @_
312 9 41 unless defined $$self{'protocol'}
324 0 0 if @_
325 0 0 unless (defined $$self{'_service'})
348 3 0 if ($response->is_success) { }
363 1 2 unless (defined $$self{'_ua'})
387 3 0 if exists $self->_extensions->{$suffix} and not defined $self->format
412 0 50 if defined $self->type
413 0 50 if defined $self->scale
414 2 48 if defined $self->format
415 0 50 $self->sensor ? :
429 0 50 if (defined $self->center) { }
432 1 49 if $needs_view
434 0 50 if (defined $self->zoom) { }
437 1 49 if $needs_view
440 0 50 if ($self->_signer) { }
470 0 50 if @_
471 1 49 unless (defined $$self{'_signer'})
473 1 0 if ($@) { }
476 0 0 unless defined $$self{'_signer'}
497 0 0 if @_
509 0 0 if @_
521 0 0 if @_