Branch Coverage

blib/lib/LaTeX/TikZ/Functor/Rule.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
157 5 111 if ($replace) { }
162 21 0 if ($rule->handles($old_target))
163 16 5 if ($replaced) { }
177 5 0 if $replaced
188 9 390 if ($old_target eq $target) { }
1 389 elsif ($rule->handles($old_target)) { }
12 377 elsif ($old_rule->handles($target)) { }
189 0 9 unless $overwrite
201 12 90 if (defined $first_ancestor) { }
0 90 elsif (defined $last_descendant) { }
202 0 12 if defined $last_descendant and $first_ancestor <= $last_descendant
209 12 90 if (defined $pos)
230 34 776 $rule->is_role ? :