Branch Coverage

blib/lib/CPU/Emulator/DCPU16/Disassembler.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
29 3 10 if ($n < 8) { }
1 9 elsif ($n < 16) { }
1 8 elsif ($n < 24) { }
0 8 elsif ($n == 24) { }
0 8 elsif ($n == 25) { }
0 8 elsif ($n == 26) { }
0 8 elsif ($n == 27) { }
2 6 elsif ($n == 28) { }
0 6 elsif ($n == 29) { }
0 6 elsif ($n == 30) { }
4 2 elsif ($n == 31) { }
71 6 1 if ($op > 0) { }
1 0 elsif ($a == 1) { }
81 3 4 wantarray ? :
101 1 2 if ($tmp =~ /^(JSR|SET PC,)\s*(.+)$/)
104 1 0 if $addr =~ /^0x/
114 1 2 if ($labels{$pc}) { }
121 1 2 if ($line =~ /^IF/) { }
1 1 elsif ($indent) { }