Condition Coverage

blib/lib/XML/Essex/Filter/OutputMonitor.pm
Criterion Covered Total %
condition 7 24 29.1


and 3 conditions

line !l l&&!r l&&r condition
72 0 0 1 $self->auto_document_events and not $self->start_document_seen
116 0 0 1 $$s[-1]{'LocalName'} eq $$elt{'LocalName'} and (defined $$s[-1]{'NamespaceURI'} ? $$s[-1]{'NamespaceURI'} : '') eq $ns_uri
130 0 0 0 $$_{'LocalName'} eq $$elt{'LocalName'} and (defined $$_{'NamespaceURI'} ? $$_{'NamespaceURI'} : '') eq $ns_uri
215 0 0 1 $self->auto_document_events and $self->start_document_seen
0 0 1 $self->auto_document_events and $self->start_document_seen and not $self->end_document_seen

or 3 conditions

line l !l&&r !l&&!r condition
94 0 0 1 defined $$elt{'NamespaceURI'} or defined $$elt{'LocalName'}
0 0 1 defined $$elt{'NamespaceURI'} or defined $$elt{'LocalName'} or defined $$elt{'Prefix'}
0 0 1 defined $$elt{'NamespaceURI'} or defined $$elt{'LocalName'} or defined $$elt{'Prefix'} or defined $$elt{'Name'}