| line |
true |
false |
branch |
|
17
|
115 |
63 |
if ref $frame ne "HASH" |
|
20
|
12 |
166 |
if exists $frame->{'json'} |
|
23
|
150 |
28 |
if (exists $frame->{'text'}) { } |
|
27
|
165 |
13 |
unless $self->compressed |
|
43
|
119 |
15 |
$self->{'close'} ? : |
|
44
|
15 |
119 |
@args > 1 ? : |
|
53
|
26 |
130 |
$close->[0] ? : |
|
54
|
17 |
139 |
if defined $close->[1] |
|
74
|
1 |
274 |
if $op == 9 |
|
75
|
1 |
273 |
if $op == 10 |
|
78
|
94 |
179 |
if ($op == 8) |
|
79
|
80 |
14 |
unless length $frame->[5] >= 2 |
|
84
|
172 |
7 |
unless exists $self->{'op'} |
|
87
|
1 |
178 |
if length $self->{'message'} > $max |
|
90
|
7 |
171 |
unless $frame->[0] |
|
94
|
9 |
0 |
if ($self->compressed and $self->{'pmc'}) |
|
98
|
1 |
8 |
if length $msg |
|
102
|
7 |
163 |
if $self->has_subscribers("json") |
|
104
|
147 |
23 |
$op == 1 ? : |
|
105
|
54 |
0 |
$op == 1 ? : |
|
|
54 |
116 |
if $self->has_subscribers("message") |
|
115
|
119 |
0 |
if $_[0]->handshake->resume |
|
119
|
56 |
275 |
if $cb |
|
120
|
168 |
163 |
unless ref $msg eq "ARRAY" |
|
131
|
3 |
266 |
unless ref $frame |
|
140
|
608 |
322 |
unless length($self->{'write'} //= "") |
|
141
|
201 |
404 |
if not length $self->{'write'} and $self->{'closing'} |
|
149
|
3 |
17 |
if ($self->req->headers->sec_websocket_extensions // "") =~ /permessage-deflate/u |
|
157
|
3 |
3 |
unless defined(my $proto = &first(sub {
$protos{$_};
}
, @_)) |