Condition Coverage

blib/lib/IPC/MPS.pm
Criterion Covered Total %
condition 10 53 18.8


and 3 conditions

line !l l&&!r l&&r condition
58 0 0 0 @spawn and carp('Probably have forgotten to call receive.')
144 0 0 0 my $pack = $args{'pack'} and my $unpack = $args{'unpack'}
147 0 0 0 ref $r eq 'HASH' and ref $r->{'a'} eq 'ARRAY'
0 0 0 ref $r eq 'HASH' and ref $r->{'a'} eq 'ARRAY' and $r->{'a'}[0]
0 0 0 ref $r eq 'HASH' and ref $r->{'a'} eq 'ARRAY' and $r->{'a'}[0] and $r->{'a'}[0] eq 'b'
268 0 0 0 $from eq $waited_vpid and $msg eq $waited_msg
281 0 0 17 $sel->count and not $quit
368 7 0 1 defined $waited_vpid and defined $waited_msg
411 0 0 1 $self_parent_fh and $self_parent_fh eq $fh
413 1 0 0 defined $waited_vpid and defined $waited_msg
425 14 0 2 defined $waited_vpid and defined $waited_msg
428 0 0 1 $msg eq $waited_msg and $from eq $waited_vpid

or 2 conditions

line l !l condition
350 0 8 $buf || ''

or 3 conditions

line l !l&&r !l&&!r condition
84 0 0 9 $msg eq 'close' or $msg eq 'exit'
144 0 0 0 $args{'pack'} or $args{'unpack'}
155 0 0 0 not $r or $@
312 0 0 0 @{$snd{$to};} or delete $snd{$to}
351 0 0 0 $r_bufs{$fh} or delete $r_bufs{$fh}