Branch Coverage

blib/lib/Test/TAP.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
99 0 4 unless defined $tap
102 0 4 if (my $error = _tap_failed($tap)) { }
115 0 5 unless defined $tap
118 5 0 if (my $error = _tap_failed($tap)) { }
135 2 30 if (/^not ok/)
136 1 1 unless /^ ( [^\\\#]* (?: \\. [^\\\#]* )* ) \# \s* TODO \b \s* (.*) $/xi
140 26 6 if /^(?:$plan_re|$test_re)/
143 7 2 if ($core_tap =~ /^$plan_re/ or $core_tap =~ /$plan_re$/)
146 2 7 unless defined $plan
147 1 6 if $failed
151 1 5 if $plans_found > 1
155 1 4 if $tests != $plan