Branch Coverage

blib/lib/XML/YYLex.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
132 0 0 if ($#_ == 0) { }
138 0 0 unless ($args{'debug'})
140 0 0 if not $_[0] =~ /^yy/
143 0 0 if ref !$args{'document'}
145 0 0 if (ref($args{'document'}) =~ /^XML::Sablotron/) { }
172 0 0 if $@
201 0 0 if $$self{'debug'}
207 0 0 unless (defined $$self{'current_node'})
216 0 0 if ($$self{'state'} == $XML::YYLex::STATE_NEW_NODE) { }
0 0 elsif ($$self{'state'} == $XML::YYLex::STATE_DESCEND_NODE) { }
0 0 elsif ($$self{'state'} == $XML::YYLex::STATE_NODE_DONE) { }
218 0 0 !$self->_xml_isTextNode($$self{'current_node'}) ? :
230 0 0 if (my(@c) = @{$$self{'current_node'}->getChildNodes;}) { }
236 0 0 !$self->_xml_isTextNode($$self{'current_node'}) ? :
254 0 0 if (defined(my $c = $$self{'current_node'}->getNextSibling)) { }
0 0 elsif (not $self->_xml_isDocumentNode($$self{'current_node'}->getParentNode)) { }
272 0 0 if $$self{'debug'}
275 0 0 if ($$self{'ignore_empty_text'} and defined $res[1] and $self->_xml_isTextNode($res[1]) and $res[1]->getNodeValue =~ /^\s*$/) { }
283 0 0 if $$self{'debug'}
311 0 0 if ($self->_xml_isTextNode($node)) { }
0 0 elsif (not defined($res = ${$$self{'parser_package'} . '::' . $prefix . $node->getNodeName;})) { }
320 0 0 if $$self{'debug'}