| lib/Math/HexGrid/Hex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| subroutine | 6 | 15 | 40.0 |
| pod | 9 | 11 | 81.8 |
| line | count | pod | subroutine |
|---|---|---|---|
| 1 | 2 | n/a | BEGIN |
| 2 | 2 | n/a | BEGIN |
| 7 | 2 | n/a | BEGIN |
| 9 | 4 | No | to_string |
| 14 | 39 | Yes | new |
| 27 | 0 | Yes | id |
| 32 | 1 | Yes | hex_equal |
| 40 | 0 | Yes | is_colliding |
| 45 | 0 | Yes | hex_add |
| 56 | 0 | Yes | hex_subtract |
| 67 | 0 | Yes | hex_multiply |
| 77 | 0 | No | hex_length |
| 84 | 0 | Yes | hex_distance |
| 100 | 0 | n/a | _hex_direction |
| 106 | 0 | Yes | hex_neighbor |