line |
true |
false |
branch |
68
|
0 |
6 |
$ENV{'MOJO_TFTPD_DEBUG'} ? : |
206
|
0 |
0 |
if $$self{'connections'} |
220
|
0 |
0 |
unless ($socket) |
242
|
1 |
131130 |
unless (defined $read) |
249
|
18 |
131112 |
if ($opcode eq 1) { } |
|
7 |
131105 |
elsif ($opcode eq 2) { } |
259
|
1 |
131104 |
unless ($connection) |
268
|
65558 |
65546 |
if ($opcode == 4) { } |
|
65546 |
0 |
elsif ($opcode == 3) { } |
|
0 |
0 |
elsif ($opcode == 5) { } |
281
|
131092 |
12 |
if ($keep) |
284
|
0 |
0 |
unless $connection->send_retransmit |
302
|
4 |
21 |
unless ($self->has_subscribers($type)) |
306
|
2 |
19 |
if ($self->max_connections <= keys %{$$self{'connections'};}) |
312
|
4 |
15 |
$self->retransmit ? : |
325
|
5 |
14 |
if ($rfc{'blksize'}) |
326
|
0 |
5 |
if $rfc{'blksize'} < 8 |
327
|
0 |
5 |
if $rfc{'blksize'} > 65464 |
330
|
1 |
0 |
if ($rfc{'timeout'} and $rfc{'timeout'} >= 0 and $rfc{'timeout'} <= 255) |
333
|
1 |
18 |
if ($type eq 'wrq' and $rfc{'tsize'}) |
339
|
6 |
2 |
$type eq 'rrq' ? : |
|
3 |
16 |
if (not $connection->filehandle) { } |
|
16 |
0 |
elsif (%rfc and $connection->send_oack or $type eq 'rrq' ? $connection->send_data : $connection->send_ack) { } |
348
|
19 |
0 |
if ($keep) { } |
352
|
0 |
0 |
unless $connection->send_retransmit |
370
|
3 |
4 |
if $scheme and not defined $port |
376
|
2 |
5 |
if $host eq '*' |
383
|
0 |
12 |
if $$connection{'timer'} |
390
|
0 |
0 |
unless my $reactor = eval {
do {
$self->ioloop->reactor
}
} |
392
|
0 |
0 |
if $$self{'socket'} |