Condition Coverage

blib/lib/HTML/Scrape.pm
Criterion Covered Total %
condition 9 12 75.0


and 3 conditions

line !l l&&!r l&&r condition
75 9 10 0 defined $id and exists $parser->{'ids'}{$id}
88 11 0 8 $HTML::Tagset::optionalEndTag{$tagname} and @{$stack;}
11 5 3 $HTML::Tagset::optionalEndTag{$tagname} and @{$stack;} and $stack->[-1][0] eq $tagname
123 12 0 2 $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')