Condition Coverage

blib/lib/IPC/Semaphore/SmokeSignals.pm
Criterion Covered Total %
condition 30 57 52.6


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 2 $perm and not -e $path
194 7 2 5 $impatient and $got_none
9 5 0 $impatient and $got_none and 11 == $excuse || 11 == $excuse
233 0 0 2 defined $puffs and $$ == ($$me[_OWNER()] || 0)
237 1 1 0 ref $puffs and not @$puffs
255 0 1 0 ref $puffs and not @$puffs
295 1 1 0 $impatient && defined $puff
299 0 2 0 $puffs and $eops < $room
303 1 0 1 $impatient and not defined $puff

or 2 conditions

line l !l condition
88 0 0 $perm ||= 438
103 3 1 $fuel ||= 1
233 2 0 $$me[_OWNER()] || 0

or 3 conditions

line l !l&&r !l&&!r condition
59 2 0 0 $perm || $nowait
70 0 4 0 ref $class || $class
194 5 0 0 11 == $excuse || 11 == $excuse
201 2 0 7 $nil or $puff =~ /[^\0]/
278 1 1 1 $impatient || !$eops
282 0 0 1 $room or $eops
293 2 0 1 $puffs or $eops
295 2 0 0 not $impatient && defined $puff or $puff =~ /[^\0]/