Condition Coverage

blib/lib/Test/Stream/Hub.pm
Criterion Covered Total %
condition 60 93 64.5


and 3 conditions

line !l l&&!r l&&r condition
56 7 0 234 $from->{'ipc'} and not $self->{'ipc'}
7 1 233 $from->{'ipc'} and not $self->{'ipc'} and not exists $params{'ipc'}
78 3997 17 13 @$array and not defined $array->[-1]
133 3 3 3 @$array and not defined $array->[-1]
150 0 0 317 $$ == $self->{'pid'} && 0 == $self->{'tid'}
160 1 0 683 ref $sub and ref $sub eq 'CODE'
188 1 0 3 ref $sub and ref $sub eq 'CODE'
211 1 0 9 ref $sub and ref $sub eq 'CODE'
234 2 0 36 ref $sub and ref $sub eq 'CODE'
244 0 0 1 ref $sub and ref $sub eq 'CODE'
262 0 0 1 ref $sub and ref $sub eq 'CODE'
367 321 12 1 $plan and $plan eq 'NO PLAN'
11 6 316 $do_plan and not $plan

or 2 conditions

line l !l condition
280 3528 108 $self->{'ipc'} || (return $self->process($e))
336 794 22 $self->{'ipc'} || (return)
383 381 34 $self->{'ipc'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
38 0 524 0 $self->{'state'} ||= 'Test::Stream::State'->new
54 0 0 241 $self->{'_formatter'} or exists $params{'formatter'}
93 3 1 1 $default or $exists
158 0 0 684 $$ != $self->{'pid'} or 0 != $self->{'tid'}
172 0 0 314 $$ != $self->{'pid'} or 0 != $self->{'tid'}
186 0 0 4 $$ != $self->{'pid'} or 0 != $self->{'tid'}
199 0 0 1 $$ != $self->{'pid'} or 0 != $self->{'tid'}
209 0 0 10 $$ != $self->{'pid'} or 0 != $self->{'tid'}
222 0 0 1 $$ != $self->{'pid'} or 0 != $self->{'tid'}
232 0 0 38 $$ != $self->{'pid'} or 0 != $self->{'tid'}
288 6 0 3497 $$ != $self->{'pid'} or 0 != $self->{'tid'}
337 0 0 794 $self->{'pid'} != $$ or $self->{'tid'} != 0
355 323 7 19 $do_plan or defined $plan
330 4 15 $do_plan or defined $plan or $count
11 3 12 $do_plan or defined $plan or $count or $failed
367 1 0 333 $plan and $plan eq 'NO PLAN' or $do_plan and not $plan