Condition Coverage

blib/lib/Geo/TCX/Track.pm
Criterion Covered Total %
condition 15 29 51.7


and 3 conditions

line !l l&&!r l&&r condition
357 6 0 3 ref $_[0] and $_[0]->isa("DateTime::Duration")
369 4 0 3 ref $_[0] and $_[0]->isa("DateTime::Duration")
407 1 0 249 $lat and $lon

or 2 conditions

line l !l condition
98 0 2 $opts{'tolerance'} ||= 50

or 3 conditions

line l !l&&r !l&&!r condition
54 0 66 0 ref $proto || $proto
194 0 0 2 not defined $to_pt or @_
277 0 0 6886 not $point_i or @_
397 0 4 0 $class->isa("Geo::TCX::Trackpoint") or $class->isa("Geo::Gpx::Point")
412 245 4 0 $min_dist ||= $distance
413 245 4 0 $closest_pt ||= $pt