Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
87 0 0 0 $type_name and $self->name
0 0 0 $type_name and $self->name and $type_name eq $self->name
162 0 0 0 $self->document->ns_map->{$ns} and $self->document->ns_map->{$ns} eq 'http://www.w3.org/2001/XMLSchema'
167 0 0 0 not $ns and $ns_uri ne 'http://www.w3.org/2001/XMLSchema'
175 0 0 0 not $simple and @{$xsd->simple_types;}
180 0 0 0 $simple and $$simple{$type}
192 0 0 0 $self->document->ns_map->{$ns} and $self->document->ns_map->{$ns} eq 'http://www.w3.org/2001/XMLSchema'
195 0 0 0 not $ns and $ns_uri ne 'http://www.w3.org/2001/XMLSchema'
203 0 0 0 not $simple and @{$xsd->simple_types;}
207 0 0 0 $simple and $$simple{$type}
219 0 0 0 not $ns and $ns_uri ne 'http://www.w3.org/2001/XMLSchema'
227 0 0 0 not $simple and @{$xsd->simple_types;}
232 0 0 0 $simple and $$simple{$type}
241 0 0 0 $self->has_type and $self->type
248 0 0 0 $type_name and $self->name
0 0 0 $type_name and $self->name and $type_name eq $self->name
257 0 0 0 $type_name and $self->name
0 0 0 $type_name and $self->name and $type_name eq $self->name

or 2 conditions

line l !l condition
99 0 0 $type_name ||= ''
124 0 0 $self->node->getAttribute('maxOccurs') || 1
129 0 0 $self->node->getAttribute('minOccurs') || 0
251 0 0 $type_name ||= ''
260 0 0 $type_name ||= ''
263 0 0 $self->document->ns_map->{'xs'} ||= 'http://www.w3.org/2001/XMLSchema'

or 3 conditions

line l !l&&r !l&&!r condition
109 0 0 0 $ns ||= $self->document->ns_name
111 0 0 0 $name ||= $ns
117 0 0 0 $ns_uri || $self->document->target_namespace
151 0 0 0 $ns ||= $self->document->ns_name
154 0 0 0 $self->simple_type || $self->document->get_module_name($ns_uri) . '::' . $type
161 0 0 0 $ns ||= $self->document->ns_name
191 0 0 0 $ns ||= $self->document->ns_name
217 0 0 0 $ns ||= $self->document->ns_name