Branch Coverage

blib/lib/SNA/Network/Algorithm/Louvain.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
54 10 180 $level > 0 ? :
10 180 $level > 0 ? :
83 16 1080 $level > 0 ? :
113 16 1080 if ($level > 0)
132 500 4466 if ($gain > $max_gain)
138 275 821 if ($max_gain > 1e-07)
153 1 2 unless $has_changed
167 1 1 if $level > 0
245 6 8 if $$self{'louvain_levels'} == 0
289 10 42 if $meta_node == $peer_node
292 36 6 if ($weight)
309 1 1 if $communities[0]->level == 0