Condition Coverage

blib/lib/IPC/Messaging.pm
Criterion Covered Total %
condition 7 86 8.1


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 2 $messaging_dir and $i_am_root
0 0 2 $messaging_dir and $i_am_root and -e $messaging_dir
0 0 2 $messaging_dir and $i_am_root and -e $messaging_dir and not -l $messaging_dir
0 0 0 $messaging_dir and not $i_am_root
93 0 0 0 $$pat{'name'} ne $$m{'m'} and $$pat{'name'} ne '_'
97 0 0 0 $$pat{'proc'} and $$m{'f'}
0 0 0 $$pat{'proc'} and $$m{'f'} and $$m{'f'} != $$pat{'proc'}
102 0 0 0 $$pat{'sock'} and $msock
0 0 0 $$pat{'sock'} and $msock and $msock->fileno != $$pat{'sock'}
109 0 0 0 exists $$m{'d'}{$k} and $$m{'d'}{$k} eq $$h{$k}
195 0 0 0 not $msg and $@
197 0 0 0 $$msg{'s'} and $$msg{'s'} eq $secret
0 0 0 $$msg{'s'} and $$msg{'s'} eq $secret and $$msg{'m'}
0 0 0 $$msg{'s'} and $$msg{'s'} eq $secret and $$msg{'m'} and $$msg{'f'}
269 0 0 0 $$s{'buf'} and $$s{'by_line'}
430 0 0 0 $$r{'timeout'} and $$r{'timeout'}[0] - (&Time::HiRes::time() - $start) < 0
529 2 0 0 -e $messaging_dir and not -l $messaging_dir
533 2 0 0 !($use_kqueue || $use_epoll) && can_load('modules', {'IO::Select', 0})
659 0 0 0 defined $r and not $r

or 2 conditions

line l !l condition
106 0 0 $$pat{'match'} || {}
198 0 0 $$msg{'d'} ||= {}
342 0 0 $p{'listen_queue'} || 5
379 0 0 $port ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 0 $$m{'fsock'} || $$m{'sock'}
120 0 0 0 $$m{'sock'} || ($$m{'f'} ? 'IPC::Messaging::Process'->_new($$m{'f'}) : undef)
268 0 0 0 not defined $len or $len <= 0
403 0 0 0 $$r{'pats'} or $$r{'timeout'}
414 0 0 0 $i_am_root or kill 0, $root
534 0 2 0 $use_kqueue or $use_epoll
2 0 0 $use_kqueue or $use_epoll or $use_select