Condition Coverage

blib/lib/Algorithm/Metric/Chessboard.pm
Criterion Covered Total %
condition 10 16 62.5


and 3 conditions

line !l l&&!r l&&r condition
133 0 0 2 $start_worm and $end_worm
196 0 0 5 ref $value eq 'ARRAY' and scalar @$value == 2
206 0 0 5 ref $value eq 'ARRAY' and scalar @$value == 2

or 2 conditions

line l !l condition
216 8 2 $$self{'wormholes'} || []
222 2 5 $$self{'wormhole_cost'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
173 40000 19167 10833 not defined $nearest_wormhole or $dist < $nearest_dist