line |
true |
false |
branch |
35
|
0 |
58 |
unless defined $top and $top->isa('XML::LibXML::Node') |
84
|
0 |
58 |
unless $schema->localName eq 'schema' |
88
|
58 |
0 |
if (length $xsd) |
90
|
0 |
58 |
unless my $def = $self->{'def'} = 'XML::Compile::Schema::Specs'->predefinedSchema($xsd) |
98
|
1 |
57 |
if ($tns = $args->{'target_namespace'}) { } |
123
|
567 |
443 |
unless $node->isa('XML::LibXML::Element') |
126
|
0 |
443 |
unless $myns eq $xsd |
131
|
10 |
433 |
if $skip_toplevel{$local} |
133
|
1 |
432 |
if ($local eq 'import') |
140
|
0 |
432 |
if ($local eq 'include') |
141
|
0 |
0 |
unless my $location = $node->getAttribute('schemaLocation') |
149
|
0 |
432 |
unless ($defkinds{$local}) |
155
|
0 |
432 |
unless my $name = $node->getAttribute('name') |
164
|
5 |
427 |
if (my $sg = $node->getAttribute('substitutionGroup')) |
165
|
5 |
0 |
$sg =~ /:/ ? : |
183
|
0 |
0 |
$locs ? : |
189
|
1 |
0 |
@_ % 2 ? : |
193
|
0 |
1 |
if (defined(my $filename = $self->filename)) { } |
|
1 |
0 |
elsif (defined(my $source = $self->source)) { } |
203
|
0 |
0 |
ref $args{'kinds'} eq 'ARRAY' ? : |
|
1 |
0 |
!defined($args{'kinds'}) ? : |
206
|
0 |
1 |
exists $args{'list_abstract'} ? : |
210
|
1 |
5 |
unless keys %$table |
211
|
5 |
0 |
if @kinds > 1 |
216
|
0 |
145 |
if $info->{'abstract'} and not $list_abstract |
217
|
5 |
140 |
$info->{'abstract'} ? : |
218
|
0 |
145 |
$info->{'final'} ? : |
227
|
263 |
2428 |
unless my $node = $self->{$kind}{$full} |
230
|
2000 |
428 |
if ref $node eq 'HASH' |
245
|
241 |
187 |
if ($local eq 'element') { } |
|
4 |
183 |
elsif ($local eq 'attribute') { } |