Condition Coverage

blib/lib/Tree/Treap.pm
Criterion Covered Total %
condition 26 36 72.2


and 3 conditions

line !l l&&!r l&&r condition
126 661 477 6702 not $self->_is_empty and $self->ne($key)
155 15 675 0 !defined($low) || $self->le($low) and !defined($high) || $self->ge($high)
311 311 99 220 $$self{'left'}->_is_empty && $$self{'right'}->_is_empty

or 2 conditions

line l !l condition
17 3214 0 shift() || 'str'
212 0 0 shift() || 1
223 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
15 3190 24 0 ref $class || $class
21 24 0 0 $comp{$cmp} || $comp{'num'}
35 5599 872 0 shift() || rand()
151 634 32 24 not defined $low or $self->lt($low)
155 634 41 15 !defined($low) || $self->le($low)
41 618 16 !defined($high) || $self->ge($high)
160 56 613 21 not defined $high or $self->gt($high)