Branch Coverage

blib/lib/Games/LMSolve/Base.pm
Criterion Covered Total %
branch 10 34 29.4


line true false branch
83 0 0 unless (&GetOptions('rle!', \$to_rle, 'output-states!', \$output_states, 'method=s', \$scan, 'rtd!', \$run_time_states_display))
95 0 0 unless (exists $scan_functions{$scan})
197 0 0 defined $move ? :
215 1 0 if (exists $args{'initial_state'})
226 0 83 if ($check_iters and $max_iters <= $self->{'num_iters'})
231 0 83 if ($is_dfs) { }
246 0 83 if ($run_time_display)
258 0 83 if ($self->check_if_unsolvable($coords))
263 1 82 if ($self->check_if_final_state($coords))
276 0 238 unless (defined $new_coords)
282 85 153 unless (exists $state_collection->{$new_state})
309 0 0 if ($m eq $prev_m) { }
384 0 0 $output_states ? :
391 0 0 if ($ret[0] eq 'solved')
408 0 0 if ($to_rle) { }
429 0 0 if ($output_states)
453 0 0 if (not $states_display) { }