Branch Coverage

lib/Java/JVM/Classfile.pm
Criterion Covered Total %
branch 67 106 63.2


line true false branch
127 181 0 if defined $label
249 0 6 unless $$self{'FH'} = 'IO::File'->new($$self{'FILENAME'})
275 0 6 unless $$self{'FH'}->eof
283 0 6 unless $magic eq 3405691582
304 25 202 if ($type == 10) { }
7 195 elsif ($type == 9) { }
0 195 elsif ($type == 11) { }
29 166 elsif ($type == 7) { }
132 34 elsif ($type == 1) { }
29 5 elsif ($type == 12) { }
5 0 elsif ($type == 8) { }
0 0 elsif ($type == 3) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 5) { }
0 0 elsif ($type == 6) { }
402 0 0 $bits >> 31 == 0 ? :
404 0 0 $e == 0 ? :
424 0 6 if (($access_flags & 512) != 0)
428 0 6 if (($access_flags & 1024) != 0 and ($access_flags & 16) != 0)
438 10 44 if substr $bits, $index, 1
469 0 14 unless $class->type eq 'class'
471 0 14 unless $class_name->type eq 'utf8'
502 0 44 unless $name_struct->type eq 'utf8'
519 24 129 if substr $bits, $index, 1
562 0 38 unless $attribute_name->type eq 'utf8'
566 15 23 if ($attribute_name eq 'Code') { }
6 17 elsif ($attribute_name eq 'SourceFile') { }
15 2 elsif ($attribute_name eq 'LineNumberTable') { }
0 2 elsif ($attribute_name eq 'LocalVariableTypeTable') { }
2 0 elsif ($attribute_name eq 'LocalVariableTable') { }
0 0 elsif ($attribute_name eq 'Signature') { }
577 1 3 $catch_type_index ? :
592 0 6 if $attribute_length != 2
595 0 6 unless $sourcefile->type eq 'utf8'
672 89 79 if ($type eq 'noargs') { }
3 76 elsif ($type eq 'byte') { }
3 73 elsif ($type eq 'bytevar') { }
5 68 elsif ($type eq 'byteindex') { }
4 64 elsif ($type eq 'twobytes') { }
1 63 elsif ($type eq 'int') { }
50 13 elsif ($type eq 'intindex') { }
13 0 elsif ($type eq 'intbranch') { }
687 0 4 if $u1 > 128
691 0 4 if $u1 > 128
704 3 10 if $u2 > 31268
736 157 11 unless $is_target{$i}
750 36 19 if ($type eq 'methodref') { }
0 19 elsif ($type eq 'interfacemethodref') { }
10 9 elsif ($type eq 'fieldref') { }
4 5 elsif ($type eq 'class') { }
5 0 elsif ($type eq 'string') { }
0 0 elsif ($type eq 'float') { }
0 0 elsif ($type eq 'integer') { }