blib/lib/Net/WebSocket/Server/Connection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 16 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
33 | 2 | 0 | 0 | ref $$self{$key} eq 'CODE' and ref $value ne 'CODE' |
65 | 0 | 0 | 0 | $sock && $sock->connected |
70 | 0 | 0 | 0 | $sock && $sock->connected |
line | l | !l | condition |
---|---|---|---|
29 | 1 | 0 | eval { do { 'Protocol::WebSocket::Frame'->new->{'max_payload_size'} } } || 65536 |
100 | 1 | 0 | $code ||= 1000 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
99 | 1 | 0 | 0 | defined $code or defined $reason |