Condition Coverage

blib/lib/Crypt/PBE/PBKDF2.pm
Criterion Covered Total %
condition 13 31 41.9


or 2 conditions

line l !l condition
59 0 0 delete $params{'count'} || 1000
60 0 0 delete $params{'prf'} || 'hmac-sha1'
143 45 61 delete $params{'count'} || 1000
144 45 61 delete $params{'dk_len'} || 0
145 101 5 delete $params{'prf'} || 'hmac-sha1'
150 45 61 $dkLen ||= 0
151 106 0 $c ||= 1000
270 0 6 $params{'count'} || 1000

or 3 conditions

line l !l&&r !l&&!r condition
57 0 0 0 delete $params{'password'} || croak('Specify password')
58 0 0 0 delete $params{'salt'} || croak('Specify salt')
141 106 0 0 delete $params{'password'} || croak('Specify password')
142 106 0 0 delete $params{'salt'} || croak('Specify salt')
265 0 0 6 $params{'prf'} eq 'hmac-sha224' or $params{'prf'} eq 'hmac-sha384'