Branch Coverage

blib/lib/Tapper/TAP/Harness.pm
Criterion Covered Total %
branch 70 80 87.5


line true false branch
77 17 0 if -e $prove1
78 0 0 if -e $prove2
86 10 450 unless defined $section_name
88 42 408 if (defined $self->section_names->{$section_name} and not $section_name =~ /\d$/)
140 0 62 if $self->tap_is_archive
152 3 62 if $self->tap_is_archive
153 13 49 if $self->tap_single_plan
169 37 12 unless $report_tap =~ /^TAP Version/ism
196 88 11388 if ($is_unknown and $raw =~ /$re_prove_section/)
202 66 11410 if $raw =~ /$re_explicit_section_start/
206 135 927 if ($raw =~ /$re_explicit_section_start/ and not $last_line_was_version or not $sections_marked_explicit and $i == 0 || !$looks_like_prove_output && ($is_plan && !$last_line_was_version || $is_version && !$last_line_was_plan) || $looks_like_prove_output && !$last_line_was_version && !$last_line_was_plan && $raw =~ /$re_prove_section/)
223 401 49 if (keys %section)
225 77 324 if $looks_like_prove_output
235 10829 647 unless ($is_unknown)
240 953 10523 if ($line->is_comment and $raw =~ /$re_tapper_meta/)
246 326 627 if ($raw =~ /$re_tapper_meta_section/)
254 88 11388 if ($is_unknown and $raw =~ /$re_prove_section/)
261 448 11028 $is_plan ? :
262 52 11424 $is_version ? :
266 11 38 if $looks_like_prove_output
267 49 0 if keys %section
288 0 13 unless defined $tar
298 0 13 if $section_name
331 1 25 unless $tap
339 10 16 if (keys %section)
357 183 3 unless ($is_unknown)
365 71 115 if ($line->is_comment and $raw =~ /^#\s*((?:Tapper|Artemis|Test)-)([-\w]+):(.+)$/i)
372 3 68 if ($raw =~ /$re_tapper_meta_section/)
384 16 0 if keys %section
419 417 59 unless $rawtap =~ /^TAP Version/ism
440 65 0 $aggregator->total ? :
456 186 269 if defined $value
464 42 88 if defined $value
472 71 189 if defined $value
480 5 60 if defined $value
497 278 19714 if defined $value
515 11 65 if @{$self->parsed_report->{'tap_sections'};}
547 28 48 if ($_->{'section_name'} =~ m[(^\.{1,2})|/])
553 68 8 unless $rawtap =~ /^TAP Version/ism
563 0 13 unless my $prove = _get_prove()