blib/lib/Math/PlanePath/GcdRationals.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 23 | 52.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
152 | 0 | 0 | 10 | $self->{'pairs_order_n_to_xy'} = $self->can("_pairs_order__${pairs_order}__n_to_xy") and $self->{'pairs_order_xygr_to_n'} = $self->can("_pairs_order__${pairs_order}__xygr_to_n") |
555 | 256 | 0 | 3 | ref $x and $x->isa('Math::BigInt') |
256 | 0 | 0 | ref $y and $y->isa('Math::BigInt') |
line | l | !l | condition |
---|---|---|---|
149 | 5 | 5 | $self->{'pairs_order'} ||= 'rows' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
316 | 0 | 0 | 896 | $x < 1 or $y < 1 |
0 | 259 | 637 | $x < 1 or $y < 1 or not _coprime($x, $y) | |
458 | 0 | 0 | 44 | $x2 < 1 or $y2 < 1 |
555 | 3 | 0 | 256 | ref $x and $x->isa('Math::BigInt') or ref $y and $y->isa('Math::BigInt') |