Branch Coverage

blib/lib/Lemonldap/NG/Common/Conf/LDAP.pm
Criterion Covered Total %
branch 1 52 1.9


line true false branch
23 0 4 unless ($$self{$_})
35 0 0 unless ($self->ldap)
46 0 0 if ($search->code)
58 0 0 if $self->ldap->unbind
70 0 0 if $$self{'ldap'}
77 0 0 if ($server =~ m[^ldap\+tls://([^/]+)/?\??(.*)$]) { }
89 0 0 $$self{'ldapPort'} ? :
95 0 0 unless ($ldap)
101 0 0 if ($useTls)
103 0 0 if $$self{'caFile'}
104 0 0 if $$self{'caPath'}
106 0 0 if ($start_tls->code)
115 0 0 if ($bind->code)
145 0 0 unless ($self->ldap)
165 0 0 if ($lastCfg == $$fields{'cfgNum'}) { }
181 0 0 if ($operation->code)
186 0 0 if $self->ldap->unbind
193 0 0 unless ($self->ldap)
208 0 0 if ($search->code)
218 0 0 if ($fields) { }
219 0 0 if grep {$_ eq $k;} @$fields
225 0 0 if $self->ldap->unbind
232 0 0 unless ($self->ldap)
238 0 0 if $self->ldap->unbind
239 0 0 if $delete->code
260 0 0 if ($@)