Condition Coverage

lib/URL/Transform/using/HTML/Parser.pm
Criterion Covered Total %
condition 25 32 78.1


and 3 conditions

line !l l&&!r l&&r condition
132 15 77 3 $$_link_tags{$current_tag} and $$_link_tags{$current_tag}{''}
154 52 0 4 $tagname eq 'noscript' and $self->parser_for->('application/x-javascript') eq 'Remove'
179 6 29 0 $link_tags and $$link_tags{$attrname}
236 20 1 2 not $attribute_name and $tag_name eq 'style'
1 17 3 $attribute_name and $attribute_name eq 'style'
17 0 1 not $attribute_name and $tag_name eq 'script'
0 13 4 $attribute_name and exists $$_js_attributes{$attribute_name}

or 2 conditions

line l !l condition
189 22 1 $1 || ''

or 3 conditions

line l !l&&r !l&&!r condition
179 16 0 19 $link_tags and $$link_tags{$attrname} or $$_link_tags{''}{$attrname}
236 2 0 21 not $attribute_name and $tag_name eq 'style' or $attribute_name and $attribute_name eq 'style'
1 0 17 not $attribute_name and $tag_name eq 'script' or $attribute_name and exists $$_js_attributes{$attribute_name}