Branch Coverage

blib/lib/Crypto/ECC/PublicKey.pm
Criterion Covered Total %
branch 0 10 0.0


line true false branch
16 0 0 unless my $n = $self->generator->order
21 0 0 if ($Point->cmp($Point->mul($n, $p), $Point->infinity) != 0)
25 0 0 if (($p->x <=> 0) < 0 or ($n <=> $p->x) <= 0 or ($p->y <=> 0) < 0 or ($n <=> $p->y) <= 0)
43 0 0 if (($r <=> 1) < 0 or ($r <=> $n - 1) > 0)
47 0 0 if (($s <=> 1) < 0 or ($s <=> $n - 1) > 0)