Branch Coverage

blib/lib/Algorithm/Metric/Chessboard.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
79 0 5 unless $self->x_range($args{'x_range'})
80 0 5 unless $self->y_range($args{'y_range'})
133 2 0 if ($start_worm and $end_worm)
143 2 0 if ($worm_dist < $straight_dist)
173 59167 10833 if (not defined $nearest_wormhole or $dist < $nearest_dist)
189 31096 38910 $x_dist < $y_dist ? :
195 5 6 if (defined $value)
196 0 5 unless ref $value eq 'ARRAY' and scalar @$value == 2
205 5 6 if (defined $value)
206 0 5 unless ref $value eq 'ARRAY' and scalar @$value == 2
215 4 6 if $value
221 1 6 if $value