blib/lib/PBKDF2/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
74 | 0 | 66 | unless defined $passwd |
75 | 0 | 66 | unless defined $salt |
80 | 2 | 64 | if utf8::is_utf8($passwd) |
82 | 2 | 62 | if utf8::is_utf8($salt) |
85 | 0 | 62 | length $passwd > $block_size ? : |
87 | 8 | 54 | if $dk_length % $digest_length |
134 | 0 | 28 | unless length $dk1 == length $dk2 |
139 | 958 | 0 | substr($dk1, $offset, 1) eq substr($dk2, $offset, 1) ? : |
174 | 0 | 66 | unless exists $DIGEST_TYPES{$type} |