Branch Coverage

blib/lib/XML/LibXML/Iterator.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
16 0 0 wantarray ? :
24 0 0 unless defined $node
46 0 0 if defined $func and ref $func ne 'CODE'
49 0 0 if (defined $func) { }
78 0 0 if ($$self{'INDEX'} != -1) { }
80 0 0 unless (scalar @filters > 0)
86 0 0 unless defined $node
89 0 0 if $fv
91 0 0 if $fv == 1 or $fv == 0
98 0 0 if (defined $node)
100 0 0 if ($node->isSameNode($$self{'FIRST'})) { }
116 0 0 unless (scalar @filters > 0)
121 0 0 unless defined $node
124 0 0 if $fv
126 0 0 if $fv == 1 or $fv == 0
129 0 0 if (defined $node)
139 0 0 if (scalar @_)
146 0 0 unless $$self{'FILTERS'}
151 0 0 if $fv
156 0 0 unless ($fv == 1)
173 0 0 unless defined $function and ref $function eq 'CODE'
189 0 0 if ($dir < 0) { }
190 0 0 if $$self{'CURRENT'}->isSameNode($$self{'FIRST'}) and $$self{'INDEX'} <= 0
194 0 0 unless defined $node
201 0 0 if (defined $$self{'CURRENT'}) { }
202 0 0 if $$self{'CURRENT'}->isSameNode($$self{'FIRST'}) and $$self{'INDEX'} > 0
205 0 0 if ($$self{'CURRENT'}->hasChildNodes) { }
212 0 0 unless defined $pnode
214 0 0 unless defined $node