|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
42
 | 
 0  | 
 0  | 
 if (@_ < 3) { }  | 
 
| 
47
 | 
 0  | 
 0  | 
 length $data > 128 ? :  | 
 
| 
51
 | 
 0  | 
 0  | 
 defined $num ? :  | 
 
| 
 | 
 0  | 
 0  | 
 defined $data ? :  | 
 
| 
87
 | 
 0  | 
 0  | 
 wantarray ? :  | 
 
| 
132
 | 
 0  | 
 0  | 
 unless defined $type  | 
 
| 
134
 | 
 0  | 
 0  | 
 if ($type eq 'checksum') { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($type eq 'crc16') { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($type eq 'crc32') { }  | 
 
| 
228
 | 
 0  | 
 0  | 
 unless (exists $opt{'port'})  | 
 
| 
250
 | 
 0  | 
 0  | 
 unless $port and $file  | 
 
| 
266
 | 
 0  | 
 0  | 
 unless $self->handshake  | 
 
| 
272
 | 
 0  | 
 0  | 
 unless ($fstatus_open)  | 
 
| 
282
 | 
 0  | 
 0  | 
 unless ($fstatus_lock)  | 
 
| 
302
 | 
 0  | 
 0  | 
 if ($message{'type'} eq 6) { }  | 
 
| 
309
 | 
 0  | 
 0  | 
 if ($bytes_read != 0) { }  | 
 
| 
334
 | 
 0  | 
 0  | 
 if ($$self{'complete'})  | 
 
| 
337
 | 
 0  | 
 0  | 
 if ($message{'type'} eq 6) { }  | 
 
| 
345
 | 
 0  | 
 0  | 
 if ($self->timeouts >= 10)  | 
 
| 
368
 | 
 0  | 
 0  | 
 if ($count_in > 0) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif (time > $receive_start_time + 2) { }  | 
 
| 
377
 | 
 0  | 
 0  | 
 if ($error)  | 
 
| 
408
 | 
 0  | 
 0  | 
 if ($count_in > 0) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif (time > $receive_start_time + 11) { }  | 
 
| 
417
 | 
 0  | 
 0  | 
 if ($error)  | 
 
| 
425
 | 
 0  | 
 0  | 
 if (ord substr($received, 0, 1) eq 21) { }  | 
 
| 
474
 | 
 0  | 
 0  | 
 if $DEBUG  | 
 
| 
495
 | 
 0  | 
 0  | 
 unless (exists $opt{'port'})  | 
 
| 
517
 | 
 0  | 
 0  | 
 unless $port and $file  | 
 
| 
540
 | 
 0  | 
 0  | 
 unless ($fstatus_open)  | 
 
| 
552
 | 
 0  | 
 0  | 
 if ($message{'type'} eq 0) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($message{'type'} eq 4) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($message{'type'} eq 1) { }  | 
 
| 
573
 | 
 0  | 
 0  | 
 if (255 - $message{'complement'} != $message{'number'})  | 
 
| 
579
 | 
 0  | 
 0  | 
 if ($message{'number'} < $$self{'current_block'}->number || $message{'number'} > $$self{'current_block'}->number + 1 and $message{'number'} != 0 or $$self{'current_block'}->number != 255 and $message{'number'} == 0)  | 
 
| 
602
 | 
 0  | 
 0  | 
 unless (defined $new_block and $new_block->verify('checksum', $message{'checksum'}))  | 
 
| 
608
 | 
 0  | 
 0  | 
 if ($message_status) { }  | 
 
| 
632
 | 
 0  | 
 0  | 
 if ($self->timeouts >= 10)  | 
 
| 
662
 | 
 0  | 
 0  | 
 if (ord substr($received, 0, 1) != 1 and $count_in > 0) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($count_in >= 132) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif (time > $receive_start_time + 2) { }  | 
 
| 
674
 | 
 0  | 
 0  | 
 if ($error)  | 
 
| 
684
 | 
 0  | 
 0  | 
 if ($message_type eq 1)  | 
 
| 
746
 | 
 0  | 
 0  | 
 if $DEBUG  |