Condition Coverage

blib/lib/Games/LMSolve/Plank/Base.pm
Criterion Covered Total %
condition 21 30 70.0


and 3 conditions

line !l l&&!r l&&r condition
277 3772 315 464 $p->{'x'} == $x and $p->{'y'} == $y
282 3397 789 365 $p->{'end_x'} == $x and $p->{'end_y'} == $y
350 331 0 1 $_->{'end_x'} == $goal_x and $_->{'end_y'} == $goal_y
332 0 0 $_->{'x'} == $goal_x and $_->{'y'} == $goal_y
461 1562 324 6 $p_x == $ix and $p_y == $iy

or 3 conditions

line l !l&&r !l&&!r condition
105 0 0 4 $start_x >= $width or $end_x >= $width
0 0 4 $start_x >= $width or $end_x >= $width or $start_y >= $height
0 0 4 $start_x >= $width or $end_x >= $width or $start_y >= $height or $end_y >= $height
411 102 246 2788 $other_x < 0 or $other_x >= $width
415 239 354 2195 $other_y < 0 or $other_y >= $height