Condition Coverage

blib/lib/Parallel/Iterator.pm
Criterion Covered Total %
condition 24 26 92.3


and 3 conditions

line !l l&&!r l&&r condition
362 0 118 424 defined $work and ref $work
390 1281 1 76 @workers < $options->{'workers'} and my(@next) = &$iter()
509 0 4 2 defined $min and $min > 1
517 254 21 499 defined $max and $batch > $max
519 736 38 30000 @chunk < $batch and my(@next) = &$code()
532 202 24 20000 @chunk < $batch and my(@next) = &$code()
590 6 18 3 $options{'workers'} > 0 and $DEFAULTS{'workers'} == 0

or 2 conditions

line l !l condition
502 3 3 $options->{'workers'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
598 4 6 17 $options{'batch'} > 1 or $options{'adaptive'}