Condition Coverage

blib/lib/Math/PlanePath/UlamWarburton.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
257 506 41 17 $x == 0 and $y == 0
262 547 0 0 $parts ne '4' and $y < 0 || $parts ne '2' && $x < ($parts eq 'octant' ? $y : 0) || $parts eq 'octant_up' && $x > $y
330 129 1424 165 $x and $x == $abs_y

or 2 conditions

line l !l condition
154 9 11 $self->{'parts'} ||= '4'

or 3 conditions

line l !l&&r !l&&!r condition
262 0 0 0 $y < 0 || $parts ne '2' && $x < ($parts eq 'octant' ? $y : 0) || $parts eq 'octant_up' && $x > $y
345 598 299 382 $x or $y
556 0 0 527 $parts eq 'octant' or $parts eq 'octant_up'