Branch Coverage

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


line true false branch
29 3345 76557 if $item == $_
40 56 628 if exists $cache{join $", @_}
41 0 628 unless $distance
44 628 414786 if $candidate == $start
45 4508 410278 if (distance($start, $candidate) <= $distance)
55 17636 397150 if exists $cache{join $", @_}
68 195045 397150 if ($x1 > $x2) { }
152254 244896 elsif ($y2 >= $y1) { }
77 83080 161816 $x2 - $x1 > $y1 - $y2 ? :