Branch Coverage

blib/lib/Games/Sudoku/PatternSolver/Patterns.pm
Criterion Covered Total %
branch 14 48 29.1


line true false branch
31 1 4 if %pattern_vectors_by_field
37 0 4 if (-f './' . $file_name) { }
4 0 elsif (-f $module_path . $file_name) { }
44 4 0 if ($existing_file) { }
50 0 0 if (-w $module_path) { }
54 0 0 $^O =~ /Win/i ? :
63 0 0 unless $answer =~ /Y/
75 0 0 unless open my $Pattern_Handle, ">", $file_name
87 0 4 unless ($file_size and not $file_size % 46656)
93 0 4 unless open my $Bin_File, "<", $file_name
100 0 186624 unless $bytes == $bytes_per_pattern
113 0 4 unless ($load_count == 46656)
117 0 4 if $VERBOSE
128 0 0 if $positioned_count == 0 and $start_index > 8
134 0 0 if $coverage_vector->bit_test($current_index)
140 0 0 if ($positioned_count == 9) { }
144 0 0 if ($VERBOSE and not $$written_count % 1000)
153 0 0 unless $return_value = create_patterns($file_hdl, $current_index + 1, $positioned_count, $positioned_vector, $combined_vector, $written_count, $fields)
166 0 0 unless defined $symbol
187 0 0 unless ($written == 11)
197 4 0 unless (%pos_to_offset)
251 0 4 if @groups
276 0 4 if @intersections
278 0 4 unless @groups