Branch Coverage

blib/lib/Language/Homespring/Salmon.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
32 90 248 if ($$self{'upstream'}) { }
35 90 0 if ($node_to_pass)
37 11 79 if ($count)
54 3 5 if $$node_to_pass{'node_name'} eq 'shallows' and $$self{'mature'} and $$self{'time_in_river'} == 1
55 3 5 if $$node_to_pass{'node_name'} eq 'rapids' and not $$self{'mature'} and $$self{'time_in_river'} == 1
57 6 326 if $$node_to_pass{'node_name'} eq 'net' and $$self{'mature'}
58 3 323 if $$node_to_pass{'node_name'} eq 'current' and not $$self{'mature'}
60 19 304 if ($$node_to_pass{'node_name'} eq 'bear' and $$self{'mature'})
65 4 300 if ($$node_to_pass{'node_name'} eq 'young bear' and $$self{'mature'})
66 2 2 if ($node_to_pass->every_other)
72 2 300 if ($$node_to_pass{'node_name'} eq 'bird' and not $$self{'mature'})
77 15 285 if ($$node_to_pass{'node_name'} eq 'force field' and $$node_to_pass{'power'})
78 5 10 if ($$self{'upstream'}) { }
89 147 143 if (defined $river_target) { }
99 79 64 if ($$self{'upstream'}) { }
113 79 5 $$spring{'spring'} ? :
141 0 0 $$self{'mature'} ? :
0 0 $$self{'upstream'} ? :