Condition Coverage

blib/lib/Net/Server/Proto/TCP.pm
Criterion Covered Total %
condition 7 18 38.8


and 3 conditions

line !l l&&!r l&&r condition
37 0 75 0 $ISA[0] eq 'IO::Socket::INET' and 'Net::Server::Proto'->requires_ipv6($server)
74 14 0 0 $port eq '0' and $port = $sock->sockport
14 0 0 $port =~ /\D/ and $port = $sock->sockport
130 0 50 0 defined $bytes and length $content >= $bytes
0 48 2 defined $end_qr and $content =~ /$end_qr/

or 3 conditions

line l !l&&r !l&&!r condition
125 2 0 0 defined $bytes or defined $end_qr