Branch Coverage

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


line true false branch
18 1 3252 unless $self->{'debug'}
21 3035 217 $self->{'pass'} ? :
25 1 3251 if $self->{'allow_bad_name'}
27 3172 2 unless index($name, '#') != -1 or index($name, "\n") != -1
41 31 2923 unless $self->{'pass'}
43 2951 3 if defined $num
44 2933 21 if $name
46 4 2950 if (defined $skip and defined $todo) { }
10 2940 elsif (defined $todo) { }
7 2933 elsif (defined $skip) { }
48 2 2 if length $todo
52 8 2 if length $todo
56 5 2 if length $skip
61 19 2935 if ($self->{'diag'} and @{$self->{'diag'};})
62 9 10 $debug->no_diag ? :
67 19 9 unless $msg =~ /^\n/
79 1 206 if $self->{'pass'}
86 11 195 $todo ? :
87 202 4 $ENV{'HARNESS_ACTIVE'} && !$ENV{'HARNESS_IS_VERBOSE'} ? :
91 165 41 if (defined $name) { }