Branch Coverage

blib/lib/HTML/ListScraper/Interactive.pm
Criterion Covered Total %
branch 18 32 56.2


line true false branch
43 0 3 if (ref $incl)
62 8 6 if ($name eq $tag) { }
69 0 0 if ($scraper->is_unclosed_tag($stack[scalar(@stack) - 1][0])) { }
79 6 0 if (scalar @stack)
99 11 3 if (defined $prev)
102 2 9 if ($op and not $cl) { }
2 11 elsif (not $op and $cl) { }
105 2 0 if ($depth > 0)
114 0 14 if ($incl_attr and $ft->link)
119 0 14 if ($incl_index)
123 0 14 if (defined $prev_index and $ft->index - $prev_index != 1)
129 0 14 if ($incl_text and not $ft->text =~ /^[\s\r\n]*$/)
130 0 0 $incl_index ? :
138 3 0 wantarray ? :
148 6 0 if ($ln)
153 1 0 wantarray ? :