Branch Coverage

lib/Google/Ads/SOAP/Generator/TypemapVisitor.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
31 0 0 if ($tm->{$path} and $path =~ m[Fault/detail/ApiExceptionFault])
45 0 0 if (scalar @path > 30)
60 0 0 if not $variety or $content_model eq 'simpleContent'
61 0 0 if (grep {$_ eq $variety;} 'all', 'sequence', 'choice')
64 0 0 if (my $type_name = $type->get_base)
68 0 0 unless $subtype->get_element
73 0 0 unless $type->get_element
86 0 0 if (@{$self->get_path;}[0] and @{$self->get_path;}[0] eq 'ApiExceptionFault')
92 0 0 if (defined $base_type)
95 0 0 if $my_schema->isa('SOAP::WSDL::XSD::Schema::Builtin')
98 0 0 if ($type->isa('SOAP::WSDL::XSD::ComplexType'))
101 0 0 unless $base
103 0 0 if ($base eq $base_type)
107 0 0 if $path_elem eq $last_path_elem . "[$type_name]"
112 0 0 if ($last_path_elem =~ /\[[^\]]+\]/) { }
136 0 0 unless $derivation
138 0 0 if ($derivation eq 'restriction') { }
0 0 elsif ($derivation eq 'extension') { }
140 0 0 if (my $type_name = $type->get_base)
144 0 0 unless $subtype->get_element
154 0 0 unless $type->get_element