| lib/Math/HexGrid/Hex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 7 | 15 | 46.6 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 19 | 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 | |
| 36 | 0 | 0 | 1 | $self->{'q'} == $hex->{'q'} and $self->{'r'} == $hex->{'r'} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 17 | 8 | 19 | 12 | $s ||= -$q - $r |