Branch Coverage

blib/lib/HTML/CruftText.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
48 0 0 if ($data =~ /$_process_html_comment_regex_clickprint_comments/u)
98 0 0 if ($add_start_tag)
104 0 0 if ($$lines[$i] =~ /<([^ >]*)[^>]*$/u)
125 0 0 if ($body_open_tag_line_number != -1)
139 0 0 if ($body_close_tag_line_number != -1)
166 0 0 if ($$lines[$i] =~ /$$_MARKER_PATTERNS{'startclickprintinclude'}/u) { }
176 0 0 if (not $found_clickprint) { }
193 0 0 unless defined $clickprint_start_line
213 0 0 if ($state eq 'before_clickprint')
215 0 0 if ($$current_substring =~ /$$_MARKER_PATTERNS{'startclickprintinclude'}/u) { }
234 0 0 if ($state eq 'in_click_print')
238 0 0 if ($$current_substring =~ /$$_MARKER_PATTERNS{'startclickprintexclude'}/u) { }
0 0 elsif ($$current_substring =~ /$$_MARKER_PATTERNS{'endclickprintinclude'}/u) { }
257 0 0 if ($state eq 'in_click_print_exclude')
259 0 0 if ($$current_substring =~ /$$_MARKER_PATTERNS{'endclickprintexclude'}/u) { }
279 0 0 if ($i < @{$lines;})
292 0 0 if ($$current_substring =~ /^\s*-->/pu)
320 0 0 if ($state eq 'text') { }
0 0 elsif ($state eq 'scrub_text') { }
322 0 0 if (grep {lc $tag_name eq $_;} @{$_SCRUB_TAGS;})
333 0 0 if (lc $tag_name eq lc "/$start_scrub_tag_name")
345 0 0 if ($state eq 'scrub_text')
456 0 0 unless (ref $lines)