Condition Coverage

blib/lib/Math/HexGrid/Hex.pm
Criterion Covered Total %
condition 7 15 46.6


and 3 conditions

line !l l&&!r l&&r condition
13 0 0 33 defined $q and defined $r
0 0 33 defined $q and defined $r and defined $s
0 0 33 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'}

or 3 conditions

line l !l&&r !l&&!r condition
11 8 14 11 $s ||= -$q - $r