Branch Coverage

blib/lib/CPU/Z80/Disassembler/Instruction.pm
Criterion Covered Total %
branch 56 62 90.3


line true false branch
246 5469 14483 unless $self->_format
269 3342 8896 if $self->is_branch
270 9772 2466 unless $self->is_break_flow
310 2 100038 unless defined $byte
313 5871 94167 if (exists $table->{'N'}) { }
10386 83781 elsif (exists $table->{'NNl'}) { }
6622 77159 elsif (exists $table->{'NNo'}) { }
1709 75450 elsif (exists $table->{'DIS'}) { }
21 75429 elsif (exists $table->{'DIS+1'}) { }
5635 69794 elsif (not exists $table->{$byte}) { }
314 0 5871 if defined $self->N
319 0 10386 if defined $self->NN
324 0 6622 if defined $self->NN
329 0 1709 if defined $self->DIS
334 0 21 unless defined $self->DIS
335 0 21 if ($self->DIS + 1 != $memory->peek8s($addr))
348 64444 29959 if (exists $table->{''})
351 57630 6814 unless defined $limit_addr
358 14 64236 unless @found
362 58461 5775 if @args
369 5590 58646 if ($opcode =~ /rst (\d+)/)
387 5 45923 unless defined $value
411 6 210 unless defined $str
466 12130 51296 if (defined $comment)
470 45 12085 length $opcode >= 24 ? :
51296 12130 !defined($comment) ? :
482 4575 28439 $self->_format && $self->format->{$arg} ? :
485 26872 6142 unless ref $value
516 45782 10 length $bytes < 10 ? :
524 10 10 length $bytes < 10 ? :
543 747 16813 $self->is_break_flow && !$self->is_call ? :