blib/lib/Game/TextMapper/Schroeder/Hex.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
123 | 0 | 16984 | unless defined $i |
124 | 16984 | 0 | unless ref $hex |
156 | 0 | 5154 | unless defined $i |
157 | 5154 | 0 | unless ref $hex |
174 | 2681 | 4310 | if (@_ == 2) |
181 | 3219 | 3772 | if ($x1 > $x2) |
188 | 2216 | 4775 | if ($y2 >= $y1) { } |
193 | 2613 | 2162 | $x2 - $x1 > $y1 - $y2 ? : |