Condition Coverage

blib/lib/Math/PlanePath/DiagonalRationals.pm
Criterion Covered Total %
condition 6 17 35.2


and 3 conditions

line !l l&&!r l&&r condition
149 3617 1 2028 defined $n and $n > $self->{'n_start'}

or 2 conditions

line l !l condition
103 0 2 $self->{'direction'} ||= 'down'

or 3 conditions

line l !l&&r !l&&!r condition
104 0 2 0 $direction eq 'up' or $direction eq 'down'
134 0 0 0 $x < 1 or $y < 1
0 0 0 $x < 1 or $y < 1 or not _coprime($x, $y)
168 0 0 23 $x2 < 1 or $y2 < 1