Branch Coverage

blib/lib/XML/XSH2/Iterators.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
14 0 0 unless $class->can("iterate_$axis")
17 0 0 if ($class->can("init_$axis"))
20 0 0 unless defined $node
24 0 0 unless $iterator->first_filtered
39 0 0 if ($dir < 0) { }
53 0 0 if ($dir < 0) { }
54 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}->previousSibling))
71 0 0 if ($dir < 0) { }
72 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}->nextSibling))
83 0 0 if ($dir < 0) { }
85 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
109 0 0 if ($dir < 0) { }
110 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
125 0 0 if ($dir < 0) { }
126 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
136 0 0 if ($dir < 0) { }
137 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
147 0 0 if ($dir < 0) { }
148 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
172 0 0 if ($dir < 0) { }
173 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}))
193 0 0 if ($dir < 0) { }
194 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}))
207 0 0 if ($node->previousSibling)
209 0 0 if ($node->hasChildNodes) { }
222 0 0 if ($node->hasChildNodes) { }
226 0 0 if $stop and $node->isSameNode($stop) or not $node->parentNode
228 0 0 if $node->nextSibling
253 0 0 if (@_)
261 0 0 unless $self->first(@_)
262 0 0 if (ref $filter eq 'CODE')
264 0 0 unless $self->next
274 0 0 unless $self->SUPER::next
276 0 0 unless $self->SUPER::next
285 0 0 unless $self->SUPER::prev
287 0 0 unless $self->SUPER::prev