Branch Coverage

blib/lib/ArrayDataRole/Source/Iterator.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
16 0 1 unless my $gen_iterator = delete $args{'gen_iterator'}
19 0 1 if keys %args
33 0 14 unless $self->{'iterator'}
34 9 5 if (exists $self->{'buf'}) { }
39 1 4 unless defined $elem
47 0 12 if (exists $self->{'buf'})
50 0 12 unless $self->{'iterator'}
52 3 9 unless defined $elem
70 2 1 if $self->{'pos'} > $pos
72 1 4 unless $self->has_next_item
74 2 2 if $self->{'pos'} > $pos
80 1 2 if $self->{'pos'} > $pos
82 1 2 unless $self->has_next_item
84 1 1 if $self->{'pos'} > $pos