Condition Coverage

blib/lib/Math/PlanePath/CoprimeColumns.pm
Criterion Covered Total %
condition 28 41 68.2


and 3 conditions

line !l l&&!r l&&r condition
165 5 12 27 $x >= 2 and $self->{'direction'} eq 'down'
198 3 1015 2034 $x >= 2 and $self->{'direction'} eq 'down'
266 6 199 199 $x > 2 && $x & 1
10 130 264 $x > 3 && $x % 3 != 0
14 195 195 $x > 4 && $x & 1

or 2 conditions

line l !l condition
71 1 7 $self->{'direction'} ||= 'up'

or 3 conditions

line l !l&&r !l&&!r condition
175 0 0 0 $x < 1 or $y < 1
0 0 0 $x < 1 or $y < 1 or $y >= $x + ($x == 1)
0 0 0 $x < 1 or $y < 1 or $y >= $x + ($x == 1) or not _coprime($x, $y)
191 355 594 10334 $x < 1 or $y < 1
949 2842 7492 $x < 1 or $y < 1 or $y >= $x + ($x == 1)
3436 4440 3052 $x < 1 or $y < 1 or $y >= $x + ($x == 1) or not _coprime($x, $y)
240 0 0 24 $x2 < 1 or $y2 < 1
0 0 24 $x2 < 1 or $y2 < 1 or $y1 >= $x2 + ($x2 == 1)