Condition Coverage

blib/lib/Treex/PML/Node.pm
Criterion Covered Total %
condition 4 60 6.6


and 3 conditions

line !l l&&!r l&&r condition
212 0 0 0 defined $attr and length $attr
386 0 0 0 defined $log and UNIVERSAL::isa($log, 'ARRAY')
424 0 0 0 defined $log and not UNIVERSAL::isa($log, 'ARRAY')
518 0 0 0 defined $top and $node == $top
745 0 0 0 defined $hidden and length $hidden
817 0 0 0 $p and $node == $p->{$firstson}
848 0 0 0 $b and defined $ordnum
0 0 0 $b and defined $ordnum and $ordnum > ($b->{$aord} || 0)
849 0 0 0 $b->{$rbrother} and $ordnum > $b->{$rbrother}{$aord}

or 2 conditions

line l !l condition
472 5960 0 $top ||= 0
538 0 0 $top ||= 0
848 0 0 $b->{$aord} || 0

or 3 conditions

line l !l&&r !l&&!r condition
120 0 11235 0 ref $self || $self
347 0 0 0 $decl_type == 12 or $decl_type == 13
0 0 0 $decl_type == 12 or $decl_type == 13 or $decl_type == 1
0 0 0 $decl_type == 12 or $decl_type == 13 or $decl_type == 1 or $decl_type == 2
354 0 0 0 $decl_type == 4 or $decl_type == 3
474 568 0 7916 $node == $top or not $node->{$parent}
518 0 0 0 defined $top and $node == $top or not $node->parent
551 0 0 0 $node == $top or not $node->{$parent}
672 0 0 0 UNIVERSAL::DOES::does($node, 'Treex::PML::List') or UNIVERSAL::DOES::does($node, 'Treex::PML::Alt')