Condition Coverage

blib/lib/Net/WebSocket/Server/Connection.pm
Criterion Covered Total %
condition 6 15 40.0


and 3 conditions

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

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
110 1 0 0 defined $code or defined $reason