Branch Coverage

blib/lib/Test/Stream/Event/Ok.pm
Criterion Covered Total %
branch 40 40 100.0


line true false branch
19 1 3219 unless $self->{'debug'}
22 3011 208 $self->{'pass'} ? :
26 1 3218 if $self->{'allow_bad_name'}
28 3139 2 unless index($name, '#') != -1 or index($name, "\n") != -1
42 31 2903 unless $self->{'pass'}
44 2931 3 if defined $num
45 2913 21 if $name
47 4 2930 if (defined $skip and defined $todo) { }
10 2920 elsif (defined $todo) { }
7 2913 elsif (defined $skip) { }
49 2 2 if length $todo
53 8 2 if length $todo
57 5 2 if length $skip
62 19 2915 if ($self->{'diag'} and @{$self->{'diag'};})
63 9 10 $debug->no_diag ? :
68 19 9 unless $msg =~ /^\n/
80 1 198 if $self->{'pass'}
87 11 187 $todo ? :
88 194 4 $ENV{'HARNESS_ACTIVE'} && !$ENV{'HARNESS_IS_VERBOSE'} ? :
92 157 41 if (defined $name) { }