Coverage report: 57%

Files Functions Classes

coverage.py v7.15.2, created at 2026-07-24 02:27 +0000

File function   statements missing excluded   coverage
topdownengine/__init__.py (no function)   13 0 2   100%
topdownengine/asset_paths.py (no function)   5 0 0   100%
topdownengine/camera.py Camera.__init__   4 0 0   100%
topdownengine/camera.py Camera.position   1 0 0   100%
topdownengine/camera.py Camera.update_screenshake   3 1 0   67%
topdownengine/camera.py Camera.track_game_object   2 0 0   100%
topdownengine/camera.py Camera.handle_bounds   2 0 0   100%
topdownengine/camera.py Camera.update   4 0 0   100%
topdownengine/camera.py SmoothTrackerCamera.track_game_object   3 3 0   0%
topdownengine/camera.py (no function)   13 0 0   100%
topdownengine/controls.py KeyboardInputManager.__init__   2 0 0   100%
topdownengine/controls.py KeyboardInputManager.serialize   1 1 0   0%
topdownengine/controls.py KeyboardInputManager.deserialize   5 5 0   0%
topdownengine/controls.py KeyboardInputManager.get_input   16 6 0   62%
topdownengine/controls.py NoKeysPressed.__getitem__   1 1 0   0%
topdownengine/controls.py MoreKeysPressed.__init__   2 0 0   100%
topdownengine/controls.py MoreKeysPressed.__getitem__   1 0 0   100%
topdownengine/controls.py (no function)   12 0 0   100%
topdownengine/env_object.py EnvObject.__init__   5 5 0   0%
topdownengine/env_object.py (no function)   7 0 0   100%
topdownengine/font.py Font.__init__   2 2 0   0%
topdownengine/font.py Font._get_size   6 6 0   0%
topdownengine/font.py Font.wrap   25 25 0   0%
topdownengine/font.py Font._render   1 1 0   0%
topdownengine/font.py Font.draw_text   6 6 0   0%
topdownengine/font.py (no function)   7 0 0   100%
topdownengine/game.py Game.__init__   25 3 0   88%
topdownengine/game.py Game.active_scene   1 0 0   100%
topdownengine/game.py Game.handle_events   8 8 0   0%
topdownengine/game.py Game.set_target_scale   2 0 0   100%
topdownengine/game.py Game.update   7 0 0   100%
topdownengine/game.py Game.render   3 3 0   0%
topdownengine/game.py Game.run   7 7 0   0%
topdownengine/game.py (no function)   12 0 0   100%
topdownengine/game_object.py GameObject.__init__   20 2 0   90%
topdownengine/game_object.py GameObject.groups   1 0 0   100%
topdownengine/game_object.py GameObject.groups   8 0 0   100%
topdownengine/game_object.py GameObject.add_to   2 0 0   100%
topdownengine/game_object.py GameObject.remove_from   2 0 0   100%
topdownengine/game_object.py GameObject.load_and_scale_shadows   6 0 0   100%
topdownengine/game_object.py GameObject.load_animations   15 8 0   47%
topdownengine/game_object.py GameObject.scale_animations   3 0 0   100%
topdownengine/game_object.py GameObject.set_scale   9 3 0   67%
topdownengine/game_object.py GameObject.current_frame   4 1 0   75%
topdownengine/game_object.py GameObject.image   11 0 0   100%
topdownengine/game_object.py GameObject.rect   7 0 0   100%
topdownengine/game_object.py GameObject.draw_index   1 1 0   0%
topdownengine/game_object.py GameObject.generate_colliders   8 0 0   100%
topdownengine/game_object.py GameObject.world_colliders   1 0 0   100%
topdownengine/game_object.py GameObject._handle_collision   31 16 0   48%
topdownengine/game_object.py GameObject._handle_elevation   8 3 0   62%
topdownengine/game_object.py GameObject.update   11 0 0   100%
topdownengine/game_object.py GameObjectGroup.__init__   1 0 0   100%
topdownengine/game_object.py GameObjectGroup.game_objects   1 0 0   100%
topdownengine/game_object.py GameObjectGroup.game_objects   6 6 0   0%
topdownengine/game_object.py GameObjectGroup.add   2 0 0   100%
topdownengine/game_object.py GameObjectGroup.remove   2 0 0   100%
topdownengine/game_object.py GameObjectGroup.update   2 0 0   100%
topdownengine/game_object.py (no function)   47 0 0   100%
topdownengine/math.py lerp   3 0 0   100%
topdownengine/math.py scale_rect   8 0 0   100%
topdownengine/math.py (no function)   3 0 0   100%
topdownengine/mobile_object/__init__.py MobileObject.__init__   9 2 0   78%
topdownengine/mobile_object/__init__.py MobileObject.update   14 0 0   100%
topdownengine/mobile_object/__init__.py MobileObject.jump   2 0 0   100%
topdownengine/mobile_object/__init__.py (no function)   7 0 0   100%
topdownengine/mobile_object/controller.py BaseController.update   1 0 0   100%
topdownengine/mobile_object/controller.py BaseController.move   6 0 0   100%
topdownengine/mobile_object/controller.py StaticController.update   1 0 0   100%
topdownengine/mobile_object/controller.py KeyboardInputController.__init__   3 0 0   100%
topdownengine/mobile_object/controller.py KeyboardInputController.update   5 1 0   80%
topdownengine/mobile_object/controller.py MovementAIController.__init__   3 3 0   0%
topdownengine/mobile_object/controller.py MovementAIController.update   2 2 0   0%
topdownengine/mobile_object/controller.py (no function)   16 0 0   100%
topdownengine/scenes.py BaseScene.__init__   2 0 0   100%
topdownengine/scenes.py BaseScene.handle_event   2 2 0   0%
topdownengine/scenes.py BaseScene.update   2 1 0   50%
topdownengine/scenes.py BaseScene.render   2 2 0   0%
topdownengine/scenes.py GameplayScene.__init__   3 0 0   100%
topdownengine/scenes.py GameplayScene.get_light   2 2 0   0%
topdownengine/scenes.py GameplayScene.create_light   5 5 0   0%
topdownengine/scenes.py GameplayScene.update   2 0 0   100%
topdownengine/scenes.py GameplayScene.render   14 14 0   0%
topdownengine/scenes.py (no function)   13 0 0   100%
topdownengine/ui.py UIContainer.__init__   1 1 0   0%
topdownengine/ui.py UIContainer.elements   1 1 0   0%
topdownengine/ui.py UIContainer.add_ui_element   4 4 0   0%
topdownengine/ui.py UIContainer.remove_ui_element   2 2 0   0%
topdownengine/ui.py UIContainer.remove_all_ui_elements   2 2 0   0%
topdownengine/ui.py UIContainer.handle_event   2 2 0   0%
topdownengine/ui.py UIContainer.update   2 2 0   0%
topdownengine/ui.py UIContainer.render   2 2 0   0%
topdownengine/ui.py BaseUIElement.__init__   6 6 0   0%
topdownengine/ui.py BaseUIElement.containers   1 1 0   0%
topdownengine/ui.py BaseUIElement.image   1 1 0   0%
topdownengine/ui.py BaseUIElement.image   2 2 0   0%
topdownengine/ui.py BaseUIElement.add_container   4 4 0   0%
topdownengine/ui.py BaseUIElement.remove_container   2 2 0   0%
topdownengine/ui.py BaseUIElement.remove_from_all_containers   2 2 0   0%
topdownengine/ui.py BaseUIElement.handle_event   1 1 0   0%
topdownengine/ui.py BaseUIElement.update   1 1 0   0%
topdownengine/ui.py Button.__init__   4 4 0   0%
topdownengine/ui.py Button._get_image   3 3 0   0%
topdownengine/ui.py Button.is_mouse_over   1 1 0   0%
topdownengine/ui.py Button.handle_event   2 2 0   0%
topdownengine/ui.py Button.update   1 1 0   0%
topdownengine/ui.py Text.__init__   2 2 0   0%
topdownengine/ui.py (no function)   37 37 0   0%
topdownengine/visual_utils.py VisualUtils.load_animation   10 10 0   0%
topdownengine/visual_utils.py VisualUtils.load_animations   16 16 0   0%
topdownengine/visual_utils.py VisualUtils.flip_animation   4 4 0   0%
topdownengine/visual_utils.py VisualUtils.replace_color   4 4 0   0%
topdownengine/visual_utils.py VisualUtils.make_img_white   3 3 0   0%
topdownengine/visual_utils.py VisualUtils.draw_low_res_line   11 11 0   0%
topdownengine/visual_utils.py VisualUtils.create_outline   14 14 0   0%
topdownengine/visual_utils.py (no function)   16 0 0   100%
Total     717 305 2   57%

No items found using the specified filter.