| blib/lib/Math/EllipticCurve/Prime/Point.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 23 | 47.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 25 | 41 | 607 | 0 | $args{'curve'} and not ref $args{'curve'} |
| 143 | 36585 | 304 | 0 | $self->infinity and $other->infinity |
| line | l | !l | condition |
|---|---|---|---|
| 21 | 4 | 644 | $args{'infinity'} ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 18 | 644 | 0 | 4 | defined $args{'x'} or defined $args{'y'} |
| 0 | 0 | 4 | defined $args{'x'} or defined $args{'y'} or defined $args{'infinity'} | |
| 28 | 607 | 41 | 0 | ref $class || $class |
| 143 | 0 | 0 | 0 | $self->{'y'}->is_zero or $other->{'y'}->is_zero |
| 0 | 0 | 0 | $self->{'y'}->is_zero or $other->{'y'}->is_zero or $self->{'y'}->bcmp($other->{'y'}) |