Branch Coverage

blib/lib/ClearPress/authenticator/ldap.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
21 1 7 if ($srv)
25 2 6 if ($self->{'server'})
34 1 4 if ($domain)
38 2 3 if ($self->{'ad_domain'})
48 4 1 unless ($self->{'_ldap'})
58 2 3 unless ($ref and $ref->{'username'} and $ref->{'password'})
65 1 2 unless ($ldap)
74 1 1 if ($auth_msg->code)