Condition Coverage

blib/lib/Test2/API/Instance.pm
Criterion Covered Total %
condition 36 58 62.0


and 3 conditions

line !l l&&!r l&&r condition
145 1 0 52 $driver->can('is_viable') and $driver->is_viable
176 0 0 3 $code and $rtype eq 'CODE'
188 0 0 57 $code and $rtype eq 'CODE'
200 0 0 4 $code and $rtype eq 'CODE'
212 0 5 13 $code and $rtype eq 'CODE'
239 0 5 13 $code and $rtype eq 'CODE'
392 1 0 0 $ctx->_aborted and ${$ctx->_aborted;}
419 9 66 0 @hubs and $self->{'ipc'}
50 0 16 @hubs and $self->{'ipc'} and not $self->{'no_wait'}

or 2 conditions

line l !l condition
93 0 94 $caller ||= [caller 1]
174 3 0 &reftype($code) || ''
186 57 0 &reftype($code) || ''
198 4 0 &reftype($code) || ''
210 18 0 &reftype($code) || ''
237 18 0 &reftype($code) || ''
395 1 0 $ctx->trace || (next)
399 1 0 $ctx->hub || (next)

or 3 conditions

line l !l&&r !l&&!r condition
118 0 29 60 ref $formatter or $formatter->can('write')
133 50 3 36 $INC{'Test2/IPC.pm'} or @{$self->{'ipc_drivers'};}
412 10 3 75 $self->{'pid'} != $$ or $self->{'tid'} != 0
429 2 2 12 $new_exit ||= $ipc_exit
452 10 3 50 $new_exit ||= $root->failed