| blib/lib/Game/TextMapper/Schroeder/Hex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 123 | 0 | 16991 | unless defined $i |
| 124 | 16991 | 0 | unless ref $hex |
| 156 | 0 | 4988 | unless defined $i |
| 157 | 4988 | 0 | unless ref $hex |
| 174 | 2172 | 2888 | if (@_ == 2) |
| 181 | 2280 | 2780 | if ($x1 > $x2) |
| 188 | 1532 | 3528 | if ($y2 >= $y1) { } |
| 193 | 1701 | 1827 | $x2 - $x1 > $y1 - $y2 ? : |