Condition Coverage

lib/XML/Compile/SOAP11/Encoding.pm
Criterion Covered Total %
condition 11 53 20.7


and 3 conditions

line !l l&&!r l&&r condition
251 0 18 6 $min <= $size and not defined $array->[$min]
253 13 0 5 defined $slice && $min + $slice - 1 < $size
254 0 18 17 $min <= $max and not defined $array->[$max]
406 0 0 0 $i < @_ and $i < @$data
408 0 0 0 defined $root and $root == 0
463 0 0 0 $pos and $pos =~ /^\[([\d,]+)\]/
647 0 0 0 $first && $first->getAttributeNS('http://schemas.xmlsoap.org/soap/encoding/', 'position')
719 0 0 0 ref $hash eq 'HASH' and keys %$hash == 1
726 0 0 0 ref $out{$name}[0] ne 'ARRAY' and ref $value eq 'ARRAY'
746 0 0 0 keys %$tree == 1 && exists $tree->{'_'}

or 2 conditions

line l !l condition
247 4 14 $opts{'offset'} || 0
265 2 16 $opts{'nested_array'} || ''
438 0 0 $node->lookupNamespaceURI($prefix) // ''
457 0 0 $node->namespaceURI || ''
466 0 0 $$place ||= []
475 0 0 $node->getAttribute('href') || ''
658 0 0 $node->getAttributeNS('http://schemas.xmlsoap.org/soap/encoding/', 'offset') || '[0]'

or 3 conditions

line l !l&&r !l&&!r condition
92 0 1 0 $args{'doc'} || 'XML::LibXML::Document'->new('1.0', 'UTF-8')
524 0 0 0 $basetype || &type_of_node($node)
622 0 0 0 $node->getAttributeNS('http://schemas.xmlsoap.org/soap/encoding/', 'arrayType') || $node->getAttributeNS('http://schemas.xmlsoap.org/wsdl/', 'arrayType')