Branch Coverage

blib/lib/Treex/PML/Schema/Import.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
34 0 0 if $parent->get_decl_type == 22 and $opts->{'no_template_import'} or $parent->get_decl_type == 14 and $opts->{'no_import'}
35 0 0 unless $import->{'schema'}
46 0 0 exists $import->{$_} ? :
50 0 0 if (not exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'} or defined $import->{'type'} and $import->{'type'} eq '*') { }
55 0 0 if (ref $schema->{'type'})
58 0 0 unless (exists $parent->{'type'}{$name})
66 0 0 if (ref $schema->{'type'})
70 0 0 if (not exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'} or defined $import->{'template'} and $import->{'template'} eq '*') { }
74 0 0 if (ref $schema->{'template'})
77 0 0 unless (exists $parent->{'template'}{$name})
84 0 0 if (ref $schema->{'template'})
85 0 0 unless (exists $parent->{'template'}{$name})
90 0 0 if (!(exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'}) || defined $import->{'root'} && $import->{'root'} eq '1' and not exists $parent->{'root'} and $schema->{'root'})
101 0 0 unless (exists $src_schema->{'type'}{$name})
108 0 0 if (exists $target->{'type'}{$n}) { }