Condition Coverage

lib/XML/Compile/SOAP.pm
Criterion Covered Total %
condition 30 75 40.0


and 3 conditions

line !l l&&!r l&&r condition
199 3 7 0 @$blabels == 2 and not keys %{$data{'Body'};}
353 5 0 0 $style eq 'rpc' && $use eq 'encoded'

or 2 conditions

line l !l condition
45 6 0 $args->{'media_type'} || 'application/soap+xml'
94 11 0 $args{'style'} ||= 'document'
153 5 0 $args{'style'} || 'none'
162 0 0 $args{'use'} || $args{'body'}{'use'} || 'literal'
187 0 10 delete $copy{'Body'} || {}
316 2 3 $args->{'header'} || []
347 4 1 $body->{'use'} || 'literal'
351 5 0 $body->{'parts'} || []
447 6 0 $args{'style'} || 'document'
448 0 6 $args{'kind'} || 'request-response'
454 0 0 $args{'use'} || $args{'body'}{'use'} || 'literal'
522 1 0 $child->getAttributeNS($envns, 'mustUnderstand') or 0
560 2 4 $args->{'header'} || []
577 4 2 $body->{'parts'} || []
648 1 0 $incls->shift->getAttribute('href') || ''

or 3 conditions

line l !l&&r !l&&!r condition
48 0 6 0 $args->{'schemas'} || 'XML::Compile::Cache'->new('allow_undeclared', 1, 'any_element', 'ATTEMPT', 'any_attribute', 'ATTEMPT')
160 0 0 0 $args{'procedure'} || $args{'body'}{'procedure'}
182 0 10 0 delete $copy{'_doc'} || 'XML::LibXML::Document'->new('1.0', $charset || 'UTF-8')
191 0 3 0 $data{'Header'}{$label} ||= delete $copy{$label}
196 0 8 0 $data{'Body'}{$label} ||= delete $copy{$label}
324 0 2 0 $code ||= $self->_writer_part_element($args, $part)
327 0 0 0 $code ||= $self->_writer_part_type($args, $part)
346 5 0 0 $args->{'body'} || $args->{'fault'}
386 5 6 0 $part->{'writer'} ||= $self->_writer($element, %$args, 'include_namespaces', sub { $_[2] if $_[0] ne $soapenv; } , 'xsi_type_everywhere', $args->{'is_rpc_enc'})
450 0 0 0 $args{'procedure'} || $args{'body'}{'procedure'}
451 0 0 0 keys %{$args{'body'};} == 0 or $procedure
567 0 2 0 $part->{'reader'} ||= $self->_reader($element, %$args)
609 0 4 0 $part->{'reader'} || $self->_reader($element, %$args)