Debian Automated Code Analysis

pyflakes analysis of snowballz_0.9.5.1-2.1_all.deb

./usr/share/games/snowballz/terrain.py:4: 'rabbyt' imported but unused
./usr/share/games/snowballz/minimap.py:3: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/plugin.py:7: redefinition of unused 'networking' from line 5
./usr/share/games/snowballz/data.py:2: 'itertools' imported but unused
./usr/share/games/snowballz/data.py:6: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/data.py:435: 'Player' imported but unused
./usr/share/games/snowballz/snowballz.py:6: 'rabbyt' imported but unused
./usr/share/games/snowballz/snowballz.py:14: 'struct' imported but unused
./usr/share/games/snowballz/snowballz.py:16: 'threading' imported but unused
./usr/share/games/snowballz/snowballz.py:22: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/snowballz.py:24: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/snowballz.py:26: 'operator' imported but unused
./usr/share/games/snowballz/snowballz.py:29: 'selectctrl' imported but unused
./usr/share/games/snowballz/snowballz.py:40: redefinition of unused 'unit' from line 31
./usr/share/games/snowballz/snowballz.py:82: local variable 'dt' is assigned to but never used
./usr/share/games/snowballz/snowballz.py:354: local variable 'start' is assigned to but never used
./usr/share/games/snowballz/snowballz.py:568: local variable 'dmo' is assigned to but never used
./usr/share/games/snowballz/ctrl.py:3: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/unit.py:1: 'textures' imported but unused
./usr/share/games/snowballz/unit.py:2: 'os' imported but unused
./usr/share/games/snowballz/unit.py:3: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/unit.py:5: 'from random import *' used; unable to detect undefined names
./usr/share/games/snowballz/unit.py:6: 'sys' imported but unused
./usr/share/games/snowballz/unit.py:6: 'math' imported but unused
./usr/share/games/snowballz/unit.py:436: local variable 'time' is assigned to but never used
./usr/share/games/snowballz/textures.py:2: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/networking.py:9: 'sys' imported but unused
./usr/share/games/snowballz/networking.py:9: 'os' imported but unused
./usr/share/games/snowballz/networking.py:14: 'Player' imported but unused
./usr/share/games/snowballz/networking.py:677: 'DynamicMapObject' imported but unused
./usr/share/games/snowballz/display.py:2: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/display.py:4: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/display.py:94: local variable 'ticks' is assigned to but never used
./usr/share/games/snowballz/snowball.py:2: 'cos' imported but unused
./usr/share/games/snowballz/snowball.py:2: 'sin' imported but unused
./usr/share/games/snowballz/snowball.py:3: 'pygame' imported but unused
./usr/share/games/snowballz/snowball.py:5: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/snowball.py:6: redefinition of unused 'random' from line 3
./usr/share/games/snowballz/selectctrl.py:3: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/selectctrl.py:5: 'pygame' imported but unused
./usr/share/games/snowballz/selectctrl.py:6: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/map.py:1: 'from random import *' used; unable to detect undefined names
./usr/share/games/snowballz/map.py:3: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/map.py:4: 'ctrl' imported but unused
./usr/share/games/snowballz/map.py:5: 'NoOptionError' imported but unused
./usr/share/games/snowballz/map.py:12: redefinition of unused 'Igloo' from line 10
./usr/share/games/snowballz/map.py:18: 'from OpenGL.GL import *' used; unabl./usr/share/games/snowballz/util.py:6: expected an indented block
num_frames = 10
          ^
./usr/share/games/snowballz/gooeypy/gltextblock.py:37: invalid syntax
        #glPopMatrix()
                       ^
./usr/share/games/snowballz/gooeypy/glstyleset.py:323: invalid syntax
        #self.applied_styles["effect"] = values
                                                ^
e to detect undefined names
./usr/share/games/snowballz/map.py:121: local variable 'r' is assigned to but never used
./usr/share/games/snowballz/map.py:162: redefinition of unused 'I' from line 160
./usr/share/games/snowballz/map.py:342: 'Sprite' imported but unused
./usr/share/games/snowballz/menu.py:4: 'from gooeypy.const import *' used; unable to detect undefined names
./usr/share/games/snowballz/menu.py:6: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/menu.py:16: 'rabbyt' imported but unused
./usr/share/games/snowballz/menu.py:16: 'data' imported but unused
./usr/share/games/snowballz/cellulose/celltypes.py:34: redefinition of unused '_ListBase' from line 26
./usr/share/games/snowballz/cellulose/__init__.py:11: 'warnings' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:11: 'weakref' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:11: 'threading' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:11: 'types' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:15: 'DependantCell' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:15: 'DependencyCell' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:17: 'get_dependant_stack' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:17: 'CyclicDependencyError' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:20: 'InputCellDescriptor' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:20: 'wake_cell_descriptors' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:20: 'ComputedCellDescriptor' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:24: 'CellSet' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:24: 'CellList' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:24: 'ComputedDict' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:24: 'CellDict' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:27: 'ObserverBank' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:27: 'default_observer_bank' imported but unused
./usr/share/games/snowballz/cellulose/__init__.py:27: 'Observer' imported but unused
./usr/share/games/snowballz/cellulose/restrictions.py:40: undefined name 'test'
./usr/share/games/snowballz/cellulose/extra/restrictions.py:20: 'CellSet' imported but unused
./usr/share/games/snowballz/cellulose/extra/restrictions.py:40: undefined name 'test'
./usr/share/games/snowballz/cellulose/extra/restrictions.py:190: undefined name 'types'
./usr/share/games/snowballz/gooeypy/app.py:3: 'operator' imported but unused
./usr/share/games/snowballz/gooeypy/gllabel.py:2: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/gllabel.py:5: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glFreeType.py:5: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glFreeType.py:6: 'from OpenGL.GLU import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glFreeType.py:7: 'os' imported but unused
./usr/share/games/snowballz/gooeypy/glimage.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/glimage.py:2: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glimage.py:4: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glimage.py:7: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glimage.py:8: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glselectbox.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/glselectbox.py:2: 'util' imported but unused
./usr/share/games/snowballz/gooeypy/glselectbox.py:3: 'from const import *' used; una./usr/share/games/snowballz/gooeypy/textblock.py:87: invalid syntax
        #util.blit(self.font_value, (self.font_x,self.font_y))
                                                               ^
ble to detect undefined names
./usr/share/games/snowballz/gooeypy/glselectbox.py:5: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glselectbox.py:7: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glselectbox.py:8: 'Texture' imported but unused
./usr/share/games/snowballz/gooeypy/texture.py:1: 'sys' imported but unused
./usr/share/games/snowballz/gooeypy/texture.py:2: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/texture.py:4: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glinput.py:2: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glinput.py:5: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glinput.py:6: 'os' imported but unused
./usr/share/games/snowballz/gooeypy/const.py:2: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/slider.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/slider.py:3: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/slider.py:5: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/image.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/image.py:2: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/image.py:4: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/image.py:6: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/box.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/box.py:3: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/box.py:4: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/input.py:3: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/input.py:5: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/effects.py:5: 'util' imported but unused
./usr/share/games/snowballz/gooeypy/selectbox.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/selectbox.py:3: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/selectbox.py:10: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glinput2.py:1: 'texture' imported but unused
./usr/share/games/snowballz/gooeypy/glinput2.py:2: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glinput2.py:5: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/widget.py:2: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/widget.py:4: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/widget.py:5: 'styleset' imported but unused
./usr/share/games/snowballz/gooeypy/widget.py:9: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/widget.py:134: local variable 'surf' is assigned to but never used
./usr/share/games/snowballz/gooeypy/label.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/label.py:2: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/label.py:4: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/label.py:6: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/button.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/button.py:3: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/button.py:4: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/button.py:6: 'StringRestriction' imported but unused
./usr/share/games/snowballz/gooeypy/button.py:7: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/gl.py:2: 'init' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:9: 'from glwidgets import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/gl.py:10: 'Container' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:11: 'App' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:12: 'Button' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:12: 'Switch' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:13: 'Label' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:14: 'StyleSet' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:15: 'VBox' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:15: 'HBox' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:16: 'VSlider' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:16: 'HSlider' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:17: 'TextBlock' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:18: 'Image' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:19: 'SelectBox' imported but unused
./usr/share/games/snowballz/gooeypy/gl.py:20: 'Input' imported but unused
./usr/share/games/snowballz/gooeypy/util.py:2: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/util.py:10: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/util.py:11: 'from cellulose.extra.restrictions import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/util.py:23: 'Widget' imported but unused
./usr/share/games/snowballz/gooeypy/gllabel2.py:1: 'texture' imported but unused
./usr/share/games/snowballz/gooeypy/gllabel2.py:2: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/gllabel2.py:5: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/styleset.py:5: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glwidgets.py:2: 'from OpenGL.GL import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/glwidgets.py:3: 'StyleSet' imported but unused
./usr/share/games/snowballz/gooeypy/glwidgets.py:6: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/sdl.py:2: 'get_image' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:2: 'update_rects' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:2: 'update_display' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:2: 'init' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:2: 'blit' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:6: 'Widget' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:7: 'Container' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:8: 'App' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:9: 'Switch' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:9: 'Button' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:10: 'Input' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:11: 'Label' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:12: 'VSlider' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:12: 'HSlider' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:13: 'VBox' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:13: 'HBox' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:14: 'SelectBox' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:15: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/sdl.py:16: 'StyleSet' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:17: 'TextBlock' imported but unused
./usr/share/games/snowballz/gooeypy/sdl.py:18: 'Image' imported but unused
./usr/share/games/snowballz/gooeypy/container.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/gooeypy/container.py:3: 'from const import *' used; unable to detect undefined names
./usr/share/games/snowballz/gooeypy/container.py:7: 'from cellulose import *' used; unable to detect undefined names
./usr/share/games/snowballz/plugins/gather_victory/__init__.py:17: 'from events import *' used; unable to detect undefined names
./usr/share/games/snowballz/plugins/gather_victory/__init__.py:18: 'plugin' imported but unused
./usr/share/games/snowballz/plugins/conquer_victory/__init__.py:16: 'from events import *' used; unable to detect undefined names
./usr/share/games/snowballz/plugins/conquer_victory/__init__.py:17: 'plugin' imported but unused
./usr/share/games/snowballz/plugins/powerup/__init__.py:3: 'from events import *' used; unable to detect undefined names
./usr/share/games/snowballz/data/convert_noidle.py:1: 'os' imported but unused
./usr/share/games/snowballz/data/convert.py:1: 'os' imported but unused
./usr/share/games/snowballz/buildings/igloo.py:2: 'pygame' imported but unused
./usr/share/games/snowballz/buildings/landobstruction.py:2: 'pygame' imported but unused
./usr/share/games/snowballz/buildings/building.py:1: 'pygame' imported but unused
./usr/share/games/snowballz/buildings/building.py:2: 'from pygame.locals import *' used; unable to detect undefined names
./usr/share/games/snowballz/buildings/building.py:5: 'from OpenGL.GL import *' used; unable to detect undefined names

This report was generated on Sun, 02 Jan 2011 05:34:01 +0000, based on results by pyflakes 0.4.0-1