Branch Coverage

blib/lib/HTML/Content/ContentExtractor.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
87 0 0 unless $self->{'Tokenizer'}->isa('HTML::Content::HTMLTokenizer')
89 0 0 unless $self->{'Ratio'}->isa('HTML::WordTagRatio::Ratio')
101 0 0 unless open HTML, $self->{'Document'}
130 0 0 if ($S[$i] eq $WordMarker and $S[$j] eq $WordMarker)
134 0 0 if ($i == 0 || $S[$i] ne $S[$i - 1] and $j == $#N || $S[$j] ne $S[$j + 1])
141 0 0 if ($tmp > $max)
160 0 0 unless open OUTPUT, ">$self->{'Output'}"
164 0 0 if (length $tokens->{$key} == 0)
169 0 0 if ($key >= $i and $key <= $j)