Branch Coverage

blib/lib/Crypt/DH.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
15 0 0 unless exists $param{$w}
18 0 0 if %param
28 0 0 if (@_)
39 0 0 if (ref $value eq 'Math::BigInt') { }
0 0 elsif (ref $value eq 'Math::Pari') { }
0 0 elsif (defined $value and not ref $value) { }
0 0 elsif (defined $value) { }
56 0 0 unless (defined $$dh{'priv_key'})
58 0 0 $Crypt::Random::VERSION ? :
84 0 0 if $r >= $min_inc and $r < $max_exc
91 0 0 $size % 8 ? :
94 0 0 if (-e '/dev/urandom') { }
96 0 0 unless open $fh, '/dev/urandom'
99 0 0 unless $got == $bytes
108 0 0 unless length $bits >= $size