| line |
true |
false |
branch |
|
49
|
62 |
15 |
unless defined $self->{'rand'} |
|
52
|
0 |
77 |
@max ? : |
|
54
|
77 |
0 |
if $max |
|
56
|
68 |
9 |
unless (defined $self->{'filter'}) |
|
57
|
0 |
68 |
if (my $raw = $ENV{'T2_WORKFLOW'}) |
|
59
|
0 |
0 |
if ($raw =~ /^(.*)\s+(\d+)$/) { } |
|
|
0 |
0 |
elsif ($raw =~ /^(\d+)$/) { } |
|
77
|
33 |
44 |
if (my $task = delete $self->{'task'}) |
|
84
|
36 |
434 |
unless $self->{'pid'} == $$ |
|
85
|
0 |
434 |
unless $self->{'tid'} == 0 |
|
94
|
0 |
269 |
if ($type =~ /\+(.*)$/) { } |
|
122
|
0 |
1145 |
unless my $stack = $self->{'stack'} |
|
125
|
1180 |
1076 |
unless $state->{'subtest'} |
|
144
|
1919 |
5230 |
unless ($state->{'started'}++) |
|
148
|
649 |
1270 |
if (my $f = $self->{'filter'}) |
|
151
|
233 |
416 |
unless $in_var |
|
152
|
25 |
624 |
if $filter->{'satisfied'} |
|
155
|
649 |
1270 |
if $filter |
|
157
|
147 |
1772 |
if ($skip) |
|
170
|
1145 |
627 |
if ($task->flat) { } |
|
172
|
1076 |
69 |
$st ? : |
|
174
|
0 |
1145 |
if $task->todo |
|
186
|
46 |
581 |
if $task->todo |
|
203
|
196 |
431 |
if (defined $slot) |
|
204
|
110 |
86 |
unless $st->finished |
|
211
|
1718 |
5284 |
if ($state->{'ended'}) |
|
212
|
46 |
1672 |
if $state->{'todo'} |
|
213
|
407 |
1311 |
if $state->{'subtest'} |
|
215
|
0 |
1718 |
if $state->{'in_thread'} |
|
216
|
30 |
1688 |
if (my $guard = delete $state->{'in_fork'}) |
|
226
|
431 |
4853 |
if ($state->{'subtest'} and not $state->{'subtest_started'}++) |
|
231
|
1127 |
4157 |
if ($task->isa("Test2::Workflow::Task::Action")) |
|
235
|
0 |
1127 |
unless ($state->{'PID'} == $$) |
|
240
|
0 |
1127 |
unless $ok |
|
246
|
1204 |
2953 |
if (not $state->{'stage'} or $state->{'stage'} eq 'BEFORE') { } |
|
|
449 |
2504 |
elsif ($state->{'stage'} eq 'VARIANT') { } |
|
|
1389 |
1115 |
elsif ($state->{'stage'} eq 'PRIMARY') { } |
|
|
1115 |
0 |
elsif ($state->{'stage'} eq 'AFTER') { } |
|
247
|
755 |
449 |
defined $state->{'before'} ? : |
|
249
|
755 |
449 |
if (my $add = $task->before->[$state->{'before'}++]) { } |
|
250
|
367 |
388 |
if ($add->around) { } |
|
256
|
0 |
359 |
unless ($state->{'PID'} == $$) |
|
261
|
0 |
359 |
unless ($ok and $complete) |
|
264
|
0 |
0 |
$ok ? : |
|
276
|
105 |
344 |
if (my $v = $task->variant) |
|
282
|
449 |
940 |
unless (defined $state->{'order'}) |
|
283
|
0 |
449 |
defined $task->rand ? : |
|
285
|
261 |
188 |
if $rand |
|
289
|
994 |
395 |
if (defined $num) { } |
|
297
|
720 |
395 |
defined $state->{'after'} ? : |
|
298
|
720 |
395 |
if (my $add = $task->after->[$state->{'after'}++]) { } |
|
299
|
359 |
361 |
if $add->around |
|
315
|
0 |
1919 |
unless $task |
|
316
|
0 |
1919 |
unless &blessed($task) and $task->isa("Test2::Workflow::Task") |
|
318
|
33 |
1886 |
if ($task->isa("Test2::Workflow::Build")) |
|
320
|
0 |
33 |
if @{$self->{'stack'};} |
|
335
|
0 |
21 |
unless $stack and @$stack |
|
346
|
0 |
627 |
if $state->{'task'}->skip |
|
352
|
395 |
232 |
unless $iso or $async |
|
355
|
18 |
214 |
unless ($self->{'max'} and $self->is_local) |
|
357
|
0 |
18 |
unless $iso |
|
368
|
88 |
214 |
if $st and not $st->finished |
|
373
|
214 |
6 |
if $slot |
|
378
|
0 |
232 |
unless my $st = $state->{'subtest'} |
|
380
|
158 |
74 |
if (not $self->no_fork) { } |
|
|
0 |
74 |
elsif (not $self->no_threads) { } |
|
382
|
36 |
122 |
if (&blessed($out)) { } |
|
411
|
110 |
12 |
if ($slot) { } |
|
430
|
0 |
20566 |
if $st->finished |
|
431
|
466 |
20100 |
if (not $st->active and $st->ready) |
|
449
|
1008 |
24 |
if @{$self->{'subtests'};} |