line |
true |
false |
branch |
17
|
0 |
24 |
unless $subtype =~ /^2[abxy]$/ |
18
|
0 |
24 |
if $cost < 4 or $cost > 31 |
19
|
0 |
24 |
if length $salt != 16 |
31
|
2 |
0 |
if ($hash_algorithm) { } |
35
|
0 |
2 |
unless $hash =~ s/ ^ \$ ($subtype_qr) \$ ($cost_qr) \$ ($salt_qr) /\$bcrypt-sha256\$v=2,t=$1,r=$2\$$3\$/x |
45
|
4 |
0 |
if ($hash =~ s/ ^ \$ bcrypt-sha256 \$ v=2,t=($subtype_qr),r=($cost_qr) \$ ($salt_qr) \$ /\$$1\$$2\$$3/x) { } |
59
|
3 |
0 |
if ($hash =~ / \A \$ ($subtype_qr) \$ ($cost_qr) \$ /x) { } |
|
0 |
0 |
elsif ($hash =~ / ^ \$ bcrypt-sha256 \$ v=2,t=($subtype_qr),r=($cost_qr) \$ /x) { } |