blib/lib/Games/Roguelike/Item.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 9 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
124 | 0 | 0 | 3 | ref $$cont{'items'} and UNIVERSAL::can($cont, 'additem') |
164 | 0 | 0 | 0 | @_ and not exists $$self{$name} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
127 | 2 | 0 | 1 | not defined $$self{'cont'} or $cont != $$self{'cont'} |