| blib/lib/Algorithm/Partition.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 14 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 69 | 1 | 3 | unless (@set > 0) |
| 76 | 2 | 1 | if ($size & 1) |
| 92 | 12 | 6 | if ($table[$i - 1][$j][0]) { } |
| 4 | 2 | elsif ($j - $set[$i] >= 0 and $table[$i - 1][$j - $set[$i]][0]) { } | |
| 106 | 0 | 1 | unless ($table[-1][-1][0]) |
| 113 | 2 | 2 | if (2 == $table[$i][$j][1]) { } |
| 2 | 0 | elsif (1 == $table[$i][$j][1]) { } |