Condition Coverage

lib/XML/Compile/Schema/Instance.pm
Criterion Covered Total %
condition 23 42 54.7


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 58 defined $top and $top->isa('XML::LibXML::Node')
216 140 5 0 $info->{'abstract'} and not $list_abstract

or 2 conditions

line l !l condition
87 58 0 $schema->namespaceURI || ''
103 55 2 $schema->getAttribute('targetNamespace') || ''
108 16 42 $args->{'element_form_default'} || $schema->getAttribute('elementFormDefault') || 'unqualified'
112 2 56 $args->{'attribute_form_default'} || $schema->getAttribute('attributeFormDefault') || 'unqualified'
125 443 0 $node->namespaceURI || ''
126 0 0 $myns || ''
135 1 0 $node->getAttribute('schemaLocation') || ''
238 7 421 $node->getAttribute('abstract') || ''
241 0 428 $node->getAttribute('final') || ''

or 3 conditions

line l !l&&r !l&&!r condition
134 1 0 0 $node->getAttribute('namespace') || $tns
159 0 426 6 $node->getAttribute('targetNamespace') || $tns
239 7 0 421 $abstract eq 'true' || $abstract eq '1'
242 0 0 428 $final eq 'true' || $final eq '1'
247 0 428 0 $info{'efd'} ||= $self->{'efd'}
248 0 428 0 $info{'afd'} ||= $self->{'afd'}