Condition Coverage

blib/lib/Net/PSYC/Circuit.pm
Criterion Covered Total %
condition 40 81 49.3


and 3 conditions

line !l l&&!r l&&r condition
346 1 0 0 BLOCKING() & 1 and BLOCKING() & 2
390 0 11 0 not exists $$vars{'_source'} and exists $$self{'me'}
433 0 5 1 not exists $$vars{'_source'} and exists $$self{'me'}
618 0 0 1 ref $r and $$r{'host'}

or 2 conditions

line l !l condition
15 1 0 $ip || undef
0 1 $port || undef
138 2 0 $$self{'TRUST'} || 3
256 17 1 $$self{'ping_sub'} ||= sub { syswrite $$self{'SOCKET'}, ".\n"; }
422 4 2 $data ||= ''
423 6 0 $vars ||= {}
678 5 0 $$vars{'_source'} || ''
5 0 $$vars{'_target'} || ''
0 5 $$vars{'_counter'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
27 1 0 0 $ip || $socket->sockhost
0 1 0 $_[2] || $socket->sockport
104 1 0 0 shift() || PSYC_PORT
147 0 0 0 not defined $on or $on
251 3 0 18 $$self{'L'} or BLOCKING()
321 2 0 0 gethostbyaddr($$self{'SOCKET'}->peeraddr, 2) || $$self{'R_IP'}
346 1 0 1 $$self{'L'} or BLOCKING() & 1 and BLOCKING() & 2
429 0 0 6 $$vars{'_source'} ||= delete $$vars{'_source'}
501 5 16 0 $$vars{'_amount_fragments'} || @$data
517 3 15 3 @$N or @$O
518 0 0 18 BLOCKING() or $Net::PSYC::ANACHRONISM
585 0 4 21 $$self{'I_LENGTH'} < 0 or '' eq $$self{'I_BUFFER'}
615 2 18 1 exists $$self{'me'} or $$self{'L'}
20 0 1 exists $$self{'me'} or $$self{'L'} or not exists $$vars{'_target'}
626 1 0 0 $ip || $$r{'host'}
645 0 1 0 $$vars{'_context'} || $$vars{'_source'}
647 0 0 0 $$vars{'_context'} || $$vars{'_source'}