| blib/lib/AI/Pathfinding/AStar.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 9 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 27 | 0 | 2 | 38 | defined $open->top and $open->top->{'id'} ne $target |
| 30 | 38 | 0 | 0 | defined $max and ++$n == $max |
| 42 | 45 | 73 | 89 | exists $$nodes{$surr_id} and not $$nodes{$surr_id}{'inopen'} |