blib/lib/Mojo/TFTPd/Connection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 30 | 56.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
209 | 65555 | 1 | 2 | $n == 0 and $self->lastop eq 6 |
211 | 65551 | 0 | 2 | $$self{'_last_sequence_number'} and $n == $$self{'_last_sequence_number'} % 65536 |
218 | 5 | 1 | 2 | $self->retransmit and $n < $seq |
241 | 0 | 0 | 0 | $self->retransmit and $n < $seq |
262 | 65543 | 2 | 1 | $self->filesize and $self->filesize < $self->blocksize * ($n - 1) + length($data) |
365 | 4 | 0 | 4 | exists $self->rfc->{'tsize'} and $self->filesize |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
190 | 65553 | 0 | 0 | $sent or $$self{'retries'}-- |
292 | 65545 | 0 | 0 | $sent or $$self{'retries'}-- |
322 | 4 | 0 | 0 | $ERROR_CODES{$name} || $ERROR_CODES{'not_defined'} |
376 | 8 | 0 | 0 | $sent or $$self{'retries'}-- |