Condition Coverage

blib/lib/HTML/Scrape.pm
Criterion Covered Total %
condition 17 21 80.9


and 3 conditions

line !l l&&!r l&&r condition
139 404 152 0 defined $id and exists $parser->{'ids'}{$id}
152 422 0 134 $HTML::Tagset::optionalEndTag{$tagname} and @{$stack;}
422 98 36 $HTML::Tagset::optionalEndTag{$tagname} and @{$stack;} and $stack->[-1][0] eq $tagname
186 418 4 14 $tagname ne $previous_tagname && (($tagname eq 'ul' || $tagname eq 'ol') && $previous_tagname eq 'li' || $tagname eq 'dl' && ($previous_tagname eq 'dt' || $previous_tagname eq 'dd') || !$HTML::Tagset::isPhraseMarkup{$tagname} && $previous_tagname eq 'p')

or 3 conditions

line l !l&&r !l&&!r condition
113 28 20 20 $tagname eq "br" or $tagname eq "hr"
134 0 365 191 $tagname eq "br" or not $HTML::Tagset::isPhraseMarkup{$tagname}
206 0 241 191 $tagname eq "br" or not $HTML::Tagset::isPhraseMarkup{$tagname}