Condition Coverage

blib/lib/Future/IO/Impl/Ppoll.pm
Criterion Covered Total %
condition 14 24 58.3


and 3 conditions

line !l l&&!r l&&r condition
134 0 0 52 $poller and $poller->f
142 57 1 5 @alarms and $alarms[0]->time <= $now
153 6 0 2 $idx < @alarms and $alarms[$idx]->time < $time
159 0 1 0 $idx < @alarms and $alarms[$idx]->f != $self
196 2 0 0 $SIG{'CHLD'} and $SIG{'CHLD'} ne "IGNORE"

or 2 conditions

line l !l condition
38 72 0 "IO::Ppoll"->$_ == "Future::IO"->$_ or die "This implementation relies on the Future::IO $_ constant being the same as system\n"
87 106 0 $pollers_by_refaddr{$refaddr} // []
179 16 38 $pollers_by_refaddr{$refaddr} //= []

or 3 conditions

line l !l&&r !l&&!r condition
78 154 10 0 $ppoll //= "IO::Ppoll"->new