line |
true |
false |
branch |
15
|
0 |
54 |
if (defined $validator and ref $validator ne 'CODE') |
20
|
3 |
30 |
defined $validator ? : |
|
21 |
33 |
defined $args{'handshake'} ? : |
21
|
0 |
54 |
if (ref $handshake ne 'CODE') |
35
|
4 |
0 |
if ($fatal) { } |
45
|
71 |
71 |
unless (defined $self->{'ssl_key_file'} or defined $self->{'ssl_cert_file'}) |
48
|
0 |
141 |
unless (defined $self->{'ssl_cert_file'}) |
55
|
70 |
71 |
defined $self->{'ssl_key_file'} ? : |
72
|
4 |
419 |
unless (defined $handshake->parse($handle->{'rbuf'})) |
75
|
215 |
204 |
unless $handshake->is_done |
76
|
0 |
204 |
if ($handshake->version ne 'draft-ietf-hybi-17') |
80
|
3 |
192 |
unless (defined $res) |
83
|
189 |
3 |
if (ref $res eq 'Protocol::WebSocket::Response') |
102
|
212 |
0 |
if defined $handle |
108
|
1 |
212 |
unless (defined $fh) |
120
|
0 |
0 |
unless (defined $env) |
124
|
0 |
0 |
unless defined $fh |
125
|
0 |
0 |
unless (defined $fh) |