blib/lib/Parallel/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
91 | 0 | 24 | ref $_[0] ? : |
100 | 0 | 24 | if $args->{'worker_total'} eq 'infinite' |
103 | 0 | 24 | unless $args->{'handler'} |
104 | 0 | 24 | unless $args->{'handler'}->can($args->{'subname'}) |
135 | 55 | 10 | if ($pid) |
136 | 55 | 0 | if defined $self->{'_worker_total'} and $self->{'_worker_total'} > 0 |
166 | 11 | 65 | if defined $self->{'_worker_total'} and $self->{'_worker_total'} <= 0 |
170 | 0 | 196831 | unless $self->{'_continue'} |
184 | 26 | 393636 | if $waitpid > 0 |