| line |
true |
false |
branch |
|
20
|
3 |
1 |
if (exists $args{'fh'}) { } |
|
|
0 |
1 |
elsif (exists $args{'port'}) { } |
|
24
|
0 |
0 |
unless ($port) |
|
49
|
61 |
3 |
if ($_NO_SLEEP) |
|
62
|
2460 |
0 |
if ($$self{'is_fh'}) { } |
|
69
|
1 |
2459 |
if ($len != length $buf) |
|
80
|
16 |
0 |
if ($$self{'is_fh'}) { } |
|
101
|
5 |
1 |
if ($upper > 255) |
|
116
|
10 |
15 |
if (packet_isa($packet, 'Dongle::StandbyMode')) |
|
145
|
3 |
19 |
if (packet_isa($packet, 'Dongle::HeadsetFound')) { } |
|
|
1 |
18 |
elsif (packet_isa($packet, 'Dongle::HeadsetNotFound')) { } |
|
|
1 |
17 |
elsif (packet_isa($packet, 'Dongle::RequestDenied')) { } |
|
177
|
1 |
18 |
if (packet_isa($packet, 'Dongle::HeadsetFound')) { } |
|
|
1 |
17 |
elsif (packet_isa($packet, 'Dongle::HeadsetNotFound')) { } |
|
|
1 |
16 |
elsif (packet_isa($packet, 'Dongle::RequestDenied')) { } |
|
211
|
2 |
20 |
if (my $error = $@) |
|
212
|
1 |
1 |
if ($got_error == 1) { } |
|
219
|
1 |
20 |
if (packet_isa($packet, 'ThinkGear')) |
|
223
|
3 |
17 |
if (packet_isa($packet, 'Dongle::HeadsetDisconnected') or packet_isa($packet, 'Dongle::StandbyMode')) { } |
|
|
1 |
16 |
elsif (packet_isa($packet, 'Dongle::RequestDenied')) { } |
|
246
|
92 |
2095 |
if (ord $prev_byte == 170 and ord $byte == 170) { } |
|
253
|
2 |
92 |
if ($tries == 0) |
|
258
|
2 |
90 |
if ($len > 169) |
|
268
|
1 |
89 |
if ($checksum != $checksum_actual) |