Branch Coverage

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


line true false branch
12 0 0 unless $class->can("iterate_$axis")
15 0 0 if ($class->can("init_$axis"))
18 0 0 unless defined $node
22 0 0 unless $iterator->first_filtered
37 0 0 if ($dir < 0) { }
51 0 0 if ($dir < 0) { }
52 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}->previousSibling))
69 0 0 if ($dir < 0) { }
70 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}->nextSibling))
81 0 0 if ($dir < 0) { }
83 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
107 0 0 if ($dir < 0) { }
108 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
123 0 0 if ($dir < 0) { }
124 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
134 0 0 if ($dir < 0) { }
135 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
145 0 0 if ($dir < 0) { }
146 0 0 if $iter->{'CURRENT'}->isSameNode($iter->{'FIRST'})
170 0 0 if ($dir < 0) { }
171 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}))
191 0 0 if ($dir < 0) { }
192 0 0 if ($iter->{'FIRST'}->isSameNode($iter->{'CURRENT'}))
205 0 0 if ($node->previousSibling)
207 0 0 if ($node->hasChildNodes) { }
220 0 0 if ($node->hasChildNodes) { }
224 0 0 if $stop and $node->isSameNode($stop) or not $node->parentNode
226 0 0 if $node->nextSibling
248 0 0 if (@_)
256 0 0 unless $self->first(@_)
257 0 0 if (ref $filter eq 'CODE')
259 0 0 unless $self->next
269 0 0 unless $self->SUPER::next
271 0 0 unless $self->SUPER::next
280 0 0 unless $self->SUPER::prev
282 0 0 unless $self->SUPER::prev