Branch Coverage

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


line true false branch
18 333 1 $_[0] ? :
33 114 2304 if ($p == 0)
34 7 10 $r >= 256 ? :
26 17 $r >= 65536 ? :
71 43 $r >= 16777216 ? :
82 8 0 if ($Crypt::OpenPGP::Globals::Trim_trailing_ws) { }
95 292 106 if ($num and not ref $num && $num->isa('Math::BigInt'))
104 0 93 if (eval 'require Crypt::Random; 1;') { }
93 0 elsif (eval 'require Bytes::Random::Secure; 1;') { }
117 0 23 if (eval 'require Crypt::Random; 1;') { }
23 0 elsif (eval 'require Bytes::Random::Secure; 1;') { }
125 21 2 if $bits & 7