Branch Coverage

blib/lib/Mail/MtPolicyd/LdapConnection.pm
Criterion Covered Total %
branch 1 12 8.3


line true false branch
38 1 0 if (defined $self->connection_class)
43 0 0 unless my $ldap = $ldap_class->new($self->host, 'port', $self->port, 'keepalive', $self->keepalive, 'timeout', $self->timeout, 'onerror', 'die')
51 0 0 if ($self->starttls)
53 0 0 if ($@)
56 0 0 if (defined $self->binddn) { }
73 0 0 if ($class->meta->existing_singleton)