Condition Coverage

blib/lib/Math/PlanePath/StaircaseAlternating.pm
Criterion Covered Total %
condition 46 50 92.0


and 3 conditions

line !l l&&!r l&&r condition
239 86628 1340 322 $y == 0 and $x % 4 == 0
309 5000 11248 3752 $x2 > $x1 and $yx_to_max_dx[$key]
164 3900 12184 $y2 > 0 and $y2 > $y1
317 10000 9600 400 $square and $x1 == 0
19600 304 96 $square and $x1 == 0 and $y1 % 4 == 2
10000 9504 400 $square and $y1 == 0
19504 16 384 $square and $y1 == 0 and $x1 > 0
9520 288 96 $square and $y1 == 0 and $x1 > 0 and $x1 % 4 == 0
342 5018 11178 3792 $corner_x1 < $x2 and my $dx = $yx_to_min_dx[$key]
4070 8334 3792 $corner_y1 < $y2 and my $dy = $yx_to_min_dy[$key]
344 1872 1416 504 $square and $dx < 0
3288 432 72 $square and $dx < 0 and $corner_y1 == 0
349 1872 1368 552 $square and $dy < 0
3240 480 72 $square and $dy < 0 and $corner_x1 == 0

or 2 conditions

line l !l condition
106 4 2 $self->{'end_type'} ||= 'jump'

or 3 conditions

line l !l&&r !l&&!r condition
232 0 0 179988 $x < 0 or $y < 0
294 0 0 20000 $x2 < 0 or $y2 < 0