Branch Coverage

blib/lib/HTML/Parser/Simple.pm
Criterion Covered Total %
branch 63 84 75.0


line true false branch
231 2 7 if ($self->xhtml) { }
316 13 38 if $tag_name eq 'head' or $tag_name eq 'body'
318 51 0 if (not ${$self->empty;}{$tag_name})
334 6 67 if ($tag_name eq 'head') { }
8 59 elsif ($tag_name eq 'body') { }
345 54 19 if not ${$self->empty;}{$tag_name}
365 0 3 if $self->verbose
392 235 0 if (not $stack[$#stack] && $special{$stack[$#stack]}) { }
399 51 184 if ($s eq '
401 51 0 if ($html =~ m[^(]*>)])
412 184 51 if ($in_content)
414 81 103 if (substr($html, 0, 1) eq '<')
418 73 8 if (lc($html) =~ /$tagged_attribute/)
433 73 0 if ($html =~ /$tagged_attribute/)
447 111 124 if ($in_content)
451 2 109 if ($s eq '