Branch Coverage

lib/SIRTX/VM/Disassembler.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
32 0 0 unless defined $fh
34 0 0 unless (ref $fh)
35 0 0 unless open my $x, "<", $fh
45 0 0 unless defined $fh
47 0 0 unless (ref $fh)
48 0 0 unless open my $x, ">", $fh
57 0 0 if scalar keys %opts
71 0 0 if scalar @opts
76 0 0 if $pos >= $in_length
78 0 0 if (exists $self->{'starts'}{$pos}) { }
117 0 0 if ($extra{'type'} eq 'chunk') { }
120 0 0 if ($length >= 4)
127 0 0 unless $in->read($raw, 4) == 4
133 0 0 if ($identifier_type == 49152) { }
0 0 elsif ($identifier_type == 32768) { }
0 0 elsif ($identifier_type == 16384) { }
0 0 elsif ($identifier_type == 0) { }
144 0 0 if ($flags & 128)
148 0 0 if ($flags & 2)
149 0 0 unless $in->read($raw, 2) == 2
155 0 0 if ($flags & 1)
163 0 0 if ($flags & 1)
165 0 0 unless $in->read($raw, 1) == 1
172 0 0 if ($opcode->is_end_of_text)
189 0 0 if (defined $self->{'max_data'} and $todo > $self->{'max_data'})
198 0 0 $todo > 8 ? :
202 0 0 unless $in->read(my $raw, $step) == $step