| blib/lib/Crypt/PBE/PBKDF1.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 7 | 12 | 58.3 | 
| line | true | false | branch | 
|---|---|---|---|
| 48 | 0 | 1 | if $hash eq 'md5' or $hash eq 'md2' | 
| 134 | 0 | 8 | if ($hash ne 'md2' and $hash ne 'md5' and $hash ne 'sha1') | 
| 138 | 4 | 5 | unless ($dkLen) | 
| 139 | 4 | 0 | if $hash =~ /md(2|5)/ | 
| 140 | 0 | 4 | if $hash eq 'sha1' | 
| 143 | 0 | 9 | if ($hash eq 'md5' and $dkLen > 16 or $hash eq 'md2' and $dkLen > 16 or $hash eq 'sha1' and $dkLen > 20) |