Condition Coverage

blib/lib/HTML/Embellish.pm
Criterion Covered Total %
condition 20 30 66.6


and 3 conditions

line !l l&&!r l&&r condition
71 1 0 63 ref $html and $html->can('content_refs_list')
190 1 0 64 ref $elt and $elt->can('content_refs_list')
198 1 63 0 $isP and $$self[1] || $$self[3]
206 7 0 57 $$self[1] and $$self[0]
7 0 57 $$self[1] and $$self[0] and @content
218 0 2 0 $$self[0] and $tag eq 'br'
247 0 58 0 $$self[0] and @{$$self[0];}
260 1 3 60 $isP and $$self[0]

or 3 conditions

line l !l&&r !l&&!r condition
151 0 1 1 s/^($balancedQuoteString (?![\"$ldquo$rdquo])[ \t\n\r\pP]) " /$1$ldquo/ox or s/^($balancedQuoteString $ldquo $notQuote*) "/$1$rdquo/ox
198 56 4 3 $$self[1] || $$self[3]