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 51 $driver->can('is_viable') and $driver->is_viable
176 0 0 3 $code and $rtype eq 'CODE'
188 0 0 56 $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'
376 1 0 0 $ctx->_aborted and ${$ctx->_aborted;}
403 6 63 0 @hubs and $self->{'ipc'}
48 0 15 @hubs and $self->{'ipc'} and not $self->{'no_wait'}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
118 0 29 57 ref $formatter or $formatter->can('write')
133 49 3 34 $INC{'Test2/IPC.pm'} or @{$self->{'ipc_drivers'};}
396 10 3 69 $self->{'pid'} != $$ or $self->{'tid'} != 0
413 2 2 11 $new_exit ||= $ipc_exit
436 10 3 47 $new_exit ||= $root->failed