Branch Coverage

blib/lib/Paths/Graph.pm
Criterion Covered Total %
branch 11 36 30.5


line true false branch
33 0 4 unless @nodes
36 0 2 if not $cur_node or $ant_node eq $cur_node or not $$self{'graph'}{$ant_node}{$cur_node}
45 0 1 if $father eq '0'
46 0 1 if $$self{'sub'}
53 1 0 if ($cost <= $minor_cost or $minor_cost == 0)
59 1 0 if $pass
60 0 0 unless $pass
66 0 2 if $father eq '0'
67 2 0 unless $father
72 2 0 if $node eq $$self{'origin'} or $node eq $$self{'destiny'}
73 2 0 if ($node eq $$self{'destiny'})
78 0 2 unless $$self{'fathers'}{$node} or $pass
87 0 0 if $father eq '0'
88 0 0 unless $level
89 0 0 unless $father
97 0 0 if ($node eq $$self{'origin'} or $node eq $$self{'destiny'}) { }
104 0 0 if ($node eq $$self{'destiny'}) { }
114 0 0 unless $$self{'fathers'}{$node} or $pass