blib/lib/Net/Server/Proto/TCP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 18 | 38.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 0 | 75 | 0 | $ISA[0] eq "IO::Socket::INET" and "Net::Server::Proto"->requires_ipv6($server) |
76 | 14 | 0 | 0 | $port eq 0 and $port = $sock->sockport |
14 | 0 | 0 | $port =~ /\D/ and $port = $sock->sockport | |
133 | 0 | 109 | 0 | defined $bytes and length $content >= $bytes |
0 | 107 | 2 | defined $end_qr and $content =~ /$end_qr/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
128 | 2 | 0 | 0 | defined $bytes or defined $end_qr |