Branch Coverage

blib/lib/W3C/SOAP/XSD.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
102 0 0 if $ns_map{$ns}
110 0 0 unless $xml and blessed $xml and $xml->isa('XML::LibXML::Node')
145 0 0 if not $super->can('xml2perl_map') and $super ne 'W3C::SOAP::XSD'
154 0 0 unless $xml
161 0 0 $self->xsd_ns ? :
167 0 0 unless $att->does('W3C::SOAP::XSD')
171 0 0 unless $self->$has
173 0 0 $att->has_xs_name ? :
174 0 0 $att->has_xs_ns ? :
175 0 0 $xml_ns ? :
0 0 !defined($xml_ns) ? :
180 0 0 ref $self->$name eq 'ARRAY' ? :
183 0 0 $xml_ns_name ? :
184 0 0 if $xml_ns
186 0 0 if (blessed $item and $item->can('to_xml')) { }
0 0 elsif (not defined $item || $att->has_xs_serialize) { }
197 0 0 $att->has_xs_serialize ? :
223 0 0 unless $att->does('W3C::SOAP::XSD')
227 0 0 unless $self->$has
229 0 0 $att->has_xs_name && $option{'like_xml'} ? :
232 0 0 if (ref $value eq 'ARRAY') { }
235 0 0 if (blessed $element and $element->can('to_data'))
242 0 0 if (blessed $value and $value->can('to_data')) { }
0 0 elsif (not defined $value || $att->has_xs_serialize) { }
0 0 elsif ($option{'stringify'}) { }
249 0 0 $att->has_xs_serialize ? :
253 0 0 defined $value ? :
270 0 0 if $super ne 'W3C::SOAP::XSD' and eval { do { $super->can('get_xml_nodes') } }
291 0 0 $parent_type eq 'xs:long' ? :
0 0 $parent_type eq 'xs:decimal' ? :
0 0 $parent_type eq 'xs:double' ? :
0 0 $parent_type eq 'xs:boolean' ? :
0 0 $parent_type eq 'xs:dateTime' ? :
0 0 $parent_type eq 'xs:date' ? :
300 0 0 $args{'nillable'} ? :
0 0 $args{'list'} ? :
306 0 0 if $subtype and not $args{'list'} || $args{'simple_list'}
312 0 0 if ($args{'list'}) { }
0 0 elsif ($args{'module'}) { }
313 0 0 if ($args{'module'}) { }
350 0 0 if ($args{'simple_list'})
357 0 0 if ($this_type->has_parent and ref $this_type->parent)
361 0 0 $args{'nillable'} ? :
0 0 !defined($_) && $args{'nillable'} ? :