Condition Coverage

blib/lib/Mojo/TFTPd.pm
Criterion Covered Total %
condition 17 22 77.2


and 3 conditions

line !l l&&!r l&&r condition
330 18 0 1 $rfc{'timeout'} and $rfc{'timeout'} >= 0
18 0 1 $rfc{'timeout'} and $rfc{'timeout'} >= 0 and $rfc{'timeout'} <= 255
333 15 3 1 $type eq 'wrq' and $rfc{'tsize'}
339 8 0 8 %rfc and $connection->send_oack
370 3 1 3 $scheme and not defined $port

or 2 conditions

line l !l condition
340 0 3 $connection->error || 'No filehandle'
373 4 3 $port //= 69

or 3 conditions

line l !l&&r !l&&!r condition
339 8 0 8 %rfc and $connection->send_oack or $type eq 'rrq' ? $connection->send_data : $connection->send_ack