Branch Coverage

blib/lib/Mail/MtPolicyd/Connection/Ldap.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
40 1 0 if (defined $self->connection_class)
45 0 1 unless my $ldap = $ldap_class->new($self->host, 'port', $self->port, 'keepalive', $self->keepalive, 'timeout', $self->timeout, 'onerror', 'die')
53 1 0 if ($self->starttls)
55 0 1 if ($@)
58 1 0 if (defined $self->binddn) { }