Branch Coverage

blib/lib/CPU/Z80/Disassembler/Memory.pm
Criterion Covered Total %
branch 44 44 100.0


line true false branch
85 37 690781 if $addr < 0 or $addr >= $self->_loaded->Size
91 4 30623 if $byte < 0 or $byte > 255
97 2 7 if $byte < -128 or $byte > 127
103 2 10 if $word < 0 or $word > 65535
109 2 7 if $word < -32768 or $word > 32767
115 1 6 if $str =~ /\0/
121 1 7 if length $str < 1
122 1 6 if $str =~ /[\x80-\xFF]/
190 568146 91917 $self->_loaded->bit_test($addr) ? :
206 3 8375 unless defined $byte
207 1936 6439 if $byte & 128
223 5 10832 unless defined $lo
224 2 10830 unless defined $hi
239 2 2 unless defined $word
240 1 1 if $word & 32768
255 1 98 if $length < 1
259 5 160 unless defined $byte
280 5 48 unless defined $byte
281 2 46 if $byte == 0
302 5 957 unless defined $byte
304 130 827 if $byte & 128
385 40 1 if (length $str > 0)