Condition Coverage

blib/lib/Tapper/TAP/Harness.pm
Criterion Covered Total %
condition 34 49 69.3


and 3 conditions

line !l l&&!r l&&r condition
88 402 0 42 defined $self->section_names->{$section_name} and not $section_name =~ /\d$/
196 10829 559 88 $is_unknown and $raw =~ /$re_prove_section/
206 11410 8 58 $raw =~ /$re_explicit_section_start/ and not $last_line_was_version
5932 5486 0 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/
240 4036 6487 953 $line->is_comment and $raw =~ /$re_tapper_meta/
254 10829 559 88 $is_unknown and $raw =~ /$re_prove_section/
361 87 0 55 $line->is_comment and $raw =~ /^#\s*((?:Tapper|Artemis|Test)-)([-\w]+):(.+)$/i

or 2 conditions

line l !l condition
197 77 11 $looks_like_prove_output ||= 1
414 470 0 $section->{'raw'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
206 0 0 5171 $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/
58 0 11418 $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/
247 4 322 0 $section{'section_name'} ||= $self->_unique_section_name($val)
257 0 88 0 $section{'section_name'} //= $section_name
287 8 0 0 $tar->get_content($f1) // $tar->get_content($f2)
8 0 0 ($tar->get_content($f1) // $tar->get_content($f2)) // $tar->get_content($f3)
376 2 8 10 $section{'section_name'} //= $self->_unique_section_name($filename)
393 420 50 0 $self->parsed_report->{'tap_sections'}[$i]{'section_name'} //= sprintf('section-%03d', $i)