Condition Coverage

inc/Test2/Hub.pm
Criterion Covered Total %
condition 39 116 33.6


and 3 conditions

line !l l&&!r l&&r condition
79 9 0 0 $from->{'ipc'} and not $self->{'ipc'}
9 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 9 ref $sub and ref $sub eq 'CODE'
146 0 0 0 ref $sub and ref $sub eq 'CODE'
166 0 0 15 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 77 0 0 $causes_fail and $counted
358 14 0 1 $plan and $plan eq 'NO PLAN'
0 0 14 $do_plan and not $plan
402 63 0 0 not $count and $plan
63 0 0 not $count and $plan and $plan =~ /^SKIP$/
404 0 0 63 $count && $plan
0 63 0 $ended and not $count && $plan
407 0 0 63 $plan and $plan =~ /^\d+$/
430 15 1 0 $self->{'_plan'} and not $self->{'_plan'} =~ /^NO PLAN$/

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 9 $self->{'_formatter'} or exists $params{'formatter'}
118 0 0 9 $$ != $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 9 68 $type eq 'Test2::Event::Diag' || $type eq 'Test2::Event::Note'
288 44 9 24 $is_ok || !$no_fail && $e->increments_count
294 44 9 24 $is_ok or $no_fail
304 44 9 24 $is_ok or $no_fail
325 0 0 0 $self->{'pid'} != $$ or $self->{'tid'} != 0
343 0 14 1 $active or $do_plan
14 1 0 $active or $do_plan or defined $plan
15 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 1 14 0 $plan and $plan eq 'NO PLAN' or $do_plan and not $plan