Condition Coverage

blib/lib/Treex/PML/Schema/Decl.pm
Criterion Covered Total %
condition 9 29 31.0


and 3 conditions

line !l l&&!r l&&r condition
137 133 126 17 defined $self->{'role'} && $self->{'role'} eq '#KNIT'
284 104 0 0 not $mdecl->{'-decl'} and $mdecl->{'role'} eq '#KNIT'
332 0 4 0 not $sub->{'-decl'} and $sub->{'role'} eq '#KNIT'
378 108 104 0 exists $sub->{'-schema'} and exists $sub->{'-parent'}
425 0 0 0 $cdecl && $type->get_role ne '#CHILDNODES'

or 2 conditions

line l !l condition
219 230 1026 $_[0]{'role'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
406 0 0 0 $decl_is == 1 or $decl_is == 2
0 0 0 $decl_is == 1 or $decl_is == 2 or $decl_is == 11
0 0 0 $decl_is == 1 or $decl_is == 2 or $decl_is == 11 or $decl_is == 12
0 0 0 $decl_is == 1 or $decl_is == 2 or $decl_is == 11 or $decl_is == 12 or $decl_is == 13