Branch Coverage

blib/lib/XML/LibXML/NodeList/Iterator.pm
Criterion Covered Total %
branch 18 34 52.9


line true false branch
14 0 0 wantarray ? :
22 9 0 if (defined $list)
48 0 1 if $r
61 2 0 if $_[0]->accept_node($_[0][0][$_[0][1]]) == 1
64 0 2 if $_[0][1] == $s
73 3 0 if ($_[0]->accept_node($_[0][0][$i]) == 1)
81 0 3 if ($i < 0)
91 14 0 if ($_[0][1] >= 0 or $_[0][1] < scalar @{$_[0][0];})
100 0 0 if ($_[0][1] >= 0 or $_[0][1] < scalar @{$_[0][0];})
113 5 18 if ($nlen <= $_[0][1] + 1)
118 5 13 if $i < 0
123 0 18 if $i >= $nlen
124 18 0 if ($_[0]->accept_node($_[0][0][$i]) == 1)
135 2 6 if ($_[0][1] <= 0)
143 0 6 if $i < 0
144 6 0 if ($_[0]->accept_node($_[0][0][$i]) == 1)
159 0 2 unless defined $funcref and ref $funcref eq 'CODE'