Condition Coverage

lib/HTML/Filter/Callbacks/Tag.pm
Criterion Covered Total %
condition 21 34 61.7


and 3 conditions

line !l l&&!r l&&r condition
17 66 8 4 @attrs >= 2 and $attrs[-1] eq '/'
74 0 4 @attrs >= 2 and $attrs[-1] eq '/' and $attrs[-2] eq '/'
43 0 33 58 defined $$self{'skipped'} and length $$self{'skipped'}
46 0 88 3 defined $$self{'prepend'} and length $$self{'prepend'}
61 12 1 6 $$self{'is_empty'} and substr($$self{'name'}, -1, 1) ne '/'
65 0 89 2 defined $$self{'append'} and length $$self{'append'}
96 0 0 7 defined $cond and length $cond
114 0 0 5 defined $cond and length $cond
154 2 10 0 $open eq $close and $open eq q['] || $open eq '"'

or 2 conditions

line l !l condition
166 2 0 $$self{'attrs'} ||= []
176 1 0 $$self{'attrs'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
154 0 10 0 $open eq q['] || $open eq '"'