Condition Coverage

blib/lib/Test/Stream/Hub.pm
Criterion Covered Total %
condition 56 84 66.6


and 3 conditions

line !l l&&!r l&&r condition
55 7 0 233 $from->{'ipc'} and not $self->{'ipc'}
7 1 232 $from->{'ipc'} and not $self->{'ipc'} and not exists $params{'ipc'}
73 3966 17 13 @$array and not defined $array->[-1]
128 3 3 3 @$array and not defined $array->[-1]
145 0 0 316 $$ == $self->{'pid'} && 0 == $self->{'tid'}
155 1 0 679 ref $sub and ref $sub eq 'CODE'
181 1 0 9 ref $sub and ref $sub eq 'CODE'
204 2 0 36 ref $sub and ref $sub eq 'CODE'
214 0 0 1 ref $sub and ref $sub eq 'CODE'
232 0 0 1 ref $sub and ref $sub eq 'CODE'
330 320 12 1 $plan and $plan eq 'NO PLAN'
11 6 315 $do_plan and not $plan

or 2 conditions

line l !l condition
250 3500 99 $self->{'ipc'} || (return $self->process($e))
299 791 22 $self->{'ipc'} || (return)
346 379 32 $self->{'ipc'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
37 0 520 0 $self->{'state'} ||= 'Test::Stream::State'->new
53 0 0 240 $self->{'_formatter'} or exists $params{'formatter'}
88 3 1 1 $default or $exists
153 0 0 680 $$ != $self->{'pid'} or 0 != $self->{'tid'}
167 0 0 313 $$ != $self->{'pid'} or 0 != $self->{'tid'}
179 0 0 10 $$ != $self->{'pid'} or 0 != $self->{'tid'}
192 0 0 1 $$ != $self->{'pid'} or 0 != $self->{'tid'}
202 0 0 38 $$ != $self->{'pid'} or 0 != $self->{'tid'}
258 6 0 3469 $$ != $self->{'pid'} or 0 != $self->{'tid'}
300 0 0 791 $self->{'pid'} != $$ or $self->{'tid'} != 0
318 322 7 19 $do_plan or defined $plan
329 4 15 $do_plan or defined $plan or $count
11 3 12 $do_plan or defined $plan or $count or $failed
330 1 0 332 $plan and $plan eq 'NO PLAN' or $do_plan and not $plan