blib/lib/Algorithm/Knap01DP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 16 | 37.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
142 | 0 | 0 | 2 | $N > 0 and $R > 0 |
0 | 0 | 2 | $N > 0 and $R > 0 and $N == int $N | |
0 | 0 | 2 | $N > 0 and $R > 0 and $N == int $N and $R == int $R |
line | l | !l | condition |
---|---|---|---|
139 | 0 | 2 | shift() || 17 |
158 | 0 | 5 | shift() || 8 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
140 | 0 | 2 | 0 | shift() || $N |