Branch Coverage

blib/lib/TAP/Formatter/GitHubActions.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
38 18 31 unless $chunk
41 31 0 if ($chunk eq "Failed test" and scalar @chunks)
45 21 10 if $chunk =~ qr/$MONOPHASIC_REGEX/u
51 0 31 unless $error
80 5 154 if $result =~ /Subtest/u
82 87 67 unless $result =~ /^\s*#/u
84 9 58 if $result =~ /Looks like you/u
89 0 58 unless $result =~ /^( |died|found|expecting)/u
91 0 58 if $result =~ /^ +$/u
105 8 19 if grep {$yaml->{'emitter'} eq $_;} "Test::More::note", "Test::More::diag"
107 0 19 unless $yaml->{'message'}
128 0 0 unless ($GHA_SKIP_SUMMARY or not @workflow_vars)
150 1 4 if $total == $passed and not $aggregate->has_problems
166 0 4 if $parser->passed == $parser->tests_run and not $parser->exit
174 0 4 if $parser->passed == $parser->tests_run and not $parser->exit
197 4 0 unless $RUNNING_IN_GHA and not $GHA_SKIP_SUMMARY
200 0 0 if $RUNNING_IN_GHA