blib/lib/Parallel/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
94 | 0 | 24 | ref $_[0] ? : |
103 | 0 | 24 | if $args->{'worker_total'} eq 'infinite' |
106 | 0 | 24 | unless $args->{'handler'} |
107 | 0 | 24 | unless $args->{'handler'}->can($args->{'subname'}) |
138 | 55 | 10 | if ($pid) |
139 | 55 | 0 | if defined $self->{'_worker_total'} and $self->{'_worker_total'} > 0 |
169 | 11 | 65 | if defined $self->{'_worker_total'} and $self->{'_worker_total'} <= 0 |
173 | 0 | 30505 | unless $self->{'_continue'} |
187 | 26 | 60984 | if $waitpid > 0 |