line |
true |
false |
branch |
32
|
303 |
2541 |
if (@_ > 1) |
33
|
3 |
147 |
unless defined $v or $options{'allow_undef'} |
34
|
40 |
260 |
if defined $v and ref $v ne 'CODE' |
35
|
12 |
248 |
if $self->running > 0 |
49
|
91 |
11176 |
if (@_ > 1) |
50
|
3 |
88 |
if $self->running > 0 |
51
|
60 |
28 |
unless defined $conc |
52
|
2 |
86 |
unless looks_like_number $conc |
70
|
1 |
2154 |
if (@_ < 2) |
73
|
5 |
2149 |
if (defined $cb and ref $cb ne 'CODE') |
83
|
2042 |
2238 |
if $self->concurrency > 0 and $self->running >= $self->concurrency |
85
|
94 |
2144 |
unless defined $args_ref |
88
|
26 |
2054 |
if ($self->running == $self->concurrency and $from_push and defined $self->saturated) |
91
|
114 |
2029 |
if (@{$$self{'task_queue'};} == 0 and defined $self->empty) |
98
|
1125 |
1007 |
if defined $cb |
100
|
32 |
63 |
if (@{$$self{'task_queue'};} == 0 and $self->running == 0 and defined $self->drain) |
103
|
2104 |
27 |
if ($sync) { } |
111
|
2104 |
36 |
if ($sync_completed) |