Condition Coverage

blib/lib/Algorithm/Knap01DP.pm
Criterion Covered Total %
condition 6 16 37.5


and 3 conditions

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

or 2 conditions

line l !l condition
139 0 2 shift() || 17
158 0 5 shift() || 8

or 3 conditions

line l !l&&r !l&&!r condition
140 0 2 0 shift() || $N