blib/lib/Algorithm/MasterMind.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 18 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
139 | 8072 | 1997 | 805 | $$rule{'blacks'} == $$result{'blacks'} and $$rule{'whites'} == $$result{'whites'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 12 | 0 | 0 | shift() || croak("Need options here in Algorithm::MasterMind::New\n") |
60 | 0 | 0 | 0 | shift() || croak('Options needed to start!') |
119 | 4234 | 0 | 0 | shift() || croak("No string\n") |
179 | 7 | 0 | 0 | shift() || croak(q[Can't compute distance to nothing]) |
194 | 0 | 0 | 0 | shift() || croak(q[Can't compute distance to nothing]) |