blib/lib/Parallel/Pipes/App.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 24 | 62.5 |
line | true | false | branch |
---|---|---|---|
9 | 0 | 199 | $_[0] < $_[1] ? : |
14 | 0 | 12 | unless my $work = $argv{'work'} |
15 | 0 | 12 | unless my $num = $argv{'num'} |
16 | 0 | 12 | unless my $tasks = $argv{'tasks'} |
25 | 199 | 9 | if (my(@written) = grep({$_->is_written;} @ready)) |
28 | 0 | 213 | if ($after_work) { } |
35 | 199 | 9 | if (@$tasks) { } |
39 | 0 | 217 | if $before_work |
43 | 7 | 2 | if (@ready == $num) { } |
46 | 2 | 0 | if (my(@written) = $pipes->is_written) { } |
50 | 0 | 4 | if ($after_work) { } |
63 | 0 | 7 | $after_work ? : |