| blib/lib/Parallel/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 18 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 78 | 0 | 24 | ref $_[0] ? : |
| 87 | 0 | 24 | if $args->{'worker_total'} eq 'infinite' |
| 90 | 0 | 24 | unless $args->{'handler'} |
| 92 | 0 | 24 | unless $args->{'handler'}->can($args->{'subname'}) |
| 127 | 55 | 10 | if ($pid) |
| 129 | 55 | 0 | if defined $self->{'_worker_total'} and $self->{'_worker_total'} > 0 |
| 159 | 11 | 65 | if defined $self->{'_worker_total'} and $self->{'_worker_total'} <= 0 |
| 163 | 0 | 26543 | unless $self->{'_continue'} |
| 176 | 26 | 53060 | if $waitpid > 0 |