Branch Coverage

blib/lib/GPS/Point.pm
Criterion Covered Total %
branch 33 82 40.2


line true false branch
127 0 1 unless $line[0] eq 'GPSD'
131 1 1 if ($rpt[0] eq 'O')
155 0 7 if (not ref $point) { }
0 7 elsif (ref $point eq 'Geo::Point') { }
0 7 elsif (ref $point eq 'GPS::Point') { }
0 7 elsif (ref $point eq 'Net::GPSD::Point') { }
5 2 elsif (reftype $point eq 'HASH') { }
2 0 elsif (reftype $point eq 'ARRAY') { }
160 0 0 unless $point->proj eq 'wgs84'
212 0 2 if @_
228 1 16 if @_
245 0 13 if @_
263 0 9 if @_
277 0 1 if @_
293 0 2 if @_
307 0 1 if @_
321 0 1 if @_
335 0 1 if @_
349 0 1 if @_
363 0 1 if @_
377 0 1 if @_
391 0 1 if @_
405 2 9 if @_
419 0 1 if @_
437 3 1 if (defined $self->mode and $self->mode > 1) { }
457 0 0 if ($@) { }
480 1 1 wantarray ? :
497 0 0 unless (defined $self->alt)
499 0 0 if ($@) { }
504 0 0 if ref $return eq 'HASH'
525 0 0 if $@
526 0 0 unless 'Geo::ECEF'->can('new')
544 0 0 if ($@) { }
565 0 0 unless ref $point eq 'GPS::Point'
566 0 0 if (defined $point) { }
568 0 0 if ($@) { }
594 0 0 unless defined $heading
617 0 0 unless defined $faz
619 0 0 if ($@) { }
651 0 0 wantarray ? :
656 2 13 $a eq '?' ? :