Condition Coverage

blib/lib/Treex/PML/Schema/Import.pm
Criterion Covered Total %
condition 0 44 0.0


and 3 conditions

line !l l&&!r l&&r condition
34 0 0 0 $parent->get_decl_type == 22 and $opts->{'no_template_import'}
0 0 0 $parent->get_decl_type == 14 and $opts->{'no_import'}
50 0 0 0 defined $import->{'type'} and $import->{'type'} eq '*'
70 0 0 0 defined $import->{'template'} and $import->{'template'} eq '*'
90 0 0 0 !(exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'}) || defined $import->{'root'} && $import->{'root'} eq '1' and not exists $parent->{'root'}
0 0 0 !(exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'}) || defined $import->{'root'} && $import->{'root'} eq '1' and not exists $parent->{'root'} and $schema->{'root'}

or 2 conditions

line l !l condition
30 0 0 $target->{'URL'} || ''
37 0 0 $opts->{'schemas'} ||= {}
56 0 0 $parent->{'type'} ||= {}
75 0 0 $parent->{'template'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 0 $parent->get_decl_type == 22 and $opts->{'no_template_import'} or $parent->get_decl_type == 14 and $opts->{'no_import'}
50 0 0 0 exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'}
0 0 0 not exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'} or defined $import->{'type'} and $import->{'type'} eq '*'
70 0 0 0 exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'}
0 0 0 not exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'} or defined $import->{'template'} and $import->{'template'} eq '*'
90 0 0 0 !(exists $import->{'type'} || exists $import->{'template'} || exists $import->{'root'}) || defined $import->{'root'} && $import->{'root'} eq '1'