Branch Coverage

blib/lib/GPS/Track.pm
Criterion Covered Total %
branch 8 20 40.0


line true false branch
24 1 3 if (exists $args->{'onPoint'})
34 5 4 if (defined $candidate and ref $candidate ne 'CODE')
51 0 0 unless my $file = shift()
52 0 0 unless -e $file
58 0 0 if ($format eq 'gpx') { }
0 0 elsif ($format eq 'fit') { }
0 0 elsif ($format eq 'tcx') { }
105 0 0 if defined $self->onPoint
120 6 2 if ($filename =~ /\.(\w+)$/u)
130 3 5 unless exists $validSuffixes{$suffix}