| line |
true |
false |
branch |
|
33
|
0 |
3 |
unless &GetOptions("outfile=s", \$outfile, "indent=i", \$indent_n, "force", \$force, "time_offset=i", \$time_offset, "help", \$help) |
|
40
|
0 |
3 |
if $help |
|
49
|
3 |
0 |
if /(?i:\.fit)$/ |
|
50
|
0 |
3 |
unless $file |
|
51
|
0 |
3 |
unless -f $file |
|
54
|
2 |
1 |
if (defined $outfile) { } |
|
59
|
0 |
3 |
if -f $gpx_file and not $force |
|
100
|
15 |
0 |
if ($msg) |
|
101
|
3 |
12 |
if $name eq "file_id" |
|
102
|
9 |
6 |
if $name eq "location" |
|
107
|
0 |
3 |
unless $fit->open |
|
110
|
0 |
3 |
unless (defined $f_size) |
|
111
|
0 |
0 |
unless defined $fit->error |
|
118
|
3 |
0 |
defined $device{'manufacturer'} ? : |
|
119
|
3 |
0 |
defined $device{'garmin_product'} ? : |
|
122
|
3 |
0 |
if (@locations) |
|
123
|
0 |
3 |
unless open my $fh, ">", $gpx_file |
|
137
|
0 |
15 |
unless $m_name |
|
142
|
1077 |
111 |
unless $i_name =~ /^i_/ |
|
150
|
3 |
108 |
if (ref $attr->{'switch'} eq "HASH") |
|
153
|
3 |
0 |
if (ref $t_attr eq "HASH") |
|
169
|
0 |
609 |
if $ij >= $len |
|
170
|
0 |
609 |
if "Geo::FIT"->isnan($v->[$ij]) |
|
171
|
75 |
534 |
if $v->[$ij] != $invalid |
|
173
|
75 |
36 |
if ($j < $c) |
|
174
|
9 |
66 |
if ($type == 7) { } |
|
215
|
0 |
3 |
if defined $name |
|
224
|
0 |
3 |
if (defined $url) |
|
226
|
0 |
0 |
if defined $text |
|
227
|
0 |
0 |
if defined $type |
|
234
|
3 |
0 |
if (@locations) |
|
251
|
9 |
51 |
if ($key eq 'timestamp') { } |
|
|
9 |
42 |
elsif ($key eq 'position_long') { } |
|
|
9 |
33 |
elsif ($key eq 'position_lat') { } |
|
|
0 |
33 |
elsif ($key eq 'altitude' and not defined $ele) { } |
|
|
0 |
33 |
elsif ($key eq 'enhanced_altitude') { } |
|
|
9 |
24 |
elsif ($key eq 'name') { } |
|
|
0 |
24 |
elsif ($key eq 'unknown6') { } |
|
256
|
0 |
0 |
if (defined $val) |
|
264
|
0 |
9 |
if defined $ele |
|
265
|
9 |
0 |
if (defined $time) |
|
268
|
9 |
0 |
if defined $name |
|
269
|
0 |
9 |
if defined $desc |