Branch Coverage

blib/lib/Net/LDAP/Class/Iterator.pm
Criterion Covered Total %
branch 19 32 59.3


line true false branch
111 0 56 unless ($self->class)
124 0 52 unless my($resp) = $$self{'_ldap_search'}->control('1.2.840.113556.1.4.319')
128 0 52 unless ($$self{'_cookie'})
142 0 108 unless my $filter = $self->filter
151 0 108 unless my $ldap = $self->ldap
157 0 108 unless ($ldap_search)
161 0 0 if ($$self{'_cookie'})
174 0 108 if $ldap_search->code
182 56 52 unless ($$self{'_current_set'})
221 11 330 if $$self{'_exhausted'}
225 51 279 unless (defined $ldap_entry)
233 0 51 unless ($$self{'_cookie'})
238 39 12 unless $self->_do_search
240 0 12 unless ($ldap_entry)
267 1 0 if (not $self->_do_search) { }
277 0 56 if (not $self->is_exhausted)