blib/lib/Games/Mastermind/Solver/BruteForce.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 12 | 100.0 |
line | true | false | branch |
---|---|---|---|
17 | 1 | 2 | unless $self->remaining |
23 | 8 | 6 | $p ? : |
35 | 22 | 13 | if @_ == 1 |
36 | 7 | 6 | $$self{'possibility'} ? : |
44 | 1 | 5 | unless $self->_possibility |
47 | 1291 | 2279 | if $$try_res[0] == $$result[0] and $$try_res[1] == $$result[1] |