Branch Coverage

blib/lib/Parallel/Pipes/App.pm
Criterion Covered Total %
branch 18 28 64.2


line true false branch
9 6 638 $_[0] < $_[1] ? :
14 0 34 unless my $work = $argv{'work'}
15 0 34 unless my $num = $argv{'num'}
16 0 34 unless my $tasks = $argv{'tasks'}
23 638 57 if (my(@written) = grep({$_->is_written;} @ready))
26 716 0 if $after_work
29 644 51 if (@$tasks) { }
33 0 744 if $before_work
37 24 27 if (@ready == $num) { }
40 27 0 if (my(@written) = $pipes->is_written) { }
44 28 0 if $after_work
59 0 22 unless my $orig_num = $argv{'num'}
60 0 22 unless my $orig_tasks = $argv{'tasks'}
61 0 22 unless my $orig_work = $argv{'work'}