Branch Coverage

blib/lib/Games/ABC_Path/Generator.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
93 339 368 unless ($connected{$int}++)
118 1 30 if (@dfs_stack == $Games::ABC_Path::Generator::BOARD_SIZE)
130 3 27 if (not defined $next_idx or $self->_get_num_connected($l) != $Games::ABC_Path::Generator::BOARD_SIZE - scalar(@dfs_stack)) { }
202 5 20 $coord->y == $coord->x ? :
5 20 $coord->y == 4 - $coord->x ? :
222 13 0 unless (exists $last_state->{'chosen_clue'})
227 0 69 unless $Games::ABC_Path::Generator::a->[1]{'num_remaining'} <=> $Games::ABC_Path::Generator::b->[1]{'num_remaining'}
234 1 12 unless (@clues)
261 0 1 if (@{$solver->get_successes_text_tables;} != 1) { }
274 0 12 if ($clues[0][1]{'num_remaining'} < 2)
304 0 12 unless (defined $next_pair)