Branch Coverage

blib/lib/Net/LDAP/AutoServer.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
53 0 0 if (defined $_[1])
71 0 0 if (defined $args{'methods'}) { }
82 0 0 if ($split[$splitInt] eq 'devldap')
87 0 0 if ($split[$splitInt] eq 'env')
92 0 0 if ($split[$splitInt] eq 'dns')
97 0 0 if ($split[$splitInt] eq 'hostname')
102 0 0 if ($split[$splitInt] eq 'user')
138 0 0 unless (-d '/dev/ldap/server')
182 0 0 if (defined $opts{$vars[$int]} and $opts{$vars[$int]} ne 'undef')
225 0 0 unless (defined $query)
235 0 0 unless (defined $orderedSRV[0])
245 0 0 if ($ldap)
248 0 0 if (not $mesg->is_error) { }
301 0 0 if (defined $ENV{'EESDP-BindDN'})
306 0 0 if (defined $ENV{'EESDP-CAfile'})
311 0 0 if (defined $ENV{'EESDP-CApath'})
316 0 0 if (defined $ENV{'EESDP-CheckCRL'})
321 0 0 if (defined $ENV{'EESDP-ClientCert'})
326 0 0 if (defined $ENV{'EESDP-ClientKey'})
331 0 0 if (defined $ENV{'EESDP-Port'})
336 0 0 if (defined $ENV{'EESDP-Server'})
341 0 0 if (defined $ENV{'EESDP-StartTLS'})
387 0 0 if (defined $ENV{'Net::LDAP::AutoServer-' . $vars[$int]})
427 0 0 unless (defined $addrs[0])
433 0 0 unless ($ldap)
439 0 0 if (not $mesg->is_error) { }
472 0 0 unless (defined $ENV{'USER'})
479 0 0 if (-f $dir . '/.ldapbind')
480 0 0 if (open *USERBIND, '<', $dir . '/.ldapbind')
486 0 0 if (-f $dir . '/.ldappass')
487 0 0 if (open *USERPASS, '<', $dir . '/.ldappass')
540 0 0 unless (defined $$self{'server'})
549 0 0 unless ($ldap)
556 0 0 if ($$self{'startTLS'})
564 0 0 if ($mesg->is_error)
571 0 0 if ($mesg->is_error)