line |
true |
false |
branch |
20
|
0 |
0 |
unless (exists $derive->{'type'}) |
23
|
0 |
0 |
if (not exists $derive->{'name'}) |
34
|
0 |
0 |
if $schema->get_decl_type == 22 and $opts->{'no_template_derive'} or $schema->get_decl_type == 14 and $opts->{'no_derive'} |
39
|
0 |
0 |
unless (defined $source and length $source) |
42
|
0 |
0 |
if (defined $name and length $name) { } |
43
|
0 |
0 |
if (exists $schema->{'type'}{$name} and $source ne $name) |
54
|
0 |
0 |
if ($derive->{'structure'}) { } |
|
0 |
0 |
elsif ($derive->{'sequence'}) { } |
|
0 |
0 |
elsif ($derive->{'container'}) { } |
|
0 |
0 |
elsif ($derive->{'choice'}) { } |
55
|
0 |
0 |
if ($type->{'structure'}) { } |
59
|
0 |
0 |
if (exists $derive_structure->{$attr}) |
62
|
0 |
0 |
unless grep {$_ eq $attr;} @{$$target_structure{-'attributes'};} |
70
|
0 |
0 |
if (ref $derive_structure->{'delete'}) |
80
|
0 |
0 |
if ($type->{'sequence'}) { } |
83
|
0 |
0 |
if (exists $derive_sequence->{'role'}) |
86
|
0 |
0 |
unless grep {$_ eq 'role';} @{$$target_sequence{-'attributes'};} |
88
|
0 |
0 |
if exists $derive_sequence->{'content_pattern'} |
94
|
0 |
0 |
if (ref $derive_sequence->{'delete'}) |
105
|
0 |
0 |
if ($type->{'container'}) { } |
109
|
0 |
0 |
unless exists $derive_container->{$attr} |
110
|
0 |
0 |
if ($attr eq 'type' and not exists $target_container->{'type'}) |
112
|
0 |
0 |
if (exists $target_container->{$d}) |
122
|
0 |
0 |
unless grep {$_ eq $attr;} @{$$target_container{-'attributes'};} |
129
|
0 |
0 |
if (ref $derive_container->{'delete'}) |
139
|
0 |
0 |
if ($type->{'choice'}) { } |
141
|
0 |
0 |
if (UNIVERSAL::isa($choice, 'HASH')) { } |
142
|
0 |
0 |
if ref $choice->{'values'} |
143
|
0 |
0 |
if ref $choice->{'delete'} |
154
|
0 |
0 |
unless ($name ne $source) |