Branch Coverage

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


line true false branch
17 0 0 wantarray ? :
26 9 0 if (defined $list)
52 0 1 if $r
65 2 0 if $_[0]->accept_node($_[0][0][$_[0][1]]) == 1
68 0 2 if $_[0][1] == $s
77 3 0 if ($_[0]->accept_node($_[0][0][$i]) == 1)
85 0 3 if ($i < 0)
95 14 0 if ($_[0][1] >= 0 or $_[0][1] < scalar @{$_[0][0];})
104 0 0 if ($_[0][1] >= 0 or $_[0][1] < scalar @{$_[0][0];})
117 5 18 if ($nlen <= $_[0][1] + 1)
122 5 13 if $i < 0
127 0 18 if $i >= $nlen
128 18 0 if ($_[0]->accept_node($_[0][0][$i]) == 1)
139 2 6 if ($_[0][1] <= 0)
147 0 6 if $i < 0
148 6 0 if ($_[0]->accept_node($_[0][0][$i]) == 1)
163 0 2 unless defined $funcref and ref $funcref eq 'CODE'