Condition Coverage

blib/lib/Mojo/TFTPd/Connection.pm
Criterion Covered Total %
condition 21 36 58.3


and 3 conditions

line !l l&&!r l&&r condition
60 65550 1 2 $n == 0 and $self->lastop eq 6
62 65549 0 2 $self->{'last_sequence_number'} and $n == $self->{'last_sequence_number'} % 65536
70 4 1 2 $self->retransmit and $n < $seq
85 0 0 0 $self->retransmit and $n < $seq
92 5 0 65541 &blessed($handle) and $handle->isa("Mojo::Asset")
105 65543 2 1 $self->filesize and $self->filesize < $self->blocksize * ($n - 1) + length($data)
141 7 0 65545 &blessed($handle) and $handle->isa("Mojo::Asset")
189 4 0 4 exists $self->rfc->{'tsize'} and $self->filesize

or 3 conditions

line l !l&&r !l&&!r condition
131 65545 0 0 $sent or $self->{'retries'}--
164 65551 0 0 $sent or $self->{'retries'}--
171 3 0 0 $ERROR_CODES{$name} || $ERROR_CODES{'not_defined'}
197 8 0 0 $sent or $self->{'retries'}--