Branch Coverage

blib/lib/Test/Stream/Event/Plan.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
19 20 336 if ($_[0]{'directive'}) { }
20 5 15 if $_[0]{'directive'} eq 'skip_all'
21 2 18 if $_[0]{'directive'} eq 'no_plan'
24 1 19 unless $ALLOWED{$_[0]{'directive'}}
28 1 335 if defined $_[0]{'reason'}
31 1 334 unless defined $_[0]{'max'}
34 1 333 unless $_[0]{'max'} =~ /^\d+$/
47 2 297 if $directive and $directive eq 'NO PLAN'
50 5 292 if ($directive)
52 4 1 if defined $reason
69 17 333 if $self->{'directive'} and $self->{'directive'} eq 'SKIP'
75 318 17 unless $self->{'directive'}
76 1 16 unless $self->{'directive'} eq 'SKIP'