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 1426 3311 422 $state->{'subtest'} and not $state->{'subtest_started'}++
254 0 0 354 $state->{'stage'} && $state->{'stage'} eq 'AFTER'
261 0 0 354 $ok and $complete
316 0 0 1883 &blessed($task) and $task->isa("Test2::Workflow::Task")
335 0 0 13 $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 17497 2335 457 not $st->active and $st->ready

or 2 conditions

line l !l condition
424 8311 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 151 0 0 $skip || $filter
246 1173 0 2886 not $state->{'stage'} or $state->{'stage'} eq "BEFORE"
352 232 0 386 $iso or $async