Coverage report: 80%

Files Functions Classes

coverage.py v7.15.4, created at 2026-08-13 14:20 +0000

File function   statements missing excluded   coverage
topdownengine/__init__.py (no function)   14 0 0   100%
topdownengine/asset_paths.py (no function)   5 0 0   100%
topdownengine/camera.py Camera.__init__   5 0 0   100%
topdownengine/camera.py Camera.position   1 0 0   100%
topdownengine/camera.py Camera.update_screenshake   3 0 0   100%
topdownengine/camera.py Camera.track_game_object   1 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   2 0 0   100%
topdownengine/camera.py (no function)   14 0 0   100%
topdownengine/controls.py KeyboardInputManager.__init__   2 0 0   100%
topdownengine/controls.py KeyboardInputManager.serialize   1 0 0   100%
topdownengine/controls.py KeyboardInputManager.deserialize   5 0 0   100%
topdownengine/controls.py KeyboardInputManager.get_input   16 6 0   62%
topdownengine/controls.py NoKeysPressed.__getitem__   1 0 0   100%
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 0 0   100%
topdownengine/env_object.py (no function)   7 0 0   100%
topdownengine/font.py Font.__init__   2 0 0   100%
topdownengine/font.py Font._get_size   6 0 0   100%
topdownengine/font.py Font.get_max_size_for_text_in_rect   7 0 0   100%
topdownengine/font.py Font.wrap   25 25 0   0%
topdownengine/font.py Font._render   1 0 0   100%
topdownengine/font.py Font.draw_text   6 1 0   83%
topdownengine/font.py (no function)   8 0 0   100%
topdownengine/game.py Game.__init__   27 1 0   96%
topdownengine/game.py Game.active_scene   1 0 0   100%
topdownengine/game.py Game.handle_events   17 17 0   0%
topdownengine/game.py Game.set_target_scale   2 0 0   100%
topdownengine/game.py Game.update   9 1 0   89%
topdownengine/game.py Game.render   7 7 0   0%
topdownengine/game.py Game.run   6 0 0   100%
topdownengine/game.py Game.quit   5 1 0   80%
topdownengine/game.py (no function)   13 0 0   100%
topdownengine/game_object.py GameObject.__init__   20 0 0   100%
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 0 0   100%
topdownengine/game_object.py GameObject.scale_animations   3 0 0   100%
topdownengine/game_object.py GameObject.set_scale   7 0 0   100%
topdownengine/game_object.py GameObject.current_frame   4 0 0   100%
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 15 0   52%
topdownengine/game_object.py GameObject.handle_elevation   8 0 0   100%
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 0 0   100%
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 0 0   100%
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 0 0   100%
topdownengine/mobile_object/controller.py MovementAIController.__init__   3 0 0   100%
topdownengine/mobile_object/controller.py MovementAIController.update   2 0 0   100%
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   3 3 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 0 0   100%
topdownengine/ui.py UIContainer.elements   1 0 0   100%
topdownengine/ui.py UIContainer.add_ui_element   4 0 0   100%
topdownengine/ui.py UIContainer.remove_ui_element   2 0 0   100%
topdownengine/ui.py UIContainer.remove_all_ui_elements   2 0 0   100%
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 0 0   100%
topdownengine/ui.py BaseUIElement.containers   1 0 0   100%
topdownengine/ui.py BaseUIElement.image   1 0 0   100%
topdownengine/ui.py BaseUIElement.image   2 0 0   100%
topdownengine/ui.py BaseUIElement.add_container   4 0 0   100%
topdownengine/ui.py BaseUIElement.remove_container   2 0 0   100%
topdownengine/ui.py BaseUIElement.remove_from_all_containers   2 0 0   100%
topdownengine/ui.py BaseUIElement.handle_event   0 0 6   100%
topdownengine/ui.py BaseUIElement.update   0 0 6   100%
topdownengine/ui.py Button.__init__   4 0 0   100%
topdownengine/ui.py Button._get_image   3 0 0   100%
topdownengine/ui.py Button.is_mouse_over   1 0 0   100%
topdownengine/ui.py Button.handle_event   2 0 0   100%
topdownengine/ui.py Button.update   1 0 0   100%
topdownengine/ui.py Button.create_styled   7 7 0   0%
topdownengine/ui.py Text.__init__   2 2 0   0%
topdownengine/ui.py (no function)   37 0 2   100%
topdownengine/visual_utils.py VisualUtils.load_animation   10 1 0   90%
topdownengine/visual_utils.py VisualUtils.load_animations   16 3 0   81%
topdownengine/visual_utils.py VisualUtils.flip_animation   4 0 0   100%
topdownengine/visual_utils.py VisualUtils.replace_color   4 4 0   0%
topdownengine/visual_utils.py VisualUtils.make_img_white   3 0 0   100%
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     752 150 14   80%

No items found using the specified filter.