Branch Coverage

blib/lib/Btrees.pm
Criterion Covered Total %
branch 40 46 86.9


line true false branch
60 0 0 unless my $tree = shift()
83 84 77 unless my $tree = shift()
104 267 6 defined $cmp ? :
109 40 233 if $relation == 0
112 119 114 $relation < 0 ? :
137 96 270 unless ($tree)
147 165 105 defined $cmp ? :
152 1 269 if $relation == 0
155 85 184 if ($relation < 0) { }
186 1 38 unless my $tree = shift()
191 0 38 defined $cmp ? :
195 21 17 if ($relation != 0) { }
197 17 4 if ($relation < 0) { }
206 3 18 unless $node
238 10 7 unless defined $r
239 7 0 unless defined $l
244 0 0 if ($$l{'height'} > $$r{'height'}) { }
265 10 294 unless my $tree = shift()
272 7 287 if ($lh > 1 + $rh) { }
40 247 elsif ($lh + 1 < $rh) { }
297 130 227 $lh < $rh ? :
341 4 36 if ($rlh > $rrh)
363 4 3 if ($lrh > $llh)