Branch Coverage

blib/lib/Plack/App/Proxy/WebSocket.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
26 0 0 unless my $upgrade = $req->header('Upgrade')
28 0 0 unless $$env{'psgi.streaming'}
29 0 0 unless my $client_fh = $$env{'psgix.io'}
31 0 0 unless my $url = $self->build_url_from_env($env)
39 0 0 unless ($$env{'psgi.nonblocking'})
48 0 0 unless ($server_fh)
50 0 0 if $cv
78 0 0 if $writer
83 0 0 if $ret == -2
84 0 0 if $ret < 0
86 0 0 unless $status == 101
96 0 0 if $cv
97 0 0 if $writer
106 0 0 if $cv
118 0 0 if (my $forwarded_for = $$env{'HTTP_X_FORWARDED_FOR'})
124 0 0 if ($uri and not $$headers{'Host'})