Condition Coverage

blib/lib/Test2/API/Context.pm
Criterion Covered Total %
condition 28 43 65.1


and 2 conditions

line l !l condition
123 0 27 ($!, $@, $?) = @$self{'errno', 'eval_error', 'child_error'} and return
126 0 4987 ($!, $@, $?) = @$self{'errno', 'eval_error', 'child_error'} and return $self->{'_is_spawn'} = undef

and 3 conditions

line !l l&&!r l&&r condition
61 0 16 82 $_[0]{'_aborted'} and ${$_[0]{'_aborted'};}
73 8 3 5 $self->{'eval_error'} eq $@ and $hub->is_local
135 0 0 8282 $CONTEXTS->{$hid} and $CONTEXTS->{$hid} == $self
391 3 2 1 $on_fail and @$on_fail

or 3 conditions

line l !l&&r !l&&!r condition
60 61 37 13973 $_[0]{'_is_canon'} or $_[0]{'_is_spawn'}
76 2 3 0 $self->{'_is_spawn'} || $self->{'trace'}->frame
200 16 7 0 $self->{'_is_canon'} or $self->{'_is_spawn'}
230 0 0 3 $f->{'control'}{'halt'} or defined $f->{'control'}{'terminate'}
0 0 3 $f->{'control'}{'halt'} or defined $f->{'control'}{'terminate'} or defined $e->terminate
257 1237 2 0 $LOADED{$event} || $self->_parse_event($event)
270 8 21 1109 $f->{'control'}{'halt'} or defined $f->{'control'}{'terminate'}
29 0 1109 $f->{'control'}{'halt'} or defined $f->{'control'}{'terminate'} or defined $e->terminate
280 121 0 0 $LOADED{$event} || $self->_parse_event($event)