Condition Coverage

blib/lib/Language/Homespring/Salmon.pm
Criterion Covered Total %
condition 36 36 100.0


and 3 conditions

line !l l&&!r l&&r condition
54 330 3 5 $$node_to_pass{'node_name'} eq 'shallows' and $$self{'mature'}
333 2 3 $$node_to_pass{'node_name'} eq 'shallows' and $$self{'mature'} and $$self{'time_in_river'} == 1
55 327 3 5 $$node_to_pass{'node_name'} eq 'rapids' and not $$self{'mature'}
330 2 3 $$node_to_pass{'node_name'} eq 'rapids' and not $$self{'mature'} and $$self{'time_in_river'} == 1
57 322 4 6 $$node_to_pass{'node_name'} eq 'net' and $$self{'mature'}
58 321 2 3 $$node_to_pass{'node_name'} eq 'current' and not $$self{'mature'}
60 282 22 19 $$node_to_pass{'node_name'} eq 'bear' and $$self{'mature'}
65 296 4 4 $$node_to_pass{'node_name'} eq 'young bear' and $$self{'mature'}
72 298 2 2 $$node_to_pass{'node_name'} eq 'bird' and not $$self{'mature'}
77 271 14 15 $$node_to_pass{'node_name'} eq 'force field' and $$node_to_pass{'power'}

or 2 conditions

line l !l condition
16 84 103 $$options{'value'} || 'homeless'
17 103 84 $$options{'upstream'} || 0
18 103 84 $$options{'mature'} || 0