Branch Coverage

blib/lib/Graph/Undirected/Components.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
125 0 17264 if @_ < 2
131 0 17264 if @_ < 3
140 17258 6 if ($_[1] ne $_[2])
151 28 17236 if ($rootOfVertexInfoX == $rootOfVertexInfoY)
161 5280 11956 if ($$rootOfVertexInfoX[2] > $$rootOfVertexInfoY[2]) { }
174 1254 4026 if $$rootOfVertexInfoY[3] lt $$rootOfVertexInfoX[3]
192 4806 7150 if $$rootOfVertexInfoX[3] lt $$rootOfVertexInfoY[3]
237 23888 29216 if $$vertexInfo[0] eq $_[1]
258 29216 17646 if ($$vertexInfoOfParent[0] eq $stack[-1][0])
297 115912 18576 if exists $$vertices{$Vertex}
336 40 0 if wantarray
358 0 409 unless defined $PercentageToKeep
360 0 409 if $PercentageToKeep > 1
425 40 15249 unless exists $components{$minVertexOfComponent}
453 0 0 if $$rootOfVertexInfo[3] gt $vertex
477 0 0 unless ($listOfComponents)
489 0 0 if ($$rootOfVertexInfo[1] < $$vertexInfo[1])
496 0 0 if ($$rootOfVertexInfo[2] != scalar @$listOfComponents)