Branch Coverage

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


line true false branch
21 0 18487 unless defined $_[1]
22 0 18487 if @_ < 2 or @_ > 3
23 14863 3624 if (@_ == 2) { }
24 14860 3 exists $_[0]{$_[1]} ? :
31 0 1008 unless defined $_[1]
32 0 1008 if @_ < 2 or @_ > 3
33 968 40 if (@_ == 2) { }
34 968 0 exists $_[0]{$_[1]} ? :
44 3 7430 unless defined(my $px = $self->_parent($x))
45 3140 4290 if $px ne $x
56 16 484 if $px eq $py
60 425 59 if ($rx > $ry) { }
64 40 19 if $rx == $ry
72 1 1621 if grep((!defined($_)), $fu, $fv)