blib/lib/CPU/Emulator/Memory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 16 | 93.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
73 | 10 | 3 | 1 | exists $params{'bytes'} and exists $params{'org'} |
line | l | !l | condition |
---|---|---|---|
102 | 1 | 12 | $params{'endianness'} || 'LITTLE' |
214 | 9 | 0 | $contents || die("Can't write $file\n") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
139 | 1 | 3 | 23 | $addr < 0 or $addr > $self->{'size'} - 1 |
176 | 1 | 1 | 11 | $value < 0 or $value > 255 |
177 | 1 | 1 | 9 | $addr < 0 or $addr > $self->{'size'} - 1 |