Branch Coverage

blib/lib/HTML/ListScraper/Sweep.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
17 7789 117508 $a eq $b ? :
32 0 57 if (scalar @sign < 2)
48 53 4 if (scalar @{$self->{'haystack'};} > 2)
61 53 0 if ($found_count >= 2)
63 29 24 if (scalar @round >= 2 and scalar @round > scalar(@{$self->{'needle'};}) / 2)
65 4 25 if (scalar @round < $found_count)
71 25 4 if ($begin < $end)
84 16 13 if ($begin < $end)
102 683 5680 if (exists $arg->{'align'})
105 677 6 if ($self->{'haystack'}[$i] eq $self->{'needle'}[$j])
112 5686 446 if (exists $arg->{$_})
123 0 53 if ($self->{'book'}->shapeless)
135 338 339 if ($name eq $stem) { }
142 27 20 if ($self->{'book'}->is_unclosed_tag($top_tag->name)) { }
150 285 34 if (not $skip and scalar @stack)
160 8 18 if ($self->{'book'}->is_unclosed_tag($top_tag->name))