Condition Coverage

inc/Test2/Hub.pm
Criterion Covered Total %
condition 24 116 20.6


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 $from->{'ipc'} and not $self->{'ipc'}
0 0 0 $from->{'ipc'} and not $self->{'ipc'} and not exists $params{'ipc'}
110 0 0 0 $$ == $self->{'pid'} && 0 == $self->{'tid'}
120 0 0 0 ref $sub and ref $sub eq 'CODE'
146 0 0 0 ref $sub and ref $sub eq 'CODE'
166 0 0 1 ref $sub and ref $sub eq 'CODE'
187 0 0 0 ref $sub and ref $sub eq 'CODE'
198 0 0 0 ref $sub and ref $sub eq 'CODE'
217 0 0 0 ref $sub and ref $sub eq 'CODE'
235 0 0 0 ref $sub and ref $sub eq 'CODE'
291 124 0 0 $causes_fail and $counted
358 0 1 0 $plan and $plan eq 'NO PLAN'
1 0 0 $do_plan and not $plan
402 3 0 0 not $count and $plan
3 0 0 not $count and $plan and $plan =~ /^SKIP$/
404 0 0 3 $count && $plan
0 3 0 $ended and not $count && $plan
407 0 0 3 $plan and $plan =~ /^\d+$/
430 1 0 0 $self->{'_plan'} and not $self->{'_plan'} =~ /^NO PLAN$/

or 2 conditions

line l !l condition
260 0 124 $self->{'ipc'} || (return $self->process($e))
324 0 1 $self->{'ipc'} || (return)
442 0 0 $self->{'_plan'} || (return undef)
452 0 0 $self->{'ipc'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 0 $self->{'_formatter'} or exists $params{'formatter'}
118 0 0 0 $$ != $self->{'pid'} or 0 != $self->{'tid'}
132 0 0 0 $$ != $self->{'pid'} or 0 != $self->{'tid'}
144 0 0 0 $$ != $self->{'pid'} or 0 != $self->{'tid'}
157 0 0 0 $$ != $self->{'pid'} or 0 != $self->{'tid'}
185 0 0 0 $$ != $self->{'pid'} or 0 != $self->{'tid'}
268 0 0 0 $$ != $self->{'pid'} or 0 != $self->{'tid'}
286 0 0 124 $type eq 'Test2::Event::Diag' || $type eq 'Test2::Event::Note'
288 123 0 1 $is_ok || !$no_fail && $e->increments_count
294 123 0 1 $is_ok or $no_fail
304 123 0 1 $is_ok or $no_fail
325 0 0 0 $self->{'pid'} != $$ or $self->{'tid'} != 0
343 0 0 1 $active or $do_plan
0 1 0 $active or $do_plan or defined $plan
1 0 0 $active or $do_plan or defined $plan or $count
1 0 0 $active or $do_plan or defined $plan or $count or $failed
358 0 0 1 $plan and $plan eq 'NO PLAN' or $do_plan and not $plan