Condition Coverage

blib/lib/Test2/Workflow/Runner.pm
Criterion Covered Total %
condition 32 56 57.1


and 3 conditions

line !l l&&!r l&&r condition
46 77 0 0 ($ENV{'T2_WORKFLOW_USE_THREADS'} || $ENV{'T2_DO_THREAD_TESTS'}) && !$ENV{'T2_WORKFLOW_NO_THREADS'}
47 49 0 0 $can_thread && $should_thread
226 1457 3396 431 $state->{'subtest'} and not $state->{'subtest_started'}++
254 0 0 359 $state->{'stage'} && $state->{'stage'} eq 'AFTER'
261 0 0 359 $ok and $complete
316 0 0 1919 &blessed($task) and $task->isa("Test2::Workflow::Task")
335 0 0 21 $stack and @$stack
355 0 18 214 $self->{'max'} and $self->is_local
364 0 18 220 $self->{'max'} and $self->is_local
368 150 64 88 $st and not $st->finished
431 17854 2246 466 not $st->active and $st->ready

or 2 conditions

line l !l condition
424 8401 0 delete $self->{'subtests'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 60 $ENV{'T2_WORKFLOW_NO_FORK'} || !&CAN_REALLY_FORK()
17 0 60 $self->{'no_fork'} ||= $ENV{'T2_WORKFLOW_NO_FORK'} || !&CAN_REALLY_FORK()
47 28 49 0 $self->{'no_threads'} ||= !($can_thread && $should_thread)
155 0 101 548 $skip ||= $filter->{'skip'}
159 147 0 0 $skip || $filter
246 1204 0 2953 not $state->{'stage'} or $state->{'stage'} eq "BEFORE"
352 232 0 395 $iso or $async