Branch Coverage

blib/lib/Combine/HTMLExtractor.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
101 0 0 if defined $cb
102 0 0 if defined $base
110 0 0 unless defined $on
111 0 0 $on ? :
120 0 0 unless ($tp)
153 0 0 if ($$T[0] eq 'S') { }
0 0 elsif ($$T[0] eq 'T') { }
0 0 elsif ($$T[0] eq 'D') { }
0 0 elsif ($$T[0] eq 'E') { }
154 0 0 if ($Tag =~ /^h\d$/)
155 0 0 if (exists $Combine::HTMLExtractor::SECTIONTAGS{$Tag})
156 0 0 unless exists $Combine::HTMLExtractor::TAGS{$Tag}
163 0 0 if (defined $Combine::HTMLExtractor::TAGS{$Tag}) { }
0 0 elsif ($Tag eq 'meta') { }
167 0 0 if (exists $$T[2]{$Btag})
171 0 0 if ($got_TAGS_IN_NEED)
177 0 0 if ($Tag eq 'img')
179 0 0 if (exists $$T[2]{'alt'})
186 0 0 if (defined $$NL{'content'} and length $$NL{'content'} and defined $$NL{'http-equiv'} && $$NL{'http-equiv'} =~ /refresh/i || defined $$NL{'name'} && $$NL{'name'} =~ /refresh/i)
194 0 0 if $base
195 0 0 unless exists $$NL{'url'}
196 0 0 if $timeout
201 0 0 if (@TEXT)
208 0 0 if @TEXT
210 0 0 if ($inHeading)
215 0 0 if ($text =~ / SYSTEM \s \" ( [^\"]* ) \" > $ /xi)
220 0 0 if ($Tag =~ /^h\d$/)
221 0 0 if (exists $Combine::HTMLExtractor::SECTIONTAGS{$Tag})
224 0 0 if (@TEXT and exists $Combine::HTMLExtractor::TAGS{$Tag})
227 0 0 if @TEXT
228 0 0 if $self->strip
230 0 0 if exists $$self{'_cb'}
234 0 0 if (defined $NL)
240 0 0 if (exists $$NL{$at})
241 0 0 if $base
245 0 0 if (exists $$self{'_cb'}) { }
246 0 0 unless $got_TAGS_IN_NEED and @TEXT
278 0 0 if ($$t[0] eq 'S') { }
295 0 0 if ($aref[0] eq 'S') { }
0 0 elsif ($aref[0] eq 'E') { }
0 0 elsif ($aref[0] eq 'PI') { }