Condition Coverage

blib/lib/Btrees.pm
Criterion Covered Total %
condition 20 27 74.0


and 3 conditions

line !l l&&!r l&&r condition
268 107 0 187 defined $$tree{'left'} && $$tree{'left'}{'height'}
269 35 0 259 defined $$tree{'right'} && $$tree{'right'}{'height'}
295 124 0 233 defined($p = $$tree{'left'}) && $$p{'height'}
296 75 0 282 defined($p = $$tree{'right'}) && $$p{'height'}

or 2 conditions

line l !l condition
337 9 31 $l && $$l{'height'} || 0
338 14 26 $rl && $$rl{'height'} || 0
339 36 4 $rr && $$rr{'height'} || 0
359 1 6 $r && $$r{'height'} || 0
360 4 3 $lr && $$lr{'height'} || 0
361 4 3 $ll && $$ll{'height'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
66 0 0 0 $$tree{'height'} || $max