Branch Coverage

blib/lib/Games/SMTNocturne/Demons/Demon.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
36 0 2723 unless $DEMONS_BY_NAME{$name}
49 0 104407 unless $DEMONS_BY_TYPE{$$options{'type'}}
54 52200 52207 if $$options{'fusion_type'}
57 104318 89 unless $$options{'bosses'}
58 136447 557864 unless not $_->boss
64 91714 338595 if $demon->level >= $$options{'level'}
67 4708 99699 if ($$options{'offset'})
68 1673 3035 $$options{'offset'} eq 'up' ? :
69 544 4164 if $found_idx < 0
70 528 4180 if $found_idx > $#possible
79 0 0 unless $DEMONS_BY_TYPE{$type}