blib/lib/Terse/WebSocket.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 36 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
11 | 0 | 0 | 0 | $$env{$t->{'_sock'}} and $$env{$t->{'_stream_check'}} |
42 | 0 | 0 | 0 | $env->{'HTTP_X_FORWARDED_PROTO'} and $env->{'HTTP_X_FORWARDED_PROTO'} eq "https" |
65 | 0 | 0 | 0 | $ping_rate-- > 0 and not $response |
104 | 0 | 0 | 0 | not $self->options->origin and $self->options->secure |
line | l | !l | condition |
---|---|---|---|
27 | 0 | 0 | $t->{'_app_secret'} || 'ABABCABC-ABC-ABC-ABCD-ABCABCABCABC' |
56 | 0 | 0 | $t->websocket_reset_rate ||= 100000 |
91 | 0 | 0 | $self->version || 'draft-ietf-hybi-10' |
102 | 0 | 0 | $self->resource_name || '/' |
138 | 0 | 0 | $self->mask ||= 0 |
164 | 0 | 0 | $self->next_frame ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
66 | 0 | 0 | 0 | not $response or $response ne "pong" |
95 | 0 | 0 | 0 | $version eq "draft-hixie-75" or $version eq "draft-ietf-hybi-00" |
0 | 0 | 0 | $version eq "draft-ietf-hybi-10" or $version eq "draft-ietf-hybi-17" | |
141 | 0 | 0 | 0 | $length > 254 or $mask |