blib/lib/Graph/UnionFind.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 28 | 82.1 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 18323 | unless defined $_[1] |
22 | 0 | 18323 | if @_ < 2 or @_ > 3 |
23 | 14739 | 3584 | if (@_ == 2) { } |
24 | 14736 | 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 | 7368 | unless defined(my $px = $self->_parent($x)) |
45 | 3110 | 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) |