Branch Coverage

blib/lib/Treex/Core/Phrase/BaseNTerm.pm
Criterion Covered Total %
branch 17 84 20.2


line true false branch
79 0 0 if $self->dead
81 0 0 if $new_head == $old_head
88 0 0 if (defined $self->parent)
111 13 0 unless @parray
112 0 0 if ref $parray[0] eq 'HASH'
114 0 0 if (exists $phash{'ordered'})
117 0 0 if (defined $phash{'ordered'} and $phash{'ordered'} == 0)
146 0 0 if $self->dead
157 0 0 $self->_order_required(@_) ? :
170 0 0 if $self->dead
178 0 0 $self->_order_required(@_) ? :
192 0 7 if $self->dead
194 0 7 $self->_order_required(@_) ? :
207 0 1 if $self->dead
222 0 4 if $self->dead
236 0 3 if $self->dead
238 0 3 $self->_order_required(@_) ? :
250 0 9 if $self->dead
263 0 0 if $self->dead
278 0 0 if $self->dead
295 0 0 if $self->dead
316 0 0 if (not defined $min or $left < $min)
320 0 0 if (not defined $max or $right > $max)
337 0 2 if scalar @_ != 2
340 0 2 if $self->dead
342 0 2 if (not defined $new_child && defined $new_child->parent or $new_child->parent != $self)
360 0 1 if scalar @_ != 2
363 0 1 if $self->dead
364 0 1 if (not defined $child && defined $child->parent or $child->parent != $self)
368 0 1 if (&any(sub {
378 1 0 if ($nhc->[$i] == $child)
385 0 1 if (not $found)
402 0 0 if $self->dead
403 0 0 if (not defined $old_child && defined $old_child->parent or $old_child->parent != $self)
407 0 0 unless (defined $new_child)
411 0 0 if (defined $new_child->parent)
413 0 0 if ($new_child->parent == $self) { }
436 0 0 if $self->dead
443 0 0 if ($nhc->[$i] == $old_child)
513 0 0 if $self->dead
543 0 0 if $deps
545 0 0 if $self->is_member