Branch Coverage

lib/XML/Compile/Iterator.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
30 0 6182 unless $self->{'node'} = delete $args->{'node'}
33 0 6182 unless $self->{'filter'} = delete $args->{'filter'}
36 0 6182 unless $self->{'path'} = delete $args->{'path'}
46 1 5017 unless defined $node
49 1092 3925 if defined $p
66 4430 7547 unless (defined $ln)
71 631 11346 wantarray ? :
83 0 0 @$list ? :
90 1485 0 $self->{'current'} < @$list ? :
97 0 0 $self->{'current'} > 0 ? :
108 0 840 unless &type_of_node(scalar((shift())->node))
112 0 0 unless my $node = (shift())->node
118 0 25 unless my $node = (shift())->node
120 11 14 unless $nil eq 'true'
125 0 563 unless my $node = (shift())->node
131 48 466 unless my $current = (shift())->currentChild
137 572 656 unless my $current = (shift())->currentChild
143 0 0 unless my $current = (shift())->currentChild