Condition Coverage

blib/lib/Crypt/SaltedHash.pm
Criterion Covered Total %
condition 13 15 86.6


or 2 conditions

line l !l condition
197 8 1 $options{'algorithm'} ||= "SHA-1"
198 2 7 $options{'salt_len'} ||= 4
306 3 1 &__get_pass_hash($hasheddata) || ''
355 3 1 $algorithm ||= ""
395 4 0 shift() || 8
407 1 3 $salt_len || 4

or 3 conditions

line l !l&&r !l&&!r condition
199 5 4 0 $options{'salt'} ||= &__generate_hex_salt($options{'salt_len'} * 2)