Branch Coverage

blib/lib/Games/Worms/Base.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
36 0 0 if $Games::Worms::Base::Color_counter > $#Games::Worms::Base::Colors
59 0 0 unless $worm->is_alive
60 0 0 if ($Games::Worms::Base::Debug > 2)
77 0 0 if ($dir_2_uneaten_seg{$d} eq $$worm{'last_segment_eaten'})
81 0 0 if ($dir_2_uneaten_seg{$d}->is_eaten) { }
89 0 0 unless (keys %dir_2_uneaten_seg)
90 0 0 if $Games::Worms::Base::Debug
107 0 0 if ($Games::Worms::Base::Debug > 1)
110 0 0 if $Games::Worms::Base::Debug > 1
119 0 0 if ($$worm{'memoize'} and defined $$worm{'memory'}{$context}) { }
122 0 0 if (keys %dir_2_uneaten_seg == $Games::Worms::Base::Directions) { }
0 0 elsif (keys %dir_2_uneaten_seg == 1) { }
131 0 0 if $$worm{'memoize'}
136 0 0 if $Games::Worms::Base::Debug > 1
180 0 0 unless defined $$it{'is_alive'}
186 0 0 unless defined $$it{'is_undead'}
191 0 0 if $$it{'board'}
193 0 0 if $Games::Worms::Base::Debug
218 0 0 if $Games::Worms::Base::Debug
225 0 0 if $Games::Worms::Base::Debug
236 0 0 if ($$worm{'is_undead'}) { }