Condition Coverage

blib/lib/HTML/ContentExtractor.pm
Criterion Covered Total %
condition 0 48 0.0


and 3 conditions

line !l l&&!r l&&r condition
331 0 0 0 $num_words < $$self{'min_text_len'} and $node->tag ne 'h1'
0 0 0 $num_words < $$self{'min_text_len'} and $node->tag ne 'h1' and $node->tag ne 'h2'
0 0 0 $num_words < $$self{'min_text_len'} and $node->tag ne 'h1' and $node->tag ne 'h2' and $node->tag ne 'h3'
0 0 0 $num_words < $$self{'min_text_len'} and $node->tag ne 'h1' and $node->tag ne 'h2' and $node->tag ne 'h3' and $node->tag ne 'p'
399 0 0 0 $node->tag eq 'a' and $node->parent->tag eq 'body'
413 0 0 0 ref $child and $child->can('tag')
0 0 0 ref $child and $child->can('tag') and $child->tag eq 'table'
425 0 0 0 defined $_ and do { s/\s+$//, s/^\s+// }

or 3 conditions

line l !l&&r !l&&!r condition
135 0 0 0 ref $proto || $proto
298 0 0 0 $ratio > 0.3 or $num_links > 400
367 0 0 0 $node->tag eq 'a' or $node->tag eq 'style'
0 0 0 $node->tag eq 'a' or $node->tag eq 'style' or $node->tag eq 'script'
0 0 0 $node->tag eq 'a' or $node->tag eq 'style' or $node->tag eq 'script' or $node->tag eq 'option'
0 0 0 $node->tag eq 'a' or $node->tag eq 'style' or $node->tag eq 'script' or $node->tag eq 'option' or $node->tag eq 'noscript'
0 0 0 $node->tag eq 'a' or $node->tag eq 'style' or $node->tag eq 'script' or $node->tag eq 'option' or $node->tag eq 'noscript' or $node->tag eq 'hr'
0 0 0 $node->tag eq 'a' or $node->tag eq 'style' or $node->tag eq 'script' or $node->tag eq 'option' or $node->tag eq 'noscript' or $node->tag eq 'hr' or $node->tag eq 'input'