Condition Coverage

blib/lib/Net/WebSocket/Server.pm
Criterion Covered Total %
condition 3 9 33.3


and 3 conditions

line !l l&&!r l&&r condition
37 1 3 0 ref $self->{$key} and ref $value ne ref $self->{$key}
197 22 0 0 $self->{'tick_period'} and $tick_next < &Net::WebSocket::Server::time()

or 3 conditions

line l !l&&r !l&&!r condition
141 0 0 0 'IO::Socket::INET'->new('Listen', 5, 'LocalPort', $self->{'listen'}, 'Proto', 'tcp', 'ReuseAddr', 1) || croak("failed to listen on port $self->{'listen'}: $!")