Condition Coverage

blib/lib/HTML/RewriteAttributes/Resources.pm
Criterion Covered Total %
condition 11 17 64.7


and 3 conditions

line !l l&&!r l&&r condition
52 18 0 7 $tag eq 'link' and defined $$attr{'type'}
18 0 7 $tag eq 'link' and defined $$attr{'type'} and $$attr{'type'} eq 'text/css'
0 0 7 $tag eq 'link' and defined $$attr{'type'} and $$attr{'type'} eq 'text/css' and defined $$attr{'href'}
62 16 0 2 $tag eq 'style' and defined $$attr{'type'}
16 0 2 $tag eq 'style' and defined $$attr{'type'} and $$attr{'type'} eq 'text/css'

or 2 conditions

line l !l condition
37 9 10 $rewritable_attrs{$tag} || {}