Branch Coverage

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


line true false branch
21 0 18362 unless defined $_[1]
22 0 18362 if @_ < 2 or @_ > 3
23 14765 3597 if (@_ == 2) { }
24 14762 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 7381 unless defined(my $px = $self->_parent($x))
45 3123 4258 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 1615 if grep((!defined($_)), $fu, $fv)