line |
true |
false |
branch |
36
|
7 |
15 |
if ($crypt = $password =~ /^\$\w+\$/ or $password =~ /^\{\w+\}/) { } |
42
|
1 |
6 |
unless (eval {
do {
require Authen::Passphrase;
1
}
}) |
50
|
1 |
5 |
$crypt ? : |
53
|
2 |
4 |
unless (eval {
do {
$ppr = $crypt ? 'Authen::Passphrase'->from_crypt($password) : 'Authen::Passphrase'->from_rfc2307($password)
}
}) |
75
|
23 |
9 |
if (defined $auth and $auth =~ /^Basic (.*)$/) |
78
|
8 |
15 |
if (exists $options{'user'}) |
84
|
13 |
2 |
if (not defined $authorized and exists $options{'users'}) |
90
|
9 |
14 |
if (not $authorized and defined $users) |
96
|
18 |
5 |
if ($authorized) |
102
|
0 |
5 |
unless (defined $authorized) |