Condition Coverage

blib/lib/GPS/Point.pm
Criterion Covered Total %
condition 11 54 20.3


and 3 conditions

line !l l&&!r l&&r condition
437 1 0 3 defined $self->mode and $self->mode > 1

or 2 conditions

line l !l condition
156 0 0 $point || 0
157 0 0 shift() || 0
158 0 0 shift() || 0
161 0 0 $point->latitude || 0
162 0 0 $point->longitude || 0
167 0 0 $point->latitude || 0
168 0 0 $point->longitude || 0
169 0 0 $point->altitude || 0
183 5 0 $$point{'lat'} || delete $$point{'latitude'} || 0
185 3 0 $$point{'lon'} || delete $$point{'long'} || delete $$point{'longitude'} || 0
188 1 0 $$point{'alt'} || delete $$point{'altitude'} || delete $$point{'elevation'} || delete $$point{'hae'} || delete $$point{'elev'} || 0
194 2 0 $$point[0] || 0
195 2 0 $$point[1] || 0
196 2 0 $$point[2] || 0
592 0 0 shift() || 0
594 0 0 $self->heading || 0
595 0 0 $self->speed || 0
598 0 0 $self->time || 0
615 0 0 shift() || 0
617 0 0 $self->heading || 0
643 0 0 shift() || 60

or 3 conditions

line l !l&&r !l&&!r condition
64 0 5 0 ref $this || $this
81 0 1 0 ref $this || $this
107 0 7 0 ref $this || $this