blib/lib/Games/Pentominos.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
94 | 0 | 1 | unless $n_cells == 60 |
95 | 0 | 1 | if @others |
98 | 0 | 1 | unless ref $print_solution eq 'CODE' |
104 | 1 | 0 | if $board =~ s/^([^x]+)// |
168 | 9060 | 85177 | if (&$substitution()) |
171 | 9060 | 0 | if $board =~ s/^([^x]+)// |
173 | 1 | 9059 | if (not $board) { } |
177 | 1 | 0 | unless &$print_solution($placed, $n_solutions, $t_solution, $t_tot) |
182 | 11 | 9048 | unless _place_pentomino(grep({$_ ne $letter;} @_)) |