line |
true |
false |
branch |
19
|
0 |
0 |
unless defined $self->{'on_establish'} |
20
|
0 |
0 |
if ref $self->{'on_establish'} ne 'CODE' |
22
|
0 |
0 |
if ref $self->{'on_error'} ne 'CODE' |
24
|
0 |
0 |
unless (defined $self->{'websocket_server'}) |
27
|
0 |
0 |
if (&blessed($self->{'websocket_server'}) and not $self->{'websocket_server'}->isa('AnyEvent::WebSocket::Server')) |
38
|
0 |
0 |
if (not defined $env->{$ERROR_ENV}) { } |
|
0 |
0 |
elsif ($env->{$ERROR_ENV} eq 'not supported by the PSGI server') { } |
|
0 |
0 |
elsif ($env->{$ERROR_ENV} eq 'invalid request') { } |
57
|
0 |
0 |
if (ref $psgi_res eq 'CODE') { } |
66
|
0 |
0 |
unless ($env->{'psgi.streaming'} and $env->{'psgi.nonblocking'} and $env->{'psgix.io'}) |
80
|
0 |
0 |
unless ($conn) |