Condition Coverage

blib/lib/XML/Handler/HTMLWriter.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
219 2 3 47 not $$element{'NamespaceURI'} and $self->is_html_tag($$element{'Name'})
240 40 1 5 lc $$element{'LocalName'} eq 'head' and lc $$element{'Parent'}{'LocalName'} eq 'html'
261 2 3 47 not $$el{'NamespaceURI'} and $self->is_html_tag($$el{'Name'})
278 1 1 65 not $$element{'NamespaceURI'} and $self->is_html_tag($$element{'LocalName'})

or 3 conditions

line l !l&&r !l&&!r condition
197 0 0 12 lc $$element{'Name'} ne 'html' or $$element{'NamespaceURI'}