| blib/lib/Crypt/DSA/GMP/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 24 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 1 | 3 | unless ref $n eq 'Math::BigInt' |
| 27 | 1 | 2 | if not defined $s or $s eq '' |
| 35 | 1 | 3 | if (ref $p ne 'Math::BigInt' and $p <= 18446744073709551615) { } |
| 41 | 0 | 3 | unless ref $p eq 'Math::BigInt' |
| 44 | 0 | 3 | if length($hex) % 2 |
| 64 | 1 | 0 | $crs_best->is_blocking ? : |
| 70 | 1 | 1 | unless defined $crs |
| 71 | 0 | 2 | $keygen ? : |
| 80 | 0 | 1 | unless defined $bits and $bits > 0 |
| 81 | 0 | 1 | if $bits == 1 |
| 93 | 0 | 1 | unless defined $max and $max > 0 |
| 94 | 0 | 1 | unless ref $max eq 'Math::BigInt' |