Branch Coverage

lib/XML/Compile/SOAP11.pm
Criterion Covered Total %
branch 57 92 61.9


line true false branch
34 0 6 unless $class ne 'XML::Compile::SOAP11'
50 0 6 if $schemas->{'did_init_SOAP11'}++
58 1 5 if $self->can('_initRpcEnc11')
68 0 0 if $wsdl->{'did_init_SOAP11_WSDL'}++
93 8 3 if (ref $args{'body'} eq 'ARRAY')
100 4 7 if (ref $args{'header'} eq 'ARRAY')
111 2 9 if (ref $f eq 'ARRAY')
132 4 1 unless $args{'destination'}
135 2 3 defined $understand ? :
0 5 ref $understand eq 'ARRAY' ? :
139 3 2 unless $args{'header'}
146 0 5 if (keys %understand)
151 0 5 if (keys %destination)
157 1 4 unless $args{'body'}{'parts'}
159 15 5 if $_[0] ne 'http://schemas.xmlsoap.org/soap/envelope/'
177 3 2 unless $header
180 0 2 unless $label eq shift @$rules
186 0 0 defined $part->{'mustUnderstand'} ? :
2 0 $part->{'mustUnderstand'} ? :
190 0 2 if (ref $actor eq 'ARRAY') { }
1 1 elsif (defined $actor) { }
200 3 0 if defined $understand
202 1 2 if $actor
206 2 0 $understand || $actor ? :
235 0 1 ref $det eq 'ARRAY' ? :
0 1 !defined($det) ? :
251 1 0 if (my $elem = $part->{'element'})
254 4 1 if $_[0] ne 'http://schemas.xmlsoap.org/soap/envelope/'
258 0 0 if (my $type = $part->{'type'})
263 0 0 if $_[0] ne 'http://schemas.xmlsoap.org/soap/envelope/'
284 0 1 unless @childs
312 6 3 unless my $faults = $data->{'Fault'}
316 1 2 if $err eq 'Server'
317 0 3 if $err eq 'Client'
326 1 2 if $faults->{'faultactor'}
329 1 2 $details ? :
332 2 1 if (not $details) { }
1 0 elsif (@$dettype and $names{$dettype->[0]}) { }
0 0 elsif (keys %$details == 1) { }
336 1 0 if (keys %$details == 1)
338 1 0 if (ref $v eq 'HASH') { }
346 0 0 ref $v eq 'ARRAY' ? :
347 0 0 UNIVERSAL::isa($_, 'XML::LibXML::Node') ? :
349 0 0 @r == 1 ? :
372 2 1 $_[1] && $_[1] eq 'NEXT' ? :
373 1 0 $_[1] && $_[1] eq 'http://schemas.xmlsoap.org/soap/actor/next' ? :