line |
true |
false |
branch |
135
|
4 |
24 |
if ($attr eq 'salt') { } |
|
9 |
15 |
elsif ($attr eq 'salt_base64') { } |
|
1 |
14 |
elsif ($attr eq 'salt_random') { } |
|
1 |
13 |
elsif ($attr eq 'hash') { } |
|
9 |
4 |
elsif ($attr eq 'hash_base64') { } |
|
4 |
0 |
elsif ($attr eq 'passphrase') { } |
136
|
0 |
4 |
if defined $salt |
138
|
0 |
4 |
unless $value == int $value and $value >= 0 and $value < 4096 |
143
|
0 |
9 |
if defined $salt |
145
|
0 |
9 |
unless $value =~ m[\A[./0-9A-Za-z]{2}\z] |
149
|
0 |
1 |
if defined $salt |
151
|
0 |
1 |
unless $value == 12 |
155
|
0 |
1 |
if @hashes or defined $passphrase |
157
|
0 |
1 |
unless $value =~ /\A(?:[\x00-\xff]{8})+\z/ |
161
|
0 |
9 |
if @hashes or defined $passphrase |
163
|
0 |
9 |
unless $value =~ m[\A(?:[./0-9A-Za-z]{10}[.26AEIMQUYcgkosw])
+\z]x |
172
|
0 |
4 |
if @hashes or defined $passphrase |
179
|
0 |
14 |
unless defined $salt |
181
|
4 |
10 |
if (defined $passphrase) { } |
|
10 |
0 |
elsif (@hashes) { } |
182
|
0 |
4 |
$passphrase eq '' ? : |
264
|
9 |
73 |
$passphrase eq '' ? : |
265
|
46 |
36 |
unless $nsegs == @$self |
267
|
26 |
20 |
unless $$self[$i]->match(substr($passphrase, $i << 3, 8)) |