line |
true |
false |
branch |
44
|
61 |
15 |
unless defined $self->{'rand'} |
47
|
0 |
76 |
@max ? : |
49
|
76 |
0 |
if $max |
51
|
67 |
9 |
unless (defined $self->{'filter'}) |
52
|
0 |
67 |
if (my $raw = $ENV{'T2_WORKFLOW'}) |
54
|
0 |
0 |
if ($raw =~ /^(.*)\s+(\d+)$/) { } |
|
0 |
0 |
elsif ($raw =~ /^(\d+)$/) { } |
72
|
33 |
43 |
if (my $task = delete $self->{'task'}) |
79
|
36 |
410 |
unless $self->{'pid'} == $$ |
80
|
0 |
410 |
unless $self->{'tid'} == 0 |
89
|
0 |
261 |
if ($type =~ /\+(.*)$/) { } |
106
|
0 |
1108 |
unless my $stack = $self->{'stack'} |
109
|
1143 |
1040 |
unless $state->{'subtest'} |
128
|
1845 |
5016 |
unless ($state->{'started'}++) |
132
|
649 |
1196 |
if (my $f = $self->{'filter'}) |
135
|
233 |
416 |
unless $in_var |
136
|
25 |
624 |
if $filter->{'satisfied'} |
139
|
649 |
1196 |
if $filter |
141
|
148 |
1697 |
if ($skip) |
154
|
1108 |
589 |
if ($task->flat) { } |
156
|
1040 |
68 |
$st ? : |
158
|
0 |
1108 |
if $task->todo |
170
|
45 |
544 |
if $task->todo |
178
|
187 |
402 |
if (defined $slot) |
179
|
101 |
86 |
unless $st->finished |
186
|
1643 |
5070 |
if ($state->{'ended'}) |
187
|
45 |
1598 |
if $state->{'todo'} |
188
|
378 |
1265 |
if $state->{'subtest'} |
190
|
0 |
1643 |
if $state->{'in_thread'} |
191
|
30 |
1613 |
if (my $guard = delete $state->{'in_fork'}) |
201
|
402 |
4668 |
if ($state->{'subtest'} and not $state->{'subtest_started'}++) |
206
|
1084 |
3986 |
if ($task->isa('Test2::Workflow::Task::Action')) |
210
|
0 |
1084 |
unless ($state->{'PID'} == $$) |
215
|
0 |
1084 |
unless $ok |
221
|
1162 |
2824 |
if (not $state->{'stage'} or $state->{'stage'} eq 'BEFORE') { } |
|
426 |
2398 |
elsif ($state->{'stage'} eq 'VARIANT') { } |
|
1316 |
1082 |
elsif ($state->{'stage'} eq 'PRIMARY') { } |
|
1082 |
0 |
elsif ($state->{'stage'} eq 'AFTER') { } |
223
|
736 |
426 |
if (my $add = $task->before->[$state->{'before'}++]) { } |
224
|
362 |
374 |
if ($add->around) { } |
230
|
0 |
354 |
unless ($state->{'PID'} == $$) |
235
|
0 |
354 |
unless ($ok and $complete) |
238
|
0 |
0 |
$ok ? : |
250
|
101 |
325 |
if (my $v = $task->variant) |
256
|
426 |
890 |
unless (defined $state->{'order'}) |
257
|
0 |
426 |
defined $task->rand ? : |
259
|
238 |
188 |
if $rand |
263
|
944 |
372 |
if (defined $num) { } |
272
|
710 |
372 |
if (my $add = $task->after->[$state->{'after'}++]) { } |
273
|
354 |
356 |
if $add->around |
289
|
0 |
1845 |
unless $task |
290
|
0 |
1845 |
unless &blessed($task) and $task->isa('Test2::Workflow::Task') |
292
|
33 |
1812 |
if ($task->isa('Test2::Workflow::Build')) |
294
|
0 |
33 |
if @{$self->{'stack'};} |
309
|
0 |
13 |
unless $stack and @$stack |
320
|
0 |
589 |
if $state->{'task'}->skip |
326
|
366 |
223 |
unless $iso or $async |
329
|
18 |
205 |
unless ($self->{'max'} and $self->is_local) |
331
|
0 |
18 |
unless $iso |
342
|
56 |
205 |
if $st and not $st->finished |
347
|
205 |
0 |
if $slot |
352
|
0 |
223 |
unless my $st = $state->{'subtest'} |
354
|
149 |
74 |
if (not $self->no_fork) { } |
|
0 |
74 |
elsif (not $self->no_threads) { } |
356
|
36 |
113 |
if (&blessed($out)) { } |
385
|
101 |
12 |
if ($slot) { } |
404
|
0 |
18649 |
if $st->finished |
405
|
437 |
18212 |
if (not $st->active and $st->ready) |
423
|
179 |
25 |
if @{$self->{'subtests'};} |