Branch Coverage

blib/lib/Algorithm/C3.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
20 1 65 unless ($pfetcher_is_coderef or $root->can($parent_fetcher))
32 387 407 if ($i < @$current_parents)
35 8 379 if ($seen{$new_root})
39 14 13 if ($reached or $reached = $STACK[$i] eq $new_root)
48 1 378 unless ($pfetcher_is_coderef or $new_root->can($parent_fetcher))
71 129 92 if @$current_parents
84 750 1129 unless @$_
85 601 528 if (not $winner) { }
296 232 elsif ($$_[0] eq $winner) { }
87 72 529 if $tails{$cand}
94 350 179 if @$_
98 138 158 if @$_
106 220 530 unless $cand
107 1 529 unless $winner
117 55 351 unless @STACK