Branch Coverage

blib/lib/W3C/SOAP/XSD/Document/Element.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
80 0 0 if $type
87 0 0 if ($type_name and $self->name and $type_name eq $self->name)
89 0 0 if @children != 1
93 0 0 unless $child->nodeName =~ /^[#]/msx
110 0 0 $name ? :
113 0 0 if ($ns_uri eq 'http://www.w3.org/2001/XMLSchema')
136 0 0 $nillable eq 'false' ? :
0 0 $nillable eq 'true' ? :
0 0 !$nillable ? :
162 0 0 if $self->document->ns_map->{$ns} and $self->document->ns_map->{$ns} eq 'http://www.w3.org/2001/XMLSchema'
167 0 0 if not $ns and $ns_uri ne 'http://www.w3.org/2001/XMLSchema'
170 0 0 if $ns_uri eq 'http://www.w3.org/2001/XMLSchema'
175 0 0 if (not $simple and @{$xsd->simple_types;})
180 0 0 if $simple and $$simple{$type}
192 0 0 if $self->document->ns_map->{$ns} and $self->document->ns_map->{$ns} eq 'http://www.w3.org/2001/XMLSchema'
195 0 0 if not $ns and $ns_uri ne 'http://www.w3.org/2001/XMLSchema'
198 0 0 if $ns_uri eq 'http://www.w3.org/2001/XMLSchema'
203 0 0 if (not $simple and @{$xsd->simple_types;})
207 0 0 if $simple and $$simple{$type}
219 0 0 if not $ns and $ns_uri ne 'http://www.w3.org/2001/XMLSchema'
222 0 0 if $ns_uri eq 'http://www.w3.org/2001/XMLSchema'
227 0 0 if (not $simple and @{$xsd->simple_types;})
232 0 0 if $simple and $$simple{$type}
241 0 0 if $self->has_type and $self->type
248 0 0 if ($type_name and $self->name and $type_name eq $self->name)
257 0 0 if ($type_name and $self->name and $type_name eq $self->name)