Branch Coverage

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


line true false branch
14 535 0 unless defined $self->{'count'}
15 535 0 unless defined $self->{'failed'}
16 535 0 unless defined $self->{'_passing'}
22 4 813 if @_
26 1 739 if $self->{'failed'}
32 12 8 if not $count and $plan and $plan =~ /^SKIP$/
34 3 724 if $ended and not $count && $plan
37 25 699 unless $plan and $plan =~ /^\d+$/
39 699 0 if ($ended) { }
40 0 699 if $count != $plan
43 0 0 if $count > $plan
54 0 3220 if $self->{'ended'}
57 3026 194 if $pass
72 1104 356 unless @_
76 0 356 unless defined $plan
80 1 355 if $self->{'_plan'} and not $self->{'_plan'} =~ /^NO PLAN$/
82 1 354 unless $plan =~ /^(\d+|NO PLAN|SKIP)$/
92 3 335 if ($self->{'ended'})