| blib/lib/Math/HexGrid/Hex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 15 | 46.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 13 | 0 | 0 | 39 | defined $q and defined $r |
| 0 | 0 | 39 | defined $q and defined $r and defined $s | |
| 0 | 0 | 39 | defined $q and defined $r and defined $s and $q + $r + $s == 0 | |
| 27 | 0 | 0 | 1 | $self->{'q'} == $hex->{'q'} and $self->{'r'} == $hex->{'r'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 11 | 8 | 19 | 12 | $s ||= -$q - $r |