| blib/lib/Crypt/Passphrase/Scrypt.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 8 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 0 | 3 | unless my($cost, $block_size, $parallel, $salt64, $hash64) = $hash =~ /$decode_regex/x |
| 35 | 0 | 2 | if $cost < $self->{'cost'} or $block_size < $self->{'block_size'} or $parallel < $self->{'parallel'} |
| 36 | 0 | 2 | if length &decode_base64($salt64) < $self->{'salt_size'} or length &decode_base64($hash64) < $self->{'output_size'} |
| 46 | 0 | 3 | unless my($cost, $block_size, $parallel, $salt64, $hash64) = $hash =~ /$decode_regex/x |