Condition Coverage

blib/lib/Crypt/PBE/PBKDF2.pm
Criterion Covered Total %
condition 10 29 34.4


or 2 conditions

line l !l condition
57 0 0 delete $params{'count'} || 1000
58 0 0 delete $params{'prf'} || 'hmac-sha1'
152 52 0 delete $params{'count'} || 1000
153 37 15 delete $params{'dk_len'} || 0
154 47 5 delete $params{'prf'} || 'hmac-sha1'
159 37 15 $dkLen ||= 0
160 52 0 $c ||= 1000

or 3 conditions

line l !l&&r !l&&!r condition
55 0 0 0 delete $params{'password'} || croak('Specify password')
56 0 0 0 delete $params{'salt'} || croak('Specify salt')
150 52 0 0 delete $params{'password'} || croak('Specify password')
151 52 0 0 delete $params{'salt'} || croak('Specify salt')
261 0 0 0 $hmac eq 'sha224' or $hmac eq 'sha384'