blib/lib/CPU/Z80/Disassembler.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 46 | 52 | 88.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
352 | 14165 | 901 | 24562 | $i <= $addr and $i <= $max |
413 | 10883 | 2963 | 1172 | defined $instr->NN and not defined $instr->format->{'NN'} |
13467 | 0 | 379 | defined $instr->DIS and not defined $instr->format->{'DIS'} | |
442 | 379 | 87 | 292 | $instr->opcode =~ /$reg/ and defined(my $base = $self->$func) |
461 | 3 | 36 | 39352 | $p <= $max and not defined $self->instr->[$p] |
582 | 28038 | 975 | 1566 | $current_type ne "-" and $type ne "-" |
29013 | 1565 | 1 | $current_type ne "-" and $type ne "-" and $current_type ne $type | |
820 | 3379 | 8 | 12039 | defined $can_call and not ref $can_call |
3387 | 9567 | 2472 | defined $can_call and not ref $can_call and $can_call | |
1232 | 2724 | 101 | 101 | $size == 2 and $addr == $end_addr |
line | l | !l | condition |
---|---|---|---|
575 | 17820 | 3 | $count ||= 1 |
902 | 2438 | 3622 | $self->_block_comments->[$addr] ||= "" |
924 | 1978 | 4768 | $instr->comment // "" |
1175 | 55 | 1 | $self->header // "" |
1182 | 0 | 0 | $self->footer // "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
204 | 41989 | 11 | 0 | 'CPU::Z80::Disassembler::Instruction'->disassemble($self->memory, $addr) || 'CPU::Z80::Disassembler::Instruction'->defb($self->memory, $addr) |
493 | 7 | 816 | 64730 | $addr == $min or $addr % 80 == 0 |
653 | 146026 | 11862 | 0 | $self->instr->[$addr] ||= "CPU::Z80::Disassembler::Instruction"->disassemble($self->memory, $addr) |
729 | 0 | 48 | 13593 | $instr->opcode =~ /call \w+,NN/ or $self->get_type($instr->next_addr) eq "C" |