Branch Coverage

blib/lib/Net/IPAM/Tree/Private.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
31 14 34 unless (defined $t->{'_tree'}{$parent})
42 14 20 if ($t->{'_items'}[$prev]->contains($t->{'_items'}[$child]))
69 2 6 if ($idx < 0)
75 5 1 if ($idx < @$c_idxs)
80 1 4 if ($t->{'_items'}[$i]->cmp($block) == 0)
90 1 4 if ($idx == 0)
103 2 3 if ($t->{'_items'}[$i]->contains($block))
140 7 7 if ($idx >= 0 and $idx < @$c_idxs)
145 2 5 if ($t->{'_items'}[$i]->cmp($block) == 0)
152 7 5 if ($idx > 0)
157 3 4 if ($t->{'_items'}[$i]->contains($block))
165 7 2 if ($parent eq "_ROOT")
179 16 7 unless (defined $c_idxs)
213 8 3 if (defined $p)
234 1 10 if $err
238 2 6 if $err