Condition Coverage

blib/lib/Treex/PML/Schema/Copy.pm
Criterion Covered Total %
condition 12 25 48.0


and 3 conditions

line !l l&&!r l&&r condition
54 2 2 0 exists $parent->{'derive'}{$name} and $parent->{'derive'}{$name}{'type'} ne $name
82 0 0 1 ref $parent->{$what} eq 'HASH' and exists $parent->{$what}{$name}
93 3 8 0 exists $type->{'-name'} and $type->{'-name'} eq 'template'
101 9 0 2 defined $ref and length $ref
103 0 0 2 defined $owner and $owner == $template

or 2 conditions

line l !l condition
33 1 0 $copy->{'prefix'} || ''
34 0 1 $parent->{'type'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
54 0 0 4 exists $parent->{'type'}{$name} or exists $parent->{'derive'}{$name} and $parent->{'derive'}{$name}{'type'} ne $name
0 0 4 exists $parent->{'type'}{$name} or exists $parent->{'derive'}{$name} and $parent->{'derive'}{$name}{'type'} ne $name or exists $parent->{'param'}{$name}