Condition Coverage

blib/lib/Net/WebSocket/Server.pm
Criterion Covered Total %
condition 6 12 50.0


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 < time

or 3 conditions

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