Branch Coverage

blib/lib/Plack/Middleware/Proxy/Connect/IO.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
57 0 0 unless $env->{'REQUEST_METHOD'} eq 'CONNECT'
59 0 0 unless my $client = $env->{'psgix.io'}
69 0 0 unless my $remote = 'IO::Socket::INET'->new('PeerAddr', $host, 'PeerPort', $port, 'Blocking', 0)
80 0 0 if (eval { do { 1 } })
95 0 0 if ($read) { }
96 0 0 if ($socket == $client) { }
0 0 elsif ($socket == $remote) { }
111 0 0 if ($socket == $client and length $bufin) { }
0 0 elsif ($socket == $remote and length $bufout) { }