Branch Coverage

blib/lib/PBKDF2/Tiny.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
74 0 102 unless defined $passwd
75 0 102 unless defined $salt
80 2 100 if utf8::is_utf8($passwd)
82 2 98 if utf8::is_utf8($salt)
85 0 98 length $passwd > $block_size ? :
87 12 86 if $dk_length % $digest_length
134 2 60 unless length $dk1 == length $dk2
139 974 966 substr($dk1, $i, 1) eq substr($dk2, $i, 1) ? :
174 0 102 unless exists $DIGEST_TYPES{$type}