Condition Coverage

blib/lib/Net/Forward.pm
Criterion Covered Total %
condition 0 28 0.0


and 3 conditions

line !l l&&!r l&&r condition
50 0 0 0 $client and vec($eout, fileno $client, 1) || vec($rout, fileno $client, 1)
52 0 0 0 defined $result and $result
54 0 0 0 $remote and vec($eout, fileno $remote, 1) || vec($rout, fileno $remote, 1)
56 0 0 0 defined $result and $result

or 2 conditions

line l !l condition
22 0 0 'IO::Socket::INET'->new('LocalHost', $local_host, 'LocalPort', $local_port, 'Proto', $proto, 'Listen', 1, 'Reuse', 1) || die(qq[Cannot listen on "${local_host}:$local_port"\n])
33 0 0 'IO::Socket::INET'->new('PeerAddr', $remote_host, 'PeerPort', $remote_port, 'Proto', $proto, 'Type', 1) || die(qq[Cannot connect to "${remote_host}:$remote_port"\n])

or 3 conditions

line l !l&&r !l&&!r condition
41 0 0 0 $client or $remote
47 0 0 0 $rout or $eout
50 0 0 0 vec($eout, fileno $client, 1) || vec($rout, fileno $client, 1)
54 0 0 0 vec($eout, fileno $remote, 1) || vec($rout, fileno $remote, 1)