Branch Coverage

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


line true false branch
19 1 65 unless ($pfetcher_is_coderef or $root->can($parent_fetcher))
31 387 407 if ($i < @$current_parents)
34 8 379 if ($seen{$new_root})
38 14 13 if ($reached or $reached = $STACK[$i] eq $new_root)
47 1 378 unless ($pfetcher_is_coderef or $new_root->can($parent_fetcher))
70 129 92 if @$current_parents
83 750 1129 unless @$_
84 601 528 if (not $winner) { }
296 232 elsif ($_->[0] eq $winner) { }
86 72 529 if $tails{$cand}
93 350 179 if @$_
97 138 158 if @$_
105 220 530 unless $cand
106 1 529 unless $winner
116 55 351 unless @STACK