line |
true |
false |
branch |
103
|
3 |
6 |
if ($attr eq 'hash') { } |
|
4 |
2 |
elsif ($attr eq 'hash_hex') { } |
|
2 |
0 |
elsif ($attr eq 'passphrase') { } |
104
|
0 |
3 |
if defined $hash or defined $passphrase |
106
|
0 |
3 |
unless $value =~ /\A[\x00-\xff]{16}\z/ |
110
|
0 |
4 |
if defined $hash or defined $passphrase |
112
|
0 |
4 |
unless $value =~ /\A[0-9A-Fa-f]{32}\z/ |
117
|
0 |
2 |
if defined $hash or defined $passphrase |
119
|
0 |
2 |
unless $self->_passphrase_acceptable($value) |
127
|
2 |
7 |
if (defined $passphrase) { } |
|
7 |
0 |
elsif (defined $hash) { } |
131
|
1 |
1 |
length $passphrase > 7 ? : |
158
|
2 |
0 |
if ($userpassword =~ /\A\{(?i:lanm(?:an)?)\}/) |
159
|
0 |
2 |
unless $userpassword =~ /\A\{.*?\}([0-9a-fA-F]{32})\z/ |