Branch Coverage

blib/lib/Math/PlanePath/Diagonals.pm
Criterion Covered Total %
branch 9 42 21.4


line true false branch
84 0 0 $self->{'direction'} eq 'down' ? :
90 0 0 $self->{'direction'} eq 'down' ? :
97 0 0 $self->{'direction'} eq 'down' ? :
103 0 0 $self->{'direction'} eq 'down' ? :
110 0 0 $self->{'direction'} eq 'down' ? :
116 0 0 $self->{'direction'} eq 'down' ? :
131 0 0 $self->{'direction'} eq 'down' ? :
137 0 0 $self->{'direction'} eq 'down' ? :
144 0 0 $self->{'direction'} eq 'down' ? :
150 0 0 $self->{'direction'} eq 'down' ? :
159 0 0 $self->{'x_start'} > 0 ? :
0 0 $self->{'y_start'} > 0 ? :
168 6 0 unless (defined $self->{'n_start'})
173 0 6 unless ($direction eq 'up' or $direction eq 'down')
203 2 35 if ($r < 1)
223 14 21 if ($self->{'direction'} eq 'up')
242 14 20 if ($self->{'direction'} eq 'up')
250 0 34 if ($x < 0 or $y > 0)
264 0 0 if ($x1 > $x2)
265 0 0 if ($y1 > $y2)
266 0 0 if ($x2 < $self->{'x_start'} or $y2 < $self->{'y_start'})