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
56 0 0 0 @spawn and carp('Probably have forgotten to call receive.')
157 0 0 0 my $pack = $args{'pack'} and my $unpack = $args{'unpack'}
160 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'
284 0 0 0 $from eq $waited_vpid and $msg eq $waited_msg
373 7 0 1 defined $waited_vpid and defined $waited_msg
422 0 0 1 $self_parent_fh and $self_parent_fh eq $fh
424 1 0 0 defined $waited_vpid and defined $waited_msg
434 7 0 1 defined $waited_vpid and defined $waited_msg
437 0 0 1 $msg eq $waited_msg and $from eq $waited_vpid

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
82 0 0 9 $msg eq 'close' or $msg eq 'exit'
157 0 0 0 $args{'pack'} or $args{'unpack'}
168 0 0 0 not $r or $@
330 0 0 0 @{$snd{$to};} or delete $snd{$to}
356 0 0 0 $r_bufs{$fh} or delete $r_bufs{$fh}