Condition Coverage

blib/lib/Tree/RedBlack.pm
Criterion Covered Total %
condition 17 36 47.2


and 3 conditions

line !l l&&!r l&&r condition
150 3 4 3 $node != $$this{'root'} and $node->parent->color
151 1 1 1 defined $node->parent->parent->left and $node->parent == $node->parent->parent->left
153 1 0 0 $uncle and $uncle->color
169 1 0 1 $uncle and $uncle->color
175 1 0 0 defined $node->parent->left and $node == $node->parent->left
234 1 0 0 ref $node_or_key and $node_or_key->isa('Tree::RedBlack::Node')
240 1 0 0 $node->left && $node->right
251 0 0 1 $successor_child && $successor_child->parent
273 1 0 1 $x != $$this{'root'} and not $x->color

or 3 conditions

line l !l&&r !l&&!r condition
248 0 1 0 $successor->right || $$this{'null'}
281 1 0 0 $w->left->color || $w->right->color
304 0 0 0 $w->left->color || $w->right->color