blib/lib/Crypt/Passphrase/Scrypt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 19 | 68.4 |
line | l | !l | condition |
---|---|---|---|
20 | 2 | 1 | $args{'cost'} || 16 |
1 | 2 | $args{'block_size'} || 8 | |
0 | 3 | $args{'parallel'} || 1 | |
1 | 2 | $args{'salt_size'} || 16 | |
0 | 3 | $args{'output_size'} || 32 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 1 | 0 | 3 | $cost != $self->{'cost'} or $block_size != $self->{'block_size'} |
1 | 0 | 3 | $cost != $self->{'cost'} or $block_size != $self->{'block_size'} or $parallel != $self->{'parallel'} | |
37 | 0 | 0 | 3 | length &decode_base64($salt64) != $self->{'salt_size'} or length &decode_base64($hash64) != $self->{'output_size'} |