Branch Coverage

blib/lib/XML/Essex/Filter/OutputMonitor.pm
Criterion Covered Total %
branch 20 36 55.5


line true false branch
72 1 0 if $self->auto_document_events and not $self->start_document_seen
87 0 1 unless @$s
94 1 0 unless (defined $$elt{'NamespaceURI'} or defined $$elt{'LocalName'} or defined $$elt{'Prefix'} or defined $$elt{'Name'})
112 0 1 defined $$elt{'NamespaceURI'} ? :
116 0 1 defined $$s[-1]{'NamespaceURI'} ? :
1 0 if ($$s[-1]{'LocalName'} eq $$elt{'LocalName'} and (defined $$s[-1]{'NamespaceURI'} ? $$s[-1]{'NamespaceURI'} : '') eq $ns_uri) { }
130 0 0 defined $$_{'NamespaceURI'} ? :
0 0 if $$_{'LocalName'} eq $$elt{'LocalName'} and (defined $$_{'NamespaceURI'} ? $$_{'NamespaceURI'} : '') eq $ns_uri
139 0 0 !@missing ? :
165 0 1 unless $$self{'Stack'}
168 0 1 if (@{$$self{'Stack'};})
181 1 0 $self->SUPER::get_handler ? :
215 1 0 if $self->auto_document_events and $self->start_document_seen and not $self->end_document_seen
230 2 3 if @_
243 3 2 if @_
257 3 1 if (@_)
272 2 1 if @_
296 1 2 if @_