| line |
true |
false |
branch |
|
19
|
0 |
0 |
if (ref $$t{-'schema'}) { } |
|
24
|
0 |
0 |
if (exists $self->{'-##'}) |
|
32
|
0 |
0 |
if ref $$val{-'parent'} and not &isweak($$val{-'parent'}) |
|
33
|
0 |
0 |
if ref $$val{-'schema'} and not &isweak($$val{-'schema'}) |
|
48
|
0 |
0 |
if $attr =~ /^xmlns/ |
|
50
|
0 |
0 |
if (not defined $value and $attr eq 'name') |
|
53
|
0 |
0 |
if (defined $value) |
|
65
|
0 |
0 |
unless $$self{-'attributes'} |
|
72
|
0 |
0 |
UNIVERSAL::DOES::does($val, 'Treex::PML::Schema::XMLNode') || !ref($val) ? : |
|
|
0 |
0 |
ref $val eq 'ARRAY' ? : |
|
|
0 |
0 |
ref $val eq 'HASH' ? : |
|
87
|
0 |
0 |
if (UNIVERSAL::DOES::does($value, 'Treex::PML::Schema::XMLNode')) { } |
|
91
|
0 |
0 |
if defined $key |
|
93
|
0 |
0 |
if defined $key |
|
101
|
0 |
0 |
if ($xml_name =~ /^#/) { } |
|
|
0 |
0 |
elsif ($xml_name =~ /^{(.*)}(.*)$/ or $xml_name =~ /^()([^#].*)$/) { } |
|
102
|
0 |
0 |
if ($xml_name =~ /^#text/) { } |
|
|
0 |
0 |
elsif ($xml_name =~ /^#comment/) { } |
|
|
0 |
0 |
elsif ($xml_name =~ /^#processing-instruction/) { } |
|
|
0 |
0 |
elsif ($xml_name =~ /^#other/) { } |
|
120
|
0 |
0 |
if ($ns ne $opts->{'DefaultNs'}) |
|
126
|
0 |
0 |
if (@children) { } |
|
142
|
0 |
0 |
if (not defined $opts->{'fh'} || defined $opts->{'string'} and defined $filename) |
|
145
|
0 |
0 |
unless ($opts->{'no_backups'}) |
|
146
|
0 |
0 |
unless eval {
do {
Treex::PML::IO::rename_uri($filename, $filename . '~');
$have_backup = 1
}
} |
|
156
|
0 |
0 |
$opts->{'no_indent'} ? : |
|
|
0 |
0 |
$opts->{'no_indent'} ? : |
|
167
|
0 |
0 |
if ($@) |
|
169
|
0 |
0 |
if $have_backup |
|
170
|
0 |
0 |
if $@ |
|
173
|
0 |
0 |
if $fh |