Branch Coverage

blib/lib/Test/Stream/State.pm
Criterion Covered Total %
branch 27 36 75.0


line true false branch
14 531 0 unless defined $self->{'count'}
15 531 0 unless defined $self->{'failed'}
16 531 0 unless defined $self->{'_passing'}
22 4 810 if @_
26 1 736 if $self->{'failed'}
32 12 8 if not $count and $plan and $plan =~ /^SKIP$/
34 3 721 if $ended and not $count && $plan
37 25 696 unless $plan and $plan =~ /^\d+$/
39 696 0 if ($ended) { }
40 0 696 if $count != $plan
43 0 0 if $count > $plan
54 0 3187 if $self->{'ended'}
57 3002 185 if $pass
72 1101 355 unless @_
76 0 355 unless defined $plan
80 1 354 if $self->{'_plan'} and not $self->{'_plan'} =~ /^NO PLAN$/
82 1 353 unless $plan =~ /^(\d+|NO PLAN|SKIP)$/
92 3 334 if ($self->{'ended'})