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