Branch Coverage

lib/Traveller/Util.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
29 2114 57327 if $item == $_
40 20 393 if exists $cache{join $", @_}
41 0 393 unless $distance
44 393 238857 if $candidate == $start
45 2881 235976 if (distance($start, $candidate) <= $distance)
55 22400 216457 if exists $cache{join $", @_}
68 104322 216457 if ($x1 > $x2) { }
80959 135498 elsif ($y2 >= $y1) { }
77 48276 87222 $x2 - $x1 > $y1 - $y2 ? :