| line |
true |
false |
branch |
|
18
|
7 |
17 |
unless exists $params{'delay'} |
|
21
|
1 |
23 |
ref $options eq 'HASH' ? : |
|
48
|
0 |
24 |
if ($self->{'alias'}) { } |
|
61
|
0 |
24 |
if ($self->{'alias'}) { } |
|
68
|
0 |
24 |
if $self->{'_current'}{'backend'} |
|
75
|
2 |
22 |
if exists $self->{'_delay'} |
|
82
|
8 |
0 |
if exists $self->{'_delay'} |
|
89
|
3 |
190 |
if $self->{'_shutdown'} |
|
90
|
0 |
190 |
if exists $self->{'_delay'} |
|
91
|
2 |
188 |
if exists $self->{'paused'} and $self->{'paused'} == 2 |
|
93
|
117 |
71 |
if ($self->{'_current'}) { } |
|
94
|
27 |
90 |
if $self->{'_current'}{'backend'} |
|
98
|
6 |
9 |
if ($job->{'job'}->delay > 0 and not defined $delaydone and scalar @{$job->{'smokers'};} > 0) |
|
106
|
50 |
34 |
unless ($smoker) |
|
113
|
23 |
27 |
if ($self->{'_refcounts'}{$session} <= 0) |
|
120
|
4 |
46 |
if ($self->{'delay'} > 0) { } |
|
132
|
21 |
50 |
unless $job |
|
161
|
0 |
51 |
if $self->{'_shutdown'} |
|
163
|
44 |
7 |
if (ref $_[10] eq 'HASH') { } |
|
172
|
44 |
0 |
if $POE::Component::SmokeBox::JobQueue::poe_kernel->alias_resolve($_[0]) |
|
175
|
50 |
0 |
if ref $_[0] and $_[0]->isa('POE::Component::SmokeBox::Job') |
|
180
|
50 |
0 |
if ref $_[0] eq 'ARRAY' and scalar @{$_[0];} and grep({$_->isa('POE::Component::SmokeBox::Smoker');} @{$_[0];}) == @{$_[0];} |
|
186
|
1 |
50 |
unless my $checked = check($tmpl, $args, 1) |
|
187
|
44 |
6 |
if $checked->{'session'} |
|
188
|
6 |
44 |
unless $checked->{'session'} |
|
191
|
0 |
50 |
unless $id |
|
192
|
23 |
27 |
unless (defined $self->{'_refcounts'}{$checked->{'session'}}) |
|
203
|
0 |
0 |
if $self->{'_shutdown'} |
|
205
|
0 |
0 |
if (ref $_[10] eq 'HASH') { } |
|
216
|
0 |
0 |
unless my $checked = check($tmpl, $args, 1) |
|
222
|
0 |
50 |
unless ref $job eq 'HASH' |
|
233
|
0 |
0 |
unless ref $job eq 'HASH' |
|
244
|
3 |
68 |
if $self->{'paused'} |
|
246
|
18 |
50 |
unless $job |
|
255
|
0 |
0 |
if $self->{'paused'} |
|
257
|
0 |
0 |
unless $job |
|
266
|
50 |
0 |
if $type |
|
267
|
50 |
0 |
if ($type and grep {/^\Q$type\E$/;} 'push', 'unshift') |
|
276
|
0 |
0 |
if $self->{'paused'} |
|
277
|
0 |
0 |
if $type |
|
278
|
0 |
0 |
if ($type and grep {/^\Q$type\E$/;} 'pop', 'shift') { } |
|
|
0 |
0 |
elsif ($type and defined $self->{'_jobs'}{$type}) { } |
|
286
|
0 |
0 |
if $_->{'id'} eq $type |
|
316
|
9 |
11 |
if (exists $_[0]{'paused'}) { } |
|
330
|
50 |
0 |
unless exists $active_identifiers{++$current_id} |