blib/lib/Device/Modem/Protocol/Xmodem.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 31 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
323 | 0 | 0 | 0 | $modem and $file |
390 | 0 | 0 | 0 | defined $new_block and $new_block->verify('checksum', $message{'checksum'}) |
line | l | !l | condition |
---|---|---|---|
256 | 0 | 0 | $opt{'filename'} || 'received.dat' |
320 | 0 | 0 | $_[2] || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
50 | 0 | 0 | 0 | ref $proto || $proto |
53 | 0 | 0 | 0 | $length ||= length $data > 128 ? 1024 : 128 |
161 | 0 | 0 | 0 | ref $proto || $proto |
245 | 0 | 0 | 0 | ref $proto || $proto |
319 | 0 | 0 | 0 | $_[1] || $self->{'_filename'} |
346 | 0 | 0 | 0 | $file_complete or $self->timeouts >= 10 |
381 | 0 | 0 | 0 | $message{'number'} < $self->{'current_block'}->number or $message{'number'} > $self->{'current_block'}->number + 1 |