Condition Coverage

inc/Test2/API/Instance.pm
Criterion Covered Total %
condition 15 86 17.4


and 3 conditions

line !l l&&!r l&&r condition
153 0 0 0 $driver->can('is_viable') and $driver->is_viable
184 0 0 1 $code and $rtype eq 'CODE'
196 0 0 0 $code and $rtype eq 'CODE'
208 0 0 0 $code and $rtype eq 'CODE'
220 0 0 0 $code and $rtype eq 'CODE'
250 0 0 1 $code and $rtype eq 'CODE'
405 0 0 0 defined $self->{'_pid'} and $self->{'_pid'} == $$
406 0 0 0 defined $self->{'_tid'} and $self->{'_tid'} == 0
418 0 1 0 $INC{'Test/Builder.pm'} and $Test::Builder::VERSION ne $Test2::API::VERSION
437 0 0 0 $ctx->_aborted and ${$ctx->_aborted;}
441 0 0 0 $trace->pid and $trace->pid == $$
457 0 0 1 defined $self->{'_pid'} && defined $self->{'_tid'}
464 0 1 0 @hubs and $self->{'ipc'}
1 0 0 @hubs and $self->{'ipc'} and not $self->{'no_wait'}
504 1 0 0 $new_exit and eval { do { require Test2::API::Breakage; 1 } }

or 2 conditions

line l !l condition
39 0 0 $_[0]{'_tid'} ||= 0
98 0 1 $caller ||= [caller 1]
182 1 0 &reftype($code) || ''
194 0 0 &reftype($code) || ''
206 0 0 &reftype($code) || ''
218 0 0 &reftype($code) || ''
248 1 0 &reftype($code) || ''
440 0 0 $ctx->trace || (next)
444 0 0 $ctx->hub || (next)
498 0 0 $new_exit ||= 255

or 3 conditions

line l !l&&r !l&&!r condition
38 0 0 0 $_[0]{'_pid'} ||= $$
126 0 1 0 ref $formatter or $formatter->can('write')
141 0 0 1 $INC{'Test2/IPC.pm'} or @{$self->{'ipc_drivers'};}
457 0 0 1 not defined $self->{'_pid'} && defined $self->{'_tid'} or $self->{'_pid'} != $$
0 0 1 not defined $self->{'_pid'} && defined $self->{'_tid'} or $self->{'_pid'} != $$ or $self->{'_tid'} != 0
474 0 0 0 $new_exit ||= $ipc_exit
497 0 0 1 $new_exit ||= $root->failed