| blib/lib/PlugAuth/Plugin/LDAP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 14 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 0 | 3 | unless ($ldap_config and $ldap_config->{'authoritative'}) |
| 26 | 0 | 0 | if $class->deligate_check_credentials($user, $pw) |
| 28 | 0 | 3 | unless $ldap_config |
| 29 | 0 | 3 | unless my $server = $ldap_config->{'server'} |
| 30 | 0 | 3 | unless (my $ldap = 'Net::LDAP'->new($server, 'timeout', 5)) |
| 36 | 0 | 3 | if $extra |
| 39 | 1 | 2 | unless $mesg->code |