Branch Coverage

blib/lib/Samba/LDAP/Config.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
60 0 23 if (-e '/etc/smbldap-tools/smbldap.conf') { }
0 23 elsif (-e '/etc/opt/IDEALX/smbldap-tools/smbldap.conf') { }
67 8 15 if (-d 't')
88 0 23 if (-e '/etc/smbldap-tools/smbldap_bind.conf') { }
0 23 elsif (-e '/etc/opt/IDEALX/smbldap-tools/smbldap_bind.conf') { }
96 0 23 if (-d 't')
114 0 1 if (-e '/etc/samba/smb.conf') { }
0 1 elsif (-e 'usr/local/samba/lib/smb.conf') { }
121 0 1 if (-d 't')
144 0 44 if $self->errstr
161 0 44 ref $_[0] ? :
163 0 44 unless defined $_[0]
171 4312 902 if /$COMMENTS_AND_EMPTY_LINES/
174 902 0 if (/$SPLIT_ON_EQUALS_SIGN/)
179 22 880 if ($before_equals eq 'suffix')