Condition Coverage

lib/Crypt/RSA.pm
Criterion Covered Total %
condition 14 42 33.3


or 3 conditions

line l !l&&r !l&&!r condition
91 3 0 0 $params{'Message'} || $params{'Plaintext'}
106 336 0 0 $$self{'es'}->encrypt('Message', $_, 'Key', $key) || return($self->error($$self{'es'}->errstr, \$key, \%params))
110 3 0 0 $params{'Armour'} or $params{'Armor'}
114 0 3 0 $$self{'ES'}{'Module'} || ${$KNOWNMAP{$$self{'ES'}{'Name'}};}{'Module'}
130 3 0 0 $params{'Cyphertext'} || $params{'Ciphertext'}
135 3 0 0 $params{'Armour'} or $params{'Armor'}
136 3 0 0 $$self{'pp'}->unarmour($cyphertext) || return($self->error($$self{'pp'}->errstr))
150 336 0 0 $$self{'es'}->decrypt('Cyphertext', $_, 'Key', $key) || return($self->error($$self{'es'}->errstr, \$key, \%params))
162 3 0 0 $$self{'ss'}->sign(%params) || return($self->error($$self{'ss'}->errstr, $params{'Key'}, \%params))
166 3 0 0 $params{'Armour'} or $params{'Armor'}
170 0 3 0 $$self{'SS'}{'Module'} || ${$KNOWNMAP{$$self{'SS'}{'Name'}};}{'Module'}
185 3 0 0 $params{'Armour'} or $params{'Armor'}
186 3 0 0 $$self{'pp'}->unarmour($params{'Signature'}) || return($self->error($$self{'pp'}->errstr))
191 3 0 0 $$self{'ss'}->verify(%params) || return($self->error($$self{'ss'}->errstr, $params{'Key'}, \%params))