Condition Coverage

blib/lib/Crypt/PKCS5.pm
Criterion Covered Total %
condition 8 21 38.1


and 3 conditions

line !l l&&!r l&&r condition
48 17 0 0 $class eq 'Digest::MD2' and $dk_len > 16
0 17 0 $class eq 'Digest::MD5' and $dk_len > 16
17 0 0 $class eq 'Digest::SHA1' and $dk_len > 20

or 2 conditions

line l !l condition
45 0 17 shift() || 'Digest::MD5'
89 0 28 shift() || 20
108 0 15 shift() || 'Digest::HMAC_SHA1'

or 3 conditions

line l !l&&r !l&&!r condition
48 0 0 17 $class eq 'Digest::MD2' and $dk_len > 16 or $class eq 'Digest::MD5' and $dk_len > 16
0 0 17 $class eq 'Digest::MD2' and $dk_len > 16 or $class eq 'Digest::MD5' and $dk_len > 16 or $class eq 'Digest::SHA1' and $dk_len > 20