Branch Coverage

blib/lib/Tree/Treap.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
18 0 0 if (ref $cmp eq 'CODE') { }
34 0 0 defined $data ? :
37 0 0 if ($self->_is_empty)
46 0 0 if ($self->gt($key)) { }
0 0 elsif ($self->lt($key)) { }
48 0 0 if ($$self{'right'}{'priority'} > $$self{'priority'})
53 0 0 if ($$self{'left'}{'priority'} > $$self{'priority'})
67 0 0 unless $self = $self->_get_node($key)
74 0 0 if ($self->_is_leaf) { }
0 0 elsif ($$self{'left'}{'priority'} > $$self{'right'}{'priority'}) { }
88 0 0 if $self->_is_empty
94 0 0 if $self->_is_empty
100 0 0 if $self->_is_empty
106 0 0 if $self->_is_empty
113 0 0 if $self->_get_node($key)
119 0 0 $node ? :
127 0 0 $self->lt($key) ? :
129 0 0 $self->_is_empty ? :
149 0 0 if $self->_is_empty
151 0 0 if (not defined $low or $self->lt($low))
155 0 0 if (!defined($low) || $self->le($low) and !defined($high) || $self->ge($high))
160 0 0 if (not defined $high or $self->gt($high))
181 0 0 if ($$T1{'cmp'}($T1->maximum, $T2->minimum) >= 0)
194 0 0 if $self->_is_empty
202 0 0 if $self->_is_empty
214 0 0 if $self->_is_empty
224 0 0 if $self->_is_empty
227 0 0 if $left > $depth
228 0 0 if $right > $depth
241 0 0 if $self->_is_empty
242 0 0 if $self->ge($key)
244 0 0 if $self->lt($key)
245 0 0 $succ->_is_empty ? :
257 0 0 if $self->_is_empty
258 0 0 if $self->le($key)
260 0 0 if $self->gt($key)
261 0 0 $pred->_is_empty ? :