Branch Coverage

blib/lib/TAP/Parser/Metrics.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
13 22 0 if ($opt{'callback'})
38 22 158 unless ($next)
39 22 0 if ($self->{'callback'})
43 158 0 if (my $raw = $next->raw)
44 34 124 if ($raw =~ /^(?\s*)# Subtest:\s+(?.*)$/) { }
2 122 elsif ($raw =~ /^(?\s*)not ok\s+\d+\s+-\s*No tests run for subtest "(?
64 58 elsif ($raw =~ /^(?\s*)(?not )?ok\s+\d+\s+-\s*(?
2 56 elsif ($raw =~ /^(?\s*)(?not )?ok\s+\d+$/) { }
46 0 34 if ($#{$$metrics{"path"};} > $indent)
51 0 2 if ($#{$$metrics{"path"};} > $indent)
57 32 32 if ($#{$$metrics{'path'};} >= $indent and $metrics->{'path'}[-1] eq $+{'label'}) { }
58 20 12 $+{'not'} ? :
62 0 32 if ($#{$$metrics{"path"};} >= $indent)
63 16 16 $+{'not'} ? :
68 0 2 if ($#{$$metrics{"path"};} >= $indent)
69 2 0 $+{'not'} ? :