blib/lib/Parallel/Iterator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 26 | 92.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
366 | 0 | 118 | 424 | defined $work and ref $work |
394 | 1288 | 1 | 76 | @workers < $$options{'workers'} and my(@next) = &$iter() |
513 | 0 | 4 | 2 | defined $min and $min > 1 |
521 | 254 | 21 | 499 | defined $max and $batch > $max |
523 | 736 | 38 | 30000 | @chunk < $batch and my(@next) = &$code() |
536 | 202 | 24 | 20000 | @chunk < $batch and my(@next) = &$code() |
594 | 6 | 18 | 3 | $options{'workers'} > 0 and $DEFAULTS{'workers'} == 0 |
line | l | !l | condition |
---|---|---|---|
506 | 3 | 3 | $$options{'workers'} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
602 | 4 | 6 | 17 | $options{'batch'} > 1 or $options{'adaptive'} |