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
28 45 0 0 @_ == 1 && ref $_[0] eq 'HASH'
47 112 0 6 @_ > 1 and ref $key_or_node ne "Tree::RB::XS::Node"
54 102 0 5 @_ > 1 and ref $key_or_node ne "Tree::RB::XS::Node"
117 1 1 1 @_ == 2 and ref $key eq "HASH"

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
49 6 112 0 $key_or_node || $self
56 5 102 0 $key_or_node || $self
68 1 0 0 $self->left_leaf || $self
1 0 0 $self->right_leaf || $self
80 0 3 0 $_[1] || $_[0]