Condition Coverage

blib/lib/Tree/RB/XS.pm
Criterion Covered Total %
condition 18 31 58.0


and 3 conditions

line !l l&&!r l&&r condition
29 45 0 0 @_ == 1 && ref $_[0] eq 'HASH'
48 112 0 6 @_ > 1 and ref $key_or_node ne "Tree::RB::XS::Node"
55 102 0 5 @_ > 1 and ref $key_or_node ne "Tree::RB::XS::Node"
118 1 1 1 @_ == 2 and ref $key eq "HASH"

or 2 conditions

line l !l condition
83 3 0 $self->key || ''
122 1 2 $opts && $opts->{'-reverse'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
50 6 112 0 $key_or_node || $self
57 5 102 0 $key_or_node || $self
69 1 0 0 $self->left_leaf || $self
1 0 0 $self->right_leaf || $self
81 0 3 0 $_[1] || $_[0]