Branch Coverage

blib/lib/SOAP/WSDL/Base.pm
Criterion Covered Total %
branch 13 40 32.5


line true false branch
28 0 67 if (defined $$arg_ref{'parent'})
73 7 8 if ($subname =~ s/^push_//msx) { }
8 0 elsif ($subname =~ s/^find_/get_/msx) { }
0 0 elsif ($subname =~ s/^first_/get_/msx) { }
84 1 1 $old_value ? :
2 5 unless ref $old_value
93 1 7 if ref $values[0] eq 'ARRAY'
96 2 1 if $_->get_targetNamespace eq $values[0]
105 0 0 unless $result_ref
106 0 0 unless ref $result_ref eq 'ARRAY'
117 0 0 unless defined $$value{'Name'}
119 0 0 if ($$value{'Name'} =~ /^xmlns\:/msx)
129 0 0 if ($ns)
145 0 0 unless ($qname =~ /:/mx)
146 0 0 if (defined $$ns_of{'#default'})
152 0 0 if ($parent = $self->get_parent)
160 0 0 if $$ns_of{$prefix}
161 0 0 if ($parent = $self->get_parent)
172 1 0 unless defined $parent
173 0 0 if $parent->isa('SOAP::WSDL::XSD::Schema')