Branch Coverage

blib/lib/DBIx/Class/Tree/AdjacencyList.pm
Criterion Covered Total %
branch 9 28 32.1


line true false branch
82 2 0 if (@_)
148 83 11 if (@_)
151 3 80 if (ref $new_parent)
154 0 83 if $new_parent == ($self->get_column($parent_col) || 0)
156 0 83 if ($self->repair_tree)
158 0 0 if ($found)
207 0 0 if ($child->id eq $find_id)
210 0 0 if $child->has_descendant($find_id)
277 0 4 if wantarray
296 0 2 unless $node->parent($self->parent)
314 0 0 $has_child ? :
327 0 0 $self->get_column($self->_parent_column) ? :
341 0 0 $self->is_leaf || $self->is_root ? :
356 0 0 if (@_ > 1)