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 2464 0 165 $r and ref $r
2464 0 165 $r and ref $r and ref $r eq "CODE"
535 878 353 907 $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 10 10 728 $whitespace->{'leading'} or $whitespace->{'trailing'}