Condition Coverage

blib/lib/Lingua/Treebank/Const.pm
Criterion Covered Total %
condition 6 37 16.2


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 0 not $do_terminal and $$_[0] =~ /::/
226 0 0 0 defined $stop_criterion and &{$stop_criterion;}($node, $state)
264 0 0 0 @self_lineage and @cousin_lineage
692 0 0 0 $parent == $self->parent && $parent == $other->parent
827 0 4507 0 defined $tag and defined $childrentext
916 4507 0 2363 $nextL == -1 and $nextR == -1
1067 0 0 0 defined $self->headchild and $self->headchild == $d
1148 0 0 0 $self->is_root && !$self->tag && scalar @{$self->children;} == 1

or 2 conditions

line l !l condition
163 0 0 $edges{$_} || 0
0 0 $other_edges{$_} || 0

or 3 conditions

line l !l&&r !l&&!r condition
687 0 0 0 $self->is_root or $other->is_root
931 4479 18036 18008 $nextL == -1 or $nextR < $nextL
1237 0 0 0 not defined $parent or $parent->headterminal != $self