Condition Coverage

blib/lib/Math/PlanePath/TriangularHypot.pm
Criterion Covered Total %
condition 14 17 82.3


and 3 conditions

line !l l&&!r l&&r condition
387 3349 1121 1110 defined $self->{'skip_hex'} and ($x + 2 + 3 * $_) % 6 == $self->{'skip_hex'}
570 441 883 881 defined $self->{'skip_parity'} and ($x % 2 ^ $y % 2) == $self->{'skip_parity'}
575 882 295 147 defined $self->{'skip_hex'} and ($x % 6 + 3 * ($y % 6)) % 6 == $self->{'skip_hex'}
598 3618 560 1177 $x == $n_to_x->[$n] and $y == $n_to_y->[$n]

or 2 conditions

line l !l condition
211 11 2 $self->{'points'} ||= 'even'

or 3 conditions

line l !l&&r !l&&!r condition
182 0 0 0 $self->{'points'} eq 'hex' || $self->{'points'} eq 'odd'