Condition Coverage

blib/lib/Future/IO.pm
Criterion Covered Total %
condition 37 61 60.6


and 3 conditions

line !l l&&!r l&&r condition
460 15 1 0 @readers and $readers[-1]->fh != $fh
470 0 2 0 $idx < @readers and $readers[$idx]->f != $f
483 9 1 0 @writers and $writers[-1]->fh != $fh
493 0 1 0 $idx < @writers and $writers[$idx]->f != $f
515 8 0 2 $idx < @alarms and $alarms[$idx]->time < $time
523 0 2 0 $idx < @alarms and $alarms[$idx]->f != $f
562 6 0 1 $ret && @readers && vec($rvec, $readers[0]->fh->fileno, 1)
563 7 0 0 $ret && @writers && vec($wvec, $writers[0]->fh->fileno, 1)
578 28 1 6 @alarms and $alarms[0]->time <= $now

or 2 conditions

line l !l condition
115 0 1 $IMPL //= "Future::IO::_DefaultImpl"
135 1 0 $IMPL //= "Future::IO::_DefaultImpl"
161 1 1 $IMPL //= "Future::IO::_DefaultImpl"
178 8 1 $IMPL //= "Future::IO::_DefaultImpl"
201 5 2 $IMPL //= "Future::IO::_DefaultImpl"
226 1 1 $IMPL //= "Future::IO::_DefaultImpl"
267 0 1 $IMPL //= "Future::IO::_DefaultImpl"
306 4 1 $IMPL //= "Future::IO::_DefaultImpl"
329 0 1 $IMPL //= "Future::IO::_DefaultImpl"
376 0 0 $IMPL //= "Future::IO::_DefaultImpl"
425 0 0 $IMPL //= "Future::IO::_DefaultImpl"

or 3 conditions

line l !l&&r !l&&!r condition
405 0 0 1 @alarms or @readers
538 7 13 9 @alarms or @readers
20 9 0 @alarms or @readers or @writers
544 7 0 22 @alarms || @readers && @writers