Branch Coverage

blib/lib/Test2/Event/Plan.pm
Criterion Covered Total %
branch 31 32 96.8


line true false branch
19 30 523 if ($_[0]{'directive'}) { }
20 5 25 if $_[0]{'directive'} eq 'skip_all'
21 2 28 if $_[0]{'directive'} eq 'no_plan'
24 1 29 unless $ALLOWED{$_[0]{'directive'}}
28 1 522 if defined $_[0]{'reason'}
31 1 521 unless defined $_[0]{'max'}
34 1 520 unless $_[0]{'max'} =~ /^\d+$/
52 1 192 if $self->{'directive'} and $self->{'directive'} eq 'SKIP'
62 1 2 if $max or not $directive
65 1 1 if $reason
77 48 1222 $self->{'directive'} eq 'SKIP' ? :
1270 0 unless defined $out->{'control'}{'terminate'}
80 43 1227 if defined $self->{'reason'}
82 51 1219 if (my $dir = $self->{'directive'})
83 48 3 if $dir eq 'SKIP'
84 3 48 if $dir eq 'NO PLAN'