blib/lib/Net/WebSocket/Server/Connection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 15 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
34 | 2 | 0 | 0 | ref $self->{$key} eq 'CODE' and ref $value ne 'CODE' |
46 | 1 | 0 | 0 | $self->{'socket'}->can('accept_SSL') and not $self->{'socket'}->opened |
line | l | !l | condition |
---|---|---|---|
30 | 1 | 0 | eval { do { 'Protocol::WebSocket::Frame'->new->{'max_payload_size'} } } || 65536 |
1 | 0 | eval { do { 'Protocol::WebSocket::Frame'->new->{'max_payload_size'} } } || 65536 | |
111 | 1 | 0 | $code ||= 1000 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
110 | 1 | 0 | 0 | defined $code or defined $reason |