blib/lib/Broker/Async.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
78 | 0 | 10 | unless defined $self->$name |
82 | 0 | 10 | unless ref $workers eq 'ARRAY' |
89 | 17 | 4 | if ($type eq 'CODE') { } |
3 | 1 | elsif ($type eq 'HASH') { } | |
119 | 119 | 11 | if (my(@active_futures) = map($_->active, $self->active)) { } |
11 | 0 | elsif (my($available_worker) = $self->available) { } | |
153 | 278 | 119 | unless my($worker) = $self->available |