Condition Coverage

blib/lib/Math/PlanePath/Diagonals.pm
Criterion Covered Total %
condition 7 15 46.6


or 2 conditions

line l !l condition
172 1 5 $self->{'direction'} ||= 'down'
177 0 6 $self->{'x_start'} ||= 0
178 0 6 $self->{'y_start'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
173 1 5 0 $direction eq 'up' or $direction eq 'down'
250 0 0 34 $x < 0 or $y > 0
266 0 0 0 $x2 < $self->{'x_start'} or $y2 < $self->{'y_start'}