| blib/lib/Crypt/Passphrase/PBKDF2.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 0 | 1 | unless exists $param_for_type{$type} |
| 52 | 0 | 3 | unless my($type, $iterations, $salt64, $hash64) = $hash =~ /$decode_regex/ |
| 53 | 1 | 2 | if $type ne $self->{'type'} or $iterations != $self->{'iterations'} |
| 54 | 0 | 2 | if length ab64_decode($salt64) != $self->{'salt_size'} |
| 65 | 0 | 3 | unless my($type, $iterations, $salt64, $hash64) = $hash =~ /$decode_regex/ |
| 66 | 0 | 3 | unless exists $param_for_type{$type} |