Branch Coverage

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


line true false branch
29 1369 30337 if $item == $_
40 40 253 if exists $cache{join $", @_}
41 0 253 unless $distance
44 253 155411 if $candidate == $start
45 1773 153638 if (distance($start, $candidate) <= $distance)
55 13776 141635 if exists $cache{join $", @_}
68 62941 141635 if ($x1 > $x2) { }
60032 81603 elsif ($y2 >= $y1) { }
77 31518 50085 $x2 - $x1 > $y1 - $y2 ? :