line |
true |
false |
branch |
32
|
0 |
2 |
unless $param{'do_not_init'} |
39
|
0 |
3 |
if ($self->serial) |
60
|
0 |
0 |
@_ ? : |
65
|
0 |
0 |
@_ ? : |
77
|
0 |
0 |
unless (ref $$self{'pidbytes'} eq 'ARRAY') |
118
|
0 |
0 |
if $self->get_reply(1) == 21 |
125
|
0 |
0 |
if $cb |
146
|
0 |
0 |
if ($cmd{$t}) |
158
|
0 |
0 |
if ($result[0] == 21) |
167
|
0 |
0 |
if ($$self{'product_id'} == 694) { } |
|
0 |
0 |
elsif ($$self{'product_id'} == 154 or $$self{'product_id'} == 169 or $$self{'product_id'} == 315 or $$self{'product_id'} == 111 or $$self{'product_id'} == 248 or $$self{'product_id'} == 292 or $$self{'product_id'} == 295) { } |
191
|
0 |
0 |
if $lat < 0 |
193
|
0 |
0 |
if $lon < 0 |
232
|
0 |
0 |
if (@_) |
235
|
0 |
0 |
if $buf != $self->cur_pid |
246
|
0 |
0 |
if $_ % 6 == 0 |
253
|
0 |
0 |
if (pack('C', $self->checksum($full_packet)) ne $csum) |
255
|
0 |
0 |
if $self->verbose |
270
|
0 |
0 |
unless $self->cur_request |
296
|
0 |
0 |
unless $p{'no_reply'} |
298
|
0 |
0 |
if (@result and $result[0] == 21) |
299
|
0 |
0 |
if $self->verbose |
314
|
0 |
0 |
if (@_) { } |
323
|
0 |
0 |
if $self->verbose |
334
|
0 |
0 |
if ($i > -1) |
336
|
0 |
0 |
if $i == -1 |
350
|
0 |
0 |
if $$self{'verbose'} |
360
|
0 |
0 |
if (defined $buf and $buf == 16) |
363
|
0 |
0 |
if $buf == 0 |
365
|
0 |
0 |
if ($buf == 3) |
366
|
0 |
0 |
if $$self{'verbose'} |
371
|
0 |
0 |
unless defined $gcommand |
373
|
0 |
0 |
if $gcommand =~ /byte$/ |
375
|
0 |
0 |
if $self->verbose |
378
|
0 |
0 |
if $handler->can($gcommand) |
380
|
0 |
0 |
if (not $gcommand =~ /^(?:Wpt|Trk|Rte)_(?:data|hdr)$/ and $data[0] == 6) |
381
|
0 |
0 |
unless $command |
386
|
0 |
0 |
if (not $gcommand =~ /^(?:Wpt|Trk|Rte)_(?:data|hdr)$/ and $data[0] == 21) |
387
|
0 |
0 |
if $self->verbose |
390
|
0 |
0 |
if @data == 1 |
395
|
0 |
0 |
if $self->verbose |