Condition Coverage

blib/lib/Text/HTML/Turndown.pm
Criterion Covered Total %
condition 13 18 72.2


and 3 conditions

line !l l&&!r l&&r condition
484 2492 0 167 $r and ref $r
2492 0 167 $r and ref $r and ref $r eq "CODE"
535 887 358 915 $indexEnd > 0 and substr($string, $indexEnd - 1, 1) eq "\n"
540 88 0 0 ref $plugin and ref $plugin eq "ARRAY"

or 3 conditions

line l !l&&r !l&&!r condition
458 0 10 43 uc $node->nodeName eq 'PRE' || uc $node->nodeName eq 'CODE'
503 11 10 736 $whitespace->{'leading'} or $whitespace->{'trailing'}