Branch Coverage

blib/lib/Crypt/RSA/Primitives.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
29 0 8 unless $key->check
30 0 8 defined $params{'Message'} ? :
31 1 7 if ref $plaintext ne 'Math::BigInt'
36 0 8 if $plaintext > $n
53 0 8 unless $key->check
55 8 0 defined $params{'Cyphertext'} ? :
56 0 8 if ref $cyphertext ne 'Math::BigInt'
59 0 8 if $cyphertext > $n
62 1 7 if ($key->p and $key->q) { }
66 0 1 unless defined $key->u
67 0 1 unless defined $key->dp
68 0 1 unless defined $key->dq