Branch Coverage

blib/lib/Tree/BK.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
21 2 2 if (defined $metric) { }
22 1 1 if (ref $metric ne 'CODE')
40 3 15 unless (defined $$self{'root'})
50 0 2 if ($dist == 0)
57 2 13 if ($dist == 0)
67 0 3 if (@objects < 1)
87 7 1 if ($distance <= $threshold)
93 8 10 if $_ eq 'object'
94 4 6 unless $_ >= $min_dist and $_ <= $max_dist