Condition Coverage

blib/lib/HTML/Scrape.pm
Criterion Covered Total %
condition 10 12 83.3


and 3 conditions

line !l l&&!r l&&r condition
102 385 120 0 defined $id and exists $parser->{'ids'}{$id}
115 380 0 125 $HTML::Tagset::optionalEndTag{$tagname} and @{$stack;}
380 89 36 $HTML::Tagset::optionalEndTag{$tagname} and @{$stack;} and $stack->[-1][0] eq $tagname
150 371 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')