Coverage report: 70%

Files Functions Classes

coverage.py v7.8.2, created at 2025-06-02 23:27 +0000

File function statements missing excluded branches partial coverage
app/controllers/auth_controller.py register 2 0 0 0 0 100%
app/controllers/auth_controller.py login 2 0 0 0 0 100%
app/controllers/auth_controller.py test 2 2 0 0 0 0%
app/controllers/auth_controller.py testing 1 1 0 0 0 0%
app/controllers/auth_controller.py (no function) 20 0 0 0 0 100%
app/controllers/event_controller.py new_event 2 2 0 0 0 0%
app/controllers/event_controller.py (no function) 15 0 0 0 0 100%
app/controllers/users_controller.py get_me 2 0 0 0 0 100%
app/controllers/users_controller.py get_notifications 3 0 0 0 0 100%
app/controllers/users_controller.py get_events 4 0 0 0 0 100%
app/controllers/users_controller.py get_user 2 0 0 0 0 100%
app/controllers/users_controller.py (no function) 17 0 0 0 0 100%
app/controllers/world_controller.py new_world 2 2 0 0 0 0%
app/controllers/world_controller.py get_world_by_id 2 2 0 0 0 0%
app/controllers/world_controller.py update_world_name 2 2 0 0 0 0%
app/controllers/world_controller.py update_world_name 2 2 0 0 0 0%
app/controllers/world_controller.py remove_world 2 2 0 0 0 0%
app/controllers/world_controller.py update_world_settings 2 2 0 0 0 0%
app/controllers/world_controller.py new_world_time 2 2 0 0 0 0%
app/controllers/world_controller.py update_world_time 2 2 0 0 0 0%
app/controllers/world_controller.py remove_world_time 2 2 0 0 0 0%
app/controllers/world_controller.py (no function) 54 0 0 0 0 100%
app/core/exceptions.py UserNotFoundError.__init__ 1 0 0 0 0 100%
app/core/exceptions.py UnauthorizedError.__init__ 1 0 0 0 0 100%
app/core/exceptions.py BadRequestError.__init__ 1 1 0 0 0 0%
app/core/exceptions.py InvalidJoinCodeError.__init__ 1 1 0 0 0 0%
app/core/exceptions.py CampaignNotFoundError.__init__ 1 1 0 0 0 0%
app/core/exceptions.py WorldNotFoundError.__init__ 1 1 0 0 0 0%
app/core/exceptions.py DatabaseQueryError.__init__ 1 0 0 0 0 100%
app/core/exceptions.py DatabaseSaveError.__init__ 1 1 0 0 0 0%
app/core/exceptions.py MissingCredentialsError.__init__ 1 1 0 0 0 0%
app/core/exceptions.py ForbiddenActionError.__init__ 1 1 0 0 0 0%
app/core/exceptions.py (no function) 21 0 0 0 0 100%
app/core/security.py get_current_user_id 8 2 0 2 0 80%
app/core/security.py get_user_role_for_campaign 4 4 0 2 0 0%
app/core/security.py require_role 2 0 0 0 0 100%
app/core/security.py require_role.dependency 5 5 0 2 0 0%
app/core/security.py (no function) 15 1 0 2 1 88%
app/db/models.py (no function) 144 0 0 0 0 100%
app/db/supabaseDB.py get_db 4 4 0 0 0 0%
app/db/supabaseDB.py (no function) 16 0 0 0 0 100%
app/gateway.py root 1 1 0 0 0 0%
app/gateway.py (no function) 15 0 0 0 0 100%
app/services/change_world_description.py change_world_description 10 10 0 2 0 0%
app/services/change_world_description.py (no function) 3 0 0 0 0 100%
app/services/change_world_name.py change_world_name 13 13 0 4 0 0%
app/services/change_world_name.py (no function) 3 0 0 0 0 100%
app/services/change_world_time.py change_world_time 11 11 0 2 0 0%
app/services/change_world_time.py (no function) 4 0 0 0 0 100%
app/services/create_world.py create_world 14 14 0 2 0 0%
app/services/create_world.py (no function) 3 0 0 0 0 100%
app/services/create_world_event.py create_world_event 10 10 0 2 0 0%
app/services/create_world_event.py (no function) 4 0 0 0 0 100%
app/services/create_world_time.py create_world_time 8 8 0 0 0 0%
app/services/create_world_time.py (no function) 4 0 0 0 0 100%
app/services/delete_world.py delete_world 10 10 0 2 0 0%
app/services/delete_world.py (no function) 3 0 0 0 0 100%
app/services/delete_world_time.py delete_world_time 10 10 0 2 0 0%
app/services/delete_world_time.py (no function) 3 0 0 0 0 100%
app/services/events.py get_world_events 5 2 0 0 0 60%
app/services/events.py (no function) 5 0 0 0 0 100%
app/services/login.py login_user 14 3 0 4 2 72%
app/services/login.py (no function) 7 0 0 0 0 100%
app/services/notifications.py get_user_notifications 8 2 0 0 0 75%
app/services/notifications.py (no function) 6 0 0 0 0 100%
app/services/register.py register_user 14 4 0 6 2 70%
app/services/register.py (no function) 7 0 0 0 0 100%
app/services/search_world_id.py search_world_id 5 5 0 0 0 0%
app/services/search_world_id.py (no function) 3 0 0 0 0 100%
app/services/update_world_settings.py change_settings 17 17 0 2 0 0%
app/services/update_world_settings.py (no function) 4 0 0 0 0 100%
app/services/user.py get_user_info 13 1 0 2 0 93%
app/services/user.py (no function) 5 0 0 0 0 100%
Total   615 167 0 38 5 70%

No items found using the specified filter.