Branch Coverage

blib/lib/Samba/LDAP.pm
Criterion Covered Total %
branch 1 26 3.8


line true false branch
67 0 2 if $sid
93 0 0 if $mesg->code
142 0 0 unless my $ldap_master = 'Net::LDAP'->new($$self{'masterLDAP'}, 'port', $$self{'masterPort'}, 'version', 3, 'timeout', 60)
150 0 0 if ($$self{'ldapTLS'} == 1)
159 0 0 if $ldap_tls->code
164 0 0 if $result->code
178 0 0 unless my $ldap_slave = 'Net::LDAP'->new($$self{'slaveLDAP'}, 'port', $$self{'slavePort'}, 'version', 3, 'timeout', 60)
188 0 0 unless ($ldap_slave)
191 0 0 unless $ldap_slave = 'Net::LDAP'->new($$self{'masterLDAP'}, 'port', $$self{'masterPort'}, 'version', 3, 'timeout', 60)
199 0 0 if ($ldap_slave)
201 0 0 if ($$self{'ldapTLS'} == 1)
210 0 0 if $ldap_tls->code
215 0 0 if $result->code