Branch Coverage

blib/lib/Test2/API/InterceptResult/Squasher.pm
Criterion Covered Total %
branch 30 34 88.2


line true false branch
21 0 3 unless $self->{'events'}
29 4 28 unless $event->has_info
32 1 27 if &first(sub { $event->$_; } , 'causes_fail', 'has_assert', 'has_bailout', 'has_errors', 'has_plan', 'has_subtest')
42 7 21 if $self->squash_up($event)
43 16 5 if $self->squash_down($event)
56 5 16 unless my $sig = $self->can_squash($event)
60 7 9 if $self->{'down_sig'} and $self->{'down_sig'} ne $sig
75 3 14 unless $buffer and @$buffer
77 4 10 $into ? :
79 4 10 if ($fsig and $fsig eq $sig) { }
83 10 0 if $buffer
90 25 3 unless $self->{'up_clear'}
104 5 23 if ($event->has_assert)
105 5 0 if (my $sig = $event->trace_signature) { }
118 12 11 unless my $into = $self->{'up_into'}
125 4 7 unless $sig eq $self->{'up_sig'}
144 0 3 unless $self->{'events'}