Branch Coverage

blib/lib/Treex/PML/Schema/Decl.pm
Criterion Covered Total %
branch 0 100 0.0


line true false branch
102 0 0 if ($$self{-'decl'}) { }
0 0 elsif (my $resolved = $$self{-'resolved'}) { }
0 0 elsif (my $type_ref = $self->{'type'}) { }
108 0 0 if ($schema) { }
110 0 0 if ($no_resolve) { }
0 0 elsif ($type) { }
137 0 0 defined $self->{'role'} && $self->{'role'} eq '#KNIT' ? :
165 0 0 if (my $resolved = $$self{-'resolved'}) { }
0 0 elsif (my $type_ref = $self->{'type'}) { }
169 0 0 if ($schema)
173 0 0 $type ? :
0 0 $no_resolve ? :
189 0 0 if ($path =~ m[^!([^/]+)]) { }
268 0 0 if ($sub = $decl->{'structure'}) { }
0 0 elsif ($sub = $decl->{'container'}) { }
0 0 elsif ($sub = $decl->{'sequence'}) { }
0 0 elsif ($sub = $decl->{'list'}) { }
0 0 elsif ($sub = $decl->{'alt'}) { }
0 0 elsif ($sub = $decl->{'choice'}) { }
0 0 elsif ($sub = $decl->{'cdata'}) { }
0 0 elsif (exists $decl->{'constant'}) { }
272 0 0 if (my $members = $sub->{'member'})
284 0 0 if (not $$mdecl{-'decl'} and $mdecl->{'role'} eq '#KNIT')
294 0 0 if (my $members = $sub->{'attribute'})
313 0 0 if (my $members = $sub->{'element'})
332 0 0 if (not $$sub{-'decl'} and $sub->{'role'} eq '#KNIT')
344 0 0 if (ref $sub eq 'ARRAY') { }
0 0 elsif (ref $sub) { }
347 0 0 ref $_ eq 'HASH' ? :
353 0 0 if (ref $sub->{'value'} eq 'ARRAY')
369 0 0 unless (ref $sub)
378 0 0 unless (exists $$sub{-'schema'} and exists $$sub{-'parent'})
379 0 0 unless $$sub{-'schema'}
380 0 0 unless $$sub{-'parent'}
401 0 0 defined $path ? :
404 0 0 unless ref $type
406 0 0 if ($decl_is == 1 or $decl_is == 2 or $decl_is == 11 or $decl_is == 12 or $decl_is == 13)
411 0 0 if ($type = $type->get_content_decl) { }
418 0 0 if ($decl_is == 3) { }
0 0 elsif ($decl_is == 4) { }
425 0 0 $cdecl && $type->get_role ne '#CHILDNODES' ? :
440 0 0 if ($self->get_decl_type == 13)
443 0 0 unless $self->get_role eq '#NODE'
445 0 0 if ($ch)
447 0 0 if ($ch_is == 12)
451 0 0 if ($ch_is == 5) { }
0 0 elsif ($ch_is == 6) { }
515 0 0 if (ref $self->{$d})
519 0 0 if $d eq 'attribute'
525 0 0 if (exists $self->{$d})