line |
true |
false |
branch |
40
|
52 |
0 |
if $args->{'top'} |
43
|
0 |
52 |
if (my $h1 = $args->{'hook'}) |
44
|
0 |
0 |
ref $h1 eq 'ARRAY' ? : |
46
|
0 |
52 |
if (my $h2 = $args->{'hooks'}) |
47
|
0 |
0 |
ref $h2 eq 'ARRAY' ? : |
51
|
0 |
52 |
if (my $kr = $args->{'key_rewrite'}) |
52
|
0 |
0 |
ref $kr eq 'ARRAY' ? : |
69
|
0 |
0 |
defined $_[0] ? : |
|
1 |
0 |
@_ > 1 ? : |
83
|
0 |
752 |
unless my $dir = shift() |
101
|
0 |
54 |
unless defined $node |
106
|
56 |
214 |
if exists $opts{$o} |
109
|
0 |
54 |
if UNIVERSAL::isa($node, 'XML::Compile::Schema') |
113
|
0 |
54 |
unless UNIVERSAL::isa($node, 'XML::LibXML::Node') |
116
|
0 |
54 |
if $node->isa('XML::LibXML::Document') |
125
|
18 |
58 |
unless $this->isa('XML::LibXML::Element') and $this->localName eq 'schema' |
128
|
0 |
58 |
unless my $schema = 'XML::Compile::Schema::Instance'->new($this, @nsopts) |
154
|
0 |
0 |
defined wantarray ? : |
159
|
10 |
758 |
defined $_ ? : |
|
3 |
768 |
ref $_ eq 'ARRAY' ? : |
163
|
4 |
14 |
if ($rule eq 'PREFIXED') { } |
|
0 |
14 |
elsif ($rule =~ /^PREFIXED\((.*)\)/) { } |
168
|
0 |
767 |
keys %pref ? : |
|
4 |
767 |
$pref_all ? : |
181
|
0 |
1542 |
ref $_ eq 'ARRAY' ? : |
190
|
0 |
752 |
unless defined $type |
192
|
0 |
752 |
if (exists $args{'validation'}) { } |
198
|
2 |
750 |
unless exists $args{'check_values'} |
199
|
749 |
3 |
unless exists $args{'check_occurs'} |
203
|
0 |
752 |
exists $args{'ignore_unused_tags'} ? : |
206
|
0 |
0 |
ref $iut eq 'Regexp' ? : |
|
752 |
0 |
!defined($iut) ? : |
209
|
5 |
747 |
unless exists $args{'include_namespaces'} |
211
|
94 |
658 |
if ($args{'sloppy_integers'} ||= 0) |
213
|
0 |
94 |
if $@ |
217
|
43 |
709 |
if ($args{'sloppy_floats'} ||= 0) |
219
|
0 |
43 |
if $@ |
222
|
0 |
752 |
if ($args{'json_friendly'} ||= 0) |
224
|
0 |
0 |
if $@ |
238
|
0 |
8 |
ref $h1 eq 'ARRAY' ? : |
|
8 |
744 |
if $h1 |
239
|
0 |
0 |
ref $h2 eq 'ARRAY' ? : |
|
0 |
752 |
if $h2 |
241
|
746 |
6 |
unless $args{'typemap'} |
249
|
389 |
350 |
$action eq 'READER' ? : |
255
|
6 |
746 |
if (my $xi = $args{'xsi_type'}) |
258
|
2 |
4 |
if $xi->{$_} eq 'AUTO' |
279
|
37 |
734 |
if ref $table eq 'ARRAY' |
285
|
0 |
771 |
if ($reset_count) |
290
|
429 |
342 |
if $block_default and not grep(($_->{'prefix'} eq ''), values %$table) |
309
|
0 |
0 |
$ns ? : |
332
|
1 |
0 |
$action eq 'TREE' ? : |
|
2 |
1 |
$action eq 'XML' ? : |
|
16 |
3 |
$action eq 'PERL' ? : |
342
|
6 |
13 |
exists $args{'show'} ? : |
|
0 |
19 |
exists $args{'show_comments'} ? : |
344
|
17 |
2 |
if $show eq 'ALL' |
345
|
2 |
17 |
if $show eq 'NONE' |
356
|
1 |
18 |
unless exists $args{'include_namespaces'} |
360
|
0 |
2 |
if $to_xml and defined $args{'typemap'} and keys %{$args{'typemap'};} |
389
|
0 |
19 |
unless $compiled |
394
|
16 |
3 |
if ($to_perl) |
399
|
2 |
1 |
if ($to_xml) |
423
|
0 |
54 |
ref $frags eq 'ARRAY' ? : |
431
|
0 |
54 |
unless defined $data |
433
|
0 |
54 |
if $options{'details'} |
435
|
54 |
0 |
if (defined $xml) { } |
|
0 |
0 |
elsif (my $filestamp = $details{'filestamp'}) { } |
|
0 |
0 |
elsif (my $checksum = $details{'checksum'}) { } |
437
|
53 |
1 |
if (my $checksum = $details{'checksum'}) { } |
|
0 |
1 |
elsif (my $filestamp = $details{'filestamp'}) { } |
461
|
0 |
53 |
unless ref $thing and $thing->{'_use_cache'} |
465
|
0 |
53 |
if ($self->{'_cache_checksum'}{$checksum}) |
481
|
0 |
0 |
unless ref $thing and $thing->{'_use_cache'} |
487
|
0 |
0 |
if ($self->{'_cache_file'}{$filestamp}) |