Branch Coverage

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


line true false branch
19 30 524 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 523 if defined $_[0]{'reason'}
31 1 522 unless defined $_[0]{'max'}
34 1 521 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 1225 $self->{'directive'} eq 'SKIP' ? :
1273 0 unless defined $out->{'control'}{'terminate'}
80 43 1230 if defined $self->{'reason'}
82 51 1222 if (my $dir = $self->{'directive'})
83 48 3 if $dir eq 'SKIP'
84 3 48 if $dir eq 'NO PLAN'