Condition Coverage

blib/lib/Mojo/TFTPd/Connection.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
175 6 0 0 $n == 0 and $self->lastop eq 6
177 4 0 1 $$self{'_last_sequence_number'} and $n == $$self{'_last_sequence_number'}
207 2 2 1 $self->filesize and $self->filesize < $self->blocksize * ($n - 1) + length($data)
286 2 0 3 exists $self->rfc->{'tsize'} and $self->filesize

or 3 conditions

line l !l&&r !l&&!r condition
249 2 0 0 $ERROR_CODES{$name} || $ERROR_CODES{'not_defined'}