Branch Coverage

blib/lib/Graph/UnionFind.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
21 0 18031 unless defined $_[1]
22 0 18031 if @_ < 2 or @_ > 3
23 14503 3528 if (@_ == 2) { }
24 14500 3 exists $_[0]{$_[1]} ? :
31 0 987 unless defined $_[1]
32 0 987 if @_ < 2 or @_ > 3
33 948 39 if (@_ == 2) { }
34 948 0 exists $_[0]{$_[1]} ? :
44 3 7250 unless defined(my $px = $self->_parent($x))
45 3054 4196 if $px ne $x
56 16 474 if $px eq $py
60 416 58 if ($rx > $ry) { }
64 39 19 if $rx == $ry
72 1 1584 if grep((!defined($_)), $fu, $fv)