Condition Coverage

blib/lib/Test2/API/InterceptResult/Event.pm
Criterion Covered Total %
condition 32 51 62.7


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 0 $key and defined $list
79 6 0 26 $ok and $FACETS{$facet}
251 1 0 12 $self->has_errors && grep({$_->{'fail'};} $self->errors)
253 7 5 1 $tagged eq 'amnesty' and not $has_assert || $has_parent || $has_fatal_error
303 0 0 6 defined $data->{'details'} and not defined $out->{$other}
373 3 0 4 &blessed($children) and $children->isa($self->{'result_class'})

or 2 conditions

line l !l condition
88 68 50 $self->{'result_class'} ||= 'Test2::API::InterceptResult'
92 107 11 $self->{'facet_data'} ||= {}
280 1 0 $control->{'details'} || 1
332 19 2 $self->brief || ''
370 7 0 $parent->{'children'} || []
399 1 0 $bo->{'details'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
253 2 3 1 $has_assert || $has_parent || $has_fatal_error
296 2 0 0 not $out->{$other} or &reftype($out->{$other}) eq 'ARRAY'
422 1 1 6 $plan->{'skip'} or not $plan->{'count'}
442 2 0 0 $_->{'details'} or $_->{'tag'}
447 6 0 0 $_->{'details'} or $_->{'tag'}
462 1 3 6 @extra or @$errors > 1
483 2 0 0 $_->{'details'} or $_->{'tag'}