Branch Coverage

blib/lib/Games/SMTNocturne/Demons/FusionChart.pm
Criterion Covered Total %
branch 36 46 78.2


line true false branch
18 0 117697 unless $TYPES{$type1}
19 0 117697 unless $TYPES{$type2}
27 0 0 unless $TYPES{$type}
32 0 0 if ($TYPES{$type1}{'fusions'}{$type2} || '') eq $type
88 403653 266667 if (my $name = $$need{'name'}) { }
266667 0 elsif (my $type = $$need{'type'}) { }
92 2 266665 ref $$need{'type'} ? :
105 600026 733290 if ($$conditions{'deathstone'})
106 599981 45 unless $$options{'deathstone'}
109 45 733290 if (my $phases = $$conditions{'kagutsuchi'})
111 27 18 unless defined $$options{'kagutsuchi'} and grep {$_ == $$options{'kagutsuchi'};} @$phases
114 333319 399989 if (my $sacrifice = $$conditions{'sacrifice'})
115 36 333283 $$options{'sacrifice'} ? :
333311 8 unless &$find($sacrifice, $$options{'sacrifice'} ? $$options{'sacrifice'} : ())
121 66678 333319 if (my $target = $$conditions{'target'})
122 18 66660 if (my $type = $$target{'type'}) { }
66660 0 elsif (my $name = $$target{'name'}) { }
124 9 9 unless $fused_type and $fused_type eq $type
131 66637 23 unless $fused and $fused->name eq $name
139 14 333337 if $$conditions{'demon3'} and $$options{'sacrifice'}
143 337001 62 if ($$conditions{$key})
145 333311 3690 unless $found
159 0 0 unless $SPECIAL{$demon}