Condition Coverage

lib/Net/LDAP/SimpleServer/ProtocolHandler.pm
Criterion Covered Total %
condition 2 18 11.1


and 3 conditions

line !l l&&!r l&&r condition
115 0 0 0 $self->{'allow_anon'} and not $request->{'name'}
0 0 0 $self->{'allow_anon'} and not $request->{'name'} and exists $request->{'authentication'}{'simple'}
125 0 0 0 do { uc $bind_dn ne uc $self->{'root_dn'} } && do { my $search_dn_result = $self->{'store'}->list_with_dn_scope($bind_dn, 0); return _make_result(34, '', 'Cannot find user: ' . $request->{'name'}) unless $search_dn_result; $bind_dn = $search_dn_result->[0] }

or 2 conditions

line l !l condition
38 0 0 shift() // ''
39 0 0 shift() // ''
226 0 0 $request->{'scope'} || 2

or 3 conditions

line l !l&&r !l&&!r condition
50 7 1 0 shift() || croak('Must pass parameters!')