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 507 43 14 $x == 0 and $y == 0
262 550 0 0 $parts ne '4' and $y < 0 || $parts ne '2' && $x < ($parts eq 'octant' ? $y : 0) || $parts eq 'octant_up' && $x > $y
330 131 1409 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 579 298 385 $x or $y
556 0 0 533 $parts eq 'octant' or $parts eq 'octant_up'