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 1442 3350 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 1898 &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 151 63 90 $st and not $st->finished
431 17601 2572 464 not $st->active and $st->ready

or 2 conditions

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