Branch Coverage

lib/XML/XMetaL/Utilities/Iterator.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
17 0 0 unless $args{-'domnode'}{'nodeType'}
19 0 0 unless $args{-'filter'}->isa('XML::XMetaL::Utilities::Filter::Base')
29 0 0 unless ($filter->accept($next_node))
34 0 0 if $@
56 0 0 $self->_get_next_node ? :
69 0 0 unless $current_node
74 0 0 if ($current_node->hasChildNodes) { }
0 0 elsif ($self->_get_depth >= 1 and $$current_node{'nextSibling'}) { }
0 0 elsif ($self->_get_depth > 1 and $$current_node{'parentNode'}) { }
78 0 0 if $filter->accept($next_node)
81 0 0 if $filter->accept($next_node)
88 0 0 if $filter->accept($next_node)
91 0 0 if ($next_node)
103 0 0 if $self->_get_depth < 1
108 0 0 if ($sibling_of_parent) { }