Condition Coverage

blib/lib/IPC/MPS/Event.pm
Criterion Covered Total %
condition 9 50 18.0


and 3 conditions

line !l l&&!r l&&r condition
57 0 0 0 @spawn and carp('Probably have forgotten to call receive.')
158 0 0 0 my $pack = $args{'pack'} and my $unpack = $args{'unpack'}
161 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'
285 0 0 0 $from eq $waited_vpid and $msg eq $waited_msg
374 7 0 1 defined $waited_vpid and defined $waited_msg
423 0 0 1 $self_parent_fh and $self_parent_fh eq $fh
425 1 0 0 defined $waited_vpid and defined $waited_msg
435 7 0 1 defined $waited_vpid and defined $waited_msg
438 0 0 1 $msg eq $waited_msg and $from eq $waited_vpid

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
83 0 0 9 $msg eq 'close' or $msg eq 'exit'
158 0 0 0 $args{'pack'} or $args{'unpack'}
169 0 0 0 not $r or $@
331 0 0 0 @{$snd{$to};} or delete $snd{$to}
357 0 0 0 $r_bufs{$fh} or delete $r_bufs{$fh}