| line |
true |
false |
branch |
|
26
|
0 |
7 |
if ($^O eq 'MSWin32') |
|
28
|
0 |
0 |
if ($@) |
|
30
|
0 |
0 |
if ($@) |
|
32
|
0 |
0 |
if ($@) |
|
36
|
7 |
0 |
ref $options eq 'HASH' ? : |
|
63
|
0 |
0 |
unless $self->{'_current_job'} |
|
70
|
0 |
0 |
unless $self->{'_wheel_log'} |
|
83
|
1 |
0 |
if $pause |
|
94
|
1 |
0 |
if wantarray |
|
107
|
7 |
0 |
if ($self->{'alias'}) { } |
|
113
|
7 |
0 |
unless $self->{'idle'} |
|
114
|
7 |
0 |
unless $self->{'timeout'} |
|
123
|
0 |
7 |
if $self->{'reporterdir'} |
|
136
|
0 |
7 |
unless $self->{'alias'} |
|
144
|
0 |
7 |
if $self->{'_shutdown'} |
|
146
|
7 |
0 |
if (ref $_[10] eq 'HASH') { } |
|
152
|
5 |
2 |
if $state eq 'submit' |
|
159
|
0 |
2 |
unless ($args->{'module'} or $state =~ /^(check|indices)$/i) |
|
164
|
0 |
7 |
unless ($args->{'event'}) |
|
169
|
0 |
7 |
if ($state =~ /^(package|author)$/ and not $args->{'search'}) |
|
176
|
1 |
6 |
if ($state eq 'check') { } |
|
|
1 |
5 |
elsif ($state eq 'indices') { } |
|
177
|
0 |
1 |
if ($^O eq 'MSWin32') { } |
|
188
|
1 |
0 |
unless $args->{'prioritise'} |
|
189
|
0 |
1 |
if ($^O eq 'MSWin32') { } |
|
200
|
0 |
5 |
if ($^O eq 'MSWin32') { } |
|
215
|
0 |
7 |
if ($state eq 'unshift' or $args->{'prioritise'}) { } |
|
230
|
3 |
4 |
if $self->{'debug'} |
|
235
|
0 |
7 |
if ($job->{'cmd'} eq 'recent') { } |
|
|
0 |
7 |
elsif ($job->{'cmd'} =~ /^(package|author)$/) { } |
|
249
|
4 |
3 |
unless ($self->{'debug'}) |
|
255
|
0 |
7 |
if $run_time > $self->{'stats'}{'max_run'} |
|
256
|
7 |
0 |
if $self->{'stats'}{'min_run'} == 0 |
|
257
|
0 |
7 |
if $run_time < $self->{'stats'}{'min_run'} |
|
262
|
0 |
7 |
if $job->{'reporterdir'} |
|
271
|
0 |
15 |
if $self->{'wheel'} |
|
272
|
0 |
15 |
if $self->{'_shutdown'} |
|
273
|
1 |
14 |
if $self->{'paused'} |
|
275
|
7 |
7 |
unless $job |
|
276
|
0 |
7 |
if ($job->{'reporterdir'}) |
|
288
|
0 |
7 |
unless ($self->{'wheel'}) |
|
293
|
3 |
4 |
if (defined $job->{'debug'}) |
|
302
|
6 |
1 |
unless $job->{'cmd'} eq 'indices' |
|
322
|
0 |
0 |
if $self->{'debug'} |
|
329
|
0 |
0 |
if ($^O eq 'MSWin32' and not $self->{'_current_job'}{'GRP_PID'} and my($pid) = $input =~ /(\d+)/) |
|
331
|
0 |
0 |
if $self->{'debug'} |
|
334
|
6 |
0 |
unless $self->{'_current_job'}{'cmd'} eq 'recent' |
|
335
|
3 |
3 |
if $self->{'debug'} |
|
342
|
0 |
0 |
if ($now - $self->{'_wheel_time'} >= $self->{'idle'}) |
|
347
|
0 |
0 |
if ($now - $self->{'_current_job'}{'start_time'} >= $self->{'timeout'}) |
|
359
|
0 |
0 |
if $self->{'debug'} |
|
360
|
0 |
0 |
if ($^O eq 'MSWin32' and $self->{'wheel'}) { } |
|
362
|
0 |
0 |
unless $grp_pid |
|
363
|
0 |
0 |
unless Win32::Process::KillProcess($grp_pid, 0) |
|
367
|
0 |
0 |
if (not $self->{'no_grp_kill'}) { } |
|
|
0 |
0 |
elsif ($GOT_KILLFAM) { } |
|
368
|
0 |
0 |
if $self->{'wheel'} |
|
371
|
0 |
0 |
if $self->{'wheel'} |
|
374
|
0 |
0 |
if $self->{'wheel'} |
|
383
|
0 |
0 |
unless my $job = 'Win32::Job'->new |
|
385
|
0 |
0 |
unless my $pid = $job->spawn($perl, $cmdline) |
|
397
|
0 |
0 |
unless my $job = 'Win32::Job'->new |
|
399
|
0 |
0 |
unless my $pid = $job->spawn($perl, $cmdline) |
|
410
|
0 |
0 |
unless my $job = 'Win32::Job'->new |
|
412
|
0 |
0 |
unless my $pid = $job->spawn($perl, $cmdline) |
|
434
|
0 |
0 |
if ($proc->ppid == $kid) |