Condition Coverage

blib/lib/Net/MessageBus.pm
Criterion Covered Total %
condition 9 19 47.3


and 3 conditions

line !l l&&!r l&&r condition
520 238 0 405 defined $$data{'type'} and $$data{'type'} eq 'message'

or 2 conditions

line l !l condition
154 0 20 ref $_[0] || ''
161 0 20 $params{'server'} || '127.0.0.1'
0 20 $params{'port'} || '4500'
403 20 0 'IO::Socket::INET'->new('PeerHost', $$self{'server_address'}, 'PeerPort', $$self{'server_port'}, 'Proto', 'tcp', 'Timeout', 1, 'ReuseAddr', 1, 'Blocking', 1) || die('Cannot connect to Net::MessageBus server')
501 13 0 $$self{'timeout'} || 0.01

or 3 conditions

line l !l&&r !l&&!r condition
161 0 20 0 $params{'logger'} || Net::MessageBus::Base::create_default_logger()
332 3 0 0 not scalar @{$$self{'msgqueue'};} or $params{'force_read_queue'}