| line |
true |
false |
branch |
|
17
|
115 |
58 |
if ref $frame ne "HASH" |
|
20
|
12 |
161 |
if exists $frame->{'json'} |
|
23
|
144 |
29 |
if (exists $frame->{'text'}) { } |
|
27
|
165 |
8 |
unless $self->compressed |
|
42
|
119 |
15 |
$self->{'close'} ? : |
|
43
|
15 |
119 |
@args > 1 ? : |
|
52
|
26 |
130 |
$close->[0] ? : |
|
53
|
17 |
139 |
if defined $close->[1] |
|
73
|
1 |
271 |
if $op == 9 |
|
74
|
1 |
270 |
if $op == 10 |
|
77
|
94 |
176 |
if ($op == 8) |
|
78
|
80 |
14 |
unless length $frame->[5] >= 2 |
|
83
|
169 |
7 |
unless exists $self->{'op'} |
|
86
|
1 |
175 |
if length $self->{'message'} > $max |
|
89
|
7 |
168 |
unless $frame->[0] |
|
93
|
6 |
0 |
if ($self->compressed and $self->{'pmc'}) |
|
97
|
1 |
5 |
if length $msg |
|
101
|
7 |
160 |
if $self->has_subscribers("json") |
|
103
|
144 |
23 |
$op == 1 ? : |
|
104
|
51 |
0 |
$op == 1 ? : |
|
|
51 |
116 |
if $self->has_subscribers("message") |
|
114
|
119 |
0 |
if $_[0]->handshake->resume |
|
118
|
56 |
275 |
if $cb |
|
119
|
168 |
163 |
unless ref $msg eq "ARRAY" |
|
130
|
3 |
266 |
unless ref $frame |
|
139
|
608 |
322 |
unless length($self->{'write'} //= "") |
|
140
|
202 |
403 |
if not length $self->{'write'} and $self->{'closing'} |
|
148
|
3 |
17 |
if ($self->req->headers->sec_websocket_extensions // "") =~ /permessage-deflate/u |
|
156
|
3 |
3 |
unless defined(my $proto = &first(sub {
$protos{$_};
}
, @_)) |