blib/lib/CPU/Emulator/Memory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 16 | 87.5 |
line | l | !l | condition |
---|---|---|---|
83 | 1 | 11 | $params{'endianness'} || 'LITTLE' |
200 | 9 | 0 | $contents || die("Can't write $file\n") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
66 | 4 | 9 | 0 | $params{'size'} ||= exists $params{'bytes'} ? length $params{'bytes'} : 65536 |
125 | 1 | 2 | 19 | $addr < 0 or $addr > $$self{'size'} - 1 |
162 | 1 | 1 | 11 | $value < 0 or $value > 255 |
163 | 1 | 1 | 9 | $addr < 0 or $addr > $$self{'size'} - 1 |