Branch Coverage

blib/lib/CORBA/JAVA/NameVisitor.pm
Criterion Covered Total %
branch 0 102 0.0


line true false branch
28 0 0 if (defined $prefix)
31 0 0 if (scalar @kv == 2)
37 0 0 if (defined $translate)
40 0 0 if (scalar @kv == 2)
41 0 0 if $kv[0] eq 'org' or $kv[0] eq 'org.omg' or $kv[0] =~ /^org\.omg\./
118 0 0 if (ref $defn) { }
132 0 0 if exists $$self{'java_keywords'}{$name}
133 0 0 if $name =~ /Helper$/
134 0 0 if $name =~ /Holder$/
135 0 0 if $name =~ /Operations$/
136 0 0 if $name =~ /POA$/
137 0 0 if $name =~ /POATie$/
138 0 0 if $name =~ /Package$/
147 0 0 unless $pkg
150 0 0 if ($node->isa('StructType') || $node->isa('UnionType') || $node->isa('EnumType') || $node->isa('Exception') || $node->isa('TypeDeclarator') and $defn->isa('BaseInterface') || $defn->isa('UnionType') || $defn->isa('StructType'))
161 0 0 if ($package =~ /^$_/)
167 0 0 if ($package =~ s/^$_/$$self{'pkg_translate'}{$_}/)
177 0 0 unless defined $java_package
178 0 0 if ($java_package) { }
193 0 0 if (exists $$node{'list_import'})
222 0 0 unless (exists $$node{$$self{'num_key'}})
248 0 0 if exists $$node{'java_package'}
260 0 0 if exists $$node{'java_package'}
289 0 0 if exists $$node{'java_package'}
292 0 0 if ($type->isa('FloatingPtType') or $type->isa('IntegerType') or $type->isa('CharType') or $type->isa('WideCharType') or $type->isa('BooleanType') or $type->isa('OctetType')) { }
305 0 0 if ($type->isa('SequenceType')) { }
339 0 0 if $pkg
340 0 0 if (defined $defn and $defn->isa('BaseInterface')) { }
368 0 0 if exists $$node{'java_package'}
371 0 0 if ($type->isa('BasicType') or $type->isa('StringType') or $type->isa('WideStringType') or $type->isa('FixedPtType')) { }
378 0 0 if exists $$type{'java_primitive'}
380 0 0 if (exists $$node{'array_size'}) { }
386 0 0 if ($type->isa('SequenceType')) { }
398 0 0 if ($type->isa('BasicType') or $type->isa('StringType') or $type->isa('WideStringType') or $type->isa('FixedPtType')) { }
433 0 0 if ($$node{'value'} eq 'short') { }
0 0 elsif ($$node{'value'} eq 'unsigned short') { }
0 0 elsif ($$node{'value'} eq 'long') { }
0 0 elsif ($$node{'value'} eq 'unsigned long') { }
0 0 elsif ($$node{'value'} eq 'long long') { }
0 0 elsif ($$node{'value'} eq 'unsigned long long') { }
466 0 0 if ($$node{'value'} eq 'float') { }
0 0 elsif ($$node{'value'} eq 'double') { }
0 0 elsif ($$node{'value'} eq 'long double') { }
549 0 0 if exists $$node{'java_package'}
566 0 0 if ($type->isa('SequenceType') or exists $$type{'array_size'}) { }
586 0 0 if exists $$node{'java_package'}
655 0 0 if exists $$node{'java_package'}
659 0 0 unless (defined $name)
661 0 0 if (exists $$node{'max'})
726 0 0 if exists $$node{'type'}
762 0 0 if exists $$node{'_set'}