Branch Coverage

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


line true false branch
20 20 335 if ($_[0]{'directive'}) { }
21 5 15 if $_[0]{'directive'} eq 'skip_all'
22 2 18 if $_[0]{'directive'} eq 'no_plan'
25 1 19 unless $ALLOWED{$_[0]{'directive'}}
29 1 334 if defined $_[0]{'reason'}
32 1 333 unless defined $_[0]{'max'}
35 1 332 unless $_[0]{'max'} =~ /^\d+$/
48 2 296 if $directive and $directive eq 'NO PLAN'
51 5 291 if ($directive)
53 4 1 if defined $reason
70 17 332 if $self->{'directive'} and $self->{'directive'} eq 'SKIP'
76 317 17 unless $self->{'directive'}
77 1 16 unless $self->{'directive'} eq 'SKIP'