blib/lib/Crypt/SaltedHash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | l | !l | condition |
---|---|---|---|
187 | 8 | 1 | $options{'algorithm'} ||= 'SHA-1' |
188 | 2 | 7 | $options{'salt_len'} ||= 4 |
296 | 3 | 1 | &__get_pass_hash($hasheddata) || '' |
345 | 3 | 1 | $algorithm ||= '' |
389 | 4 | 0 | shift() || 8 |
406 | 1 | 3 | $salt_len || 4 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 5 | 4 | 0 | $options{'salt'} ||= &__generate_hex_salt($options{'salt_len'} * 2) |