Condition Coverage

inc/Test2/API/Context.pm
Criterion Covered Total %
condition 5 43 11.6


and 2 conditions

line l !l condition
117 0 0 ($!, $@, $?) = @$self{'errno', 'eval_error', 'child_error'} and return
120 0 7 ($!, $@, $?) = @$self{'errno', 'eval_error', 'child_error'} and return $self->{'_is_spawn'} = undef

and 3 conditions

line !l l&&!r l&&r condition
61 0 0 0 $_[0]{'_aborted'} and ${$_[0]{'_aborted'};}
73 0 0 0 $self->{'eval_error'} eq $@ and $hub->is_local
129 0 0 125 $CONTEXTS->{$hid} and $CONTEXTS->{$hid} == $self
217 0 1 0 $self->{'_aborted'} and defined $e->terminate
252 0 0 0 $on_fail and @$on_fail
254 0 0 0 &blessed($of) and $of->can('render')
275 0 0 0 $ENV{'HARNESS_ACTIVE'} && !$ENV{'HARNESS_IS_VERBOSE'}

or 3 conditions

line l !l&&r !l&&!r condition
60 0 0 133 $_[0]{'_is_canon'} or $_[0]{'_is_spawn'}
74 0 0 0 $self->{'_is_spawn'} || $self->{'trace'}->frame
196 0 0 0 $self->{'_is_canon'} or $self->{'_is_spawn'}
210 1 0 0 $LOADED{$event} || $self->_parse_event($event)
226 0 0 0 $LOADED{$event} || $self->_parse_event($event)
254 0 0 0 ref $of eq 'CODE' or &blessed($of) and $of->can('render')