Branch Coverage

lib/Games/Checkers/CreateMoveList.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
43 0 0 unless $move
44 0 0 if $move == NO_MOVE
46 0 0 unless $new_board_tree_node
79 0 0 $$self{'status'} == Ok ? :
105 0 0 if $$self{'move'} != NO_MOVE
112 0 0 $$self{'status'} == Ok ? :
131 0 0 unless @_ >= 3
136 0 0 unless $board->occup($src)
138 0 0 unless $board->color($src) == $color
140 0 0 unless not $is_beat or $board->can_piece_beat($src)
145 0 0 unless ($is_beat)
146 0 0 if ($board->can_piece_step($src, $dst))
151 0 0 $board->can_piece_beat($src) ? :
156 0 0 if ($is_beat)
157 0 0 if ($board->can_piece_beat($src, $dst))
171 0 0 unless $$self{'must_beat'}
172 0 0 if $$self{'src'} != $$self{'src0'} or $self->dst_1 != $$self{'dst0'}
174 0 0 if $$self{'move'} != NO_MOVE
181 0 0 $$self{'status'} == Ok ? :