| blib/lib/Game/TextMapper/Schroeder/Hex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 123 | 0 | 17947 | unless defined $i |
| 124 | 17947 | 0 | unless ref $hex |
| 156 | 0 | 5477 | unless defined $i |
| 157 | 5477 | 0 | unless ref $hex |
| 174 | 3375 | 4169 | if (@_ == 2) |
| 181 | 3607 | 3937 | if ($x1 > $x2) |
| 188 | 2577 | 4967 | if ($y2 >= $y1) { } |
| 193 | 2540 | 2427 | $x2 - $x1 > $y1 - $y2 ? : |