Branch Coverage

blib/lib/Crypt/OpenPGP/Util.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
20 488 1 $_[0] ? :
35 110 2244 if ($p == 0)
36 8 10 $r >= 256 ? :
28 18 $r >= 65536 ? :
64 46 $r >= 16777216 ? :
84 21 0 if ($Crypt::OpenPGP::Globals::Trim_trailing_ws) { }
97 287 101 if ($num and not ref $num && $num->isa('Math::BigInt'))
106 0 89 if (eval 'require Crypt::Random; 1;') { }
89 0 elsif (eval 'require Bytes::Random::Secure; 1;') { }
119 0 23 if (eval 'require Crypt::Random; 1;') { }
23 0 elsif (eval 'require Bytes::Random::Secure; 1;') { }
127 21 2 if $bits & 7