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)
131 3 27 if (not defined $next_idx or $self->_get_num_connected($l) != $Games::ABC_Path::Generator::BOARD_SIZE - scalar(@dfs_stack)) { }
203 5 20 $coord->y == $coord->x ? :
5 20 $coord->y == 4 - $coord->x ? :
223 13 0 unless (exists $last_state->{'chosen_clue'})
228 0 69 unless $Games::ABC_Path::Generator::a->[1]{'num_remaining'} <=> $Games::ABC_Path::Generator::b->[1]{'num_remaining'}
236 1 12 unless (@clues)
263 0 1 if (@{$solver->get_successes_text_tables;} != 1) { }
276 0 12 if ($clues[0][1]{'num_remaining'} < 2)
306 0 12 unless (defined $next_pair)