Branch Coverage

blib/lib/Crypt/PBE/PBKDF1.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
46 0 1 if $hash eq 'md5' or $hash eq 'md2'
121 0 14 if ($hash ne 'md2' and $hash ne 'md5' and $hash ne 'sha1')
125 4 14 unless ($dkLen)
126 4 0 if $hash =~ /md(2|5)/
127 0 4 if $hash eq 'sha1'
130 0 18 if ($hash eq 'md5' and $dkLen > 16 or $hash eq 'md2' and $dkLen > 16 or $hash eq 'sha1' and $dkLen > 20)