Condition Coverage

blib/lib/Treex/PML/Schema/Derive.pm
Criterion Covered Total %
condition 18 33 54.5


and 3 conditions

line !l l&&!r l&&r condition
34 17 1 0 $schema->get_decl_type == 22 and $opts->{'no_template_derive'}
1 17 0 $schema->get_decl_type == 14 and $opts->{'no_derive'}
39 0 0 18 defined $source and length $source
42 0 0 18 defined $name and length $name
43 2 16 0 exists $schema->{'type'}{$name} and $source ne $name
114 1 0 1 $attr eq 'type' and not exists $target_container->{'type'}

or 2 conditions

line l !l condition
65 7 0 $target_structure->{'member'} ||= {}
93 2 0 $target_sequence->{'element'} ||= {}
128 6 1 $target_container->{'attribute'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
30 0 18 0 $derive->{'name'} ||= $derive->{'-name'}
34 0 0 18 $schema->get_decl_type == 22 and $opts->{'no_template_derive'} or $schema->get_decl_type == 14 and $opts->{'no_derive'}
153 0 2 14 $seen{$_}++ || exists $delete{$_}