Coverage report:
88%
hide covered
Files
Functions
Classes
coverage.py v7.11.0
, created at 2025-11-25 22:15 +0300
File
function
statements
missing
excluded
coverage
src/__init__.py
(no function)
0
0
0
100%
src/auth/__init__.py
(no function)
3
0
0
100%
src/auth/api/__init__.py
(no function)
7
0
0
100%
src/auth/api/account_controller.py
AccountController.sign_up
1
0
0
100%
src/auth/api/account_controller.py
(no function)
14
0
0
100%
src/auth/api/permission_controller.py
PermissionController.list_permissions
2
0
0
100%
src/auth/api/permission_controller.py
PermissionController.create_permission
1
0
0
100%
src/auth/api/permission_controller.py
PermissionController.delete_permission
1
0
0
100%
src/auth/api/permission_controller.py
(no function)
24
0
0
100%
src/auth/api/role_controller.py
RoleController.list_roles
2
0
0
100%
src/auth/api/role_controller.py
RoleController.create_role
1
0
0
100%
src/auth/api/role_controller.py
RoleController.delete_role
1
0
0
100%
src/auth/api/role_controller.py
(no function)
24
0
0
100%
src/auth/api/user_controller.py
UserController.list_users
2
0
0
100%
src/auth/api/user_controller.py
UserController.create_user
1
0
0
100%
src/auth/api/user_controller.py
UserController.delete_user
1
0
0
100%
src/auth/api/user_controller.py
(no function)
27
0
0
100%
src/auth/factories.py
(no function)
11
0
0
100%
src/auth/models/__init__.py
(no function)
6
0
0
100%
src/auth/models/permission_model.py
(no function)
5
0
0
100%
src/auth/models/role_model.py
(no function)
5
0
0
100%
src/auth/models/role_permission_model.py
(no function)
7
0
0
100%
src/auth/models/user_model.py
(no function)
8
0
0
100%
src/auth/models/user_role_model.py
(no function)
7
0
0
100%
src/auth/plugin.py
AuthPlugin.on_cli_init
9
9
1
0%
src/auth/plugin.py
AuthPlugin.on_cli_init.auth
0
0
1
100%
src/auth/plugin.py
AuthPlugin.on_cli_init.load
5
5
0
0%
src/auth/plugin.py
AuthPlugin.on_cli_init.reset
5
5
0
0%
src/auth/plugin.py
AuthPlugin.on_cli_init.send_mail
2
2
0
0%
src/auth/plugin.py
(no function)
11
0
2
100%
src/auth/services.py
AuthService.__init__
3
0
0
100%
src/auth/services.py
AuthService.signup
2
0
0
100%
src/auth/services.py
AuthService.login
7
0
0
100%
src/auth/services.py
AuthService._check_password
1
0
0
100%
src/auth/services.py
AuthService._hash_password
1
0
0
100%
src/auth/services.py
AuthService.get_account
5
2
0
60%
src/auth/services.py
AuthService._encode_token
1
0
0
100%
src/auth/services.py
AuthService._decode_token
1
0
0
100%
src/auth/services.py
provide_auth_service
1
0
0
100%
src/auth/services.py
provide_user_service
1
0
0
100%
src/auth/services.py
provide_role_service
1
0
0
100%
src/auth/services.py
provide_permission_service
1
0
0
100%
src/auth/services.py
(no function)
58
0
0
100%
src/core/cli.py
coro
2
2
0
0%
src/core/cli.py
coro.wrapper
1
1
0
0%
src/core/cli.py
(no function)
4
1
0
75%
src/core/database.py
(no function)
8
0
0
100%
src/core/mail.py
MailClient.__init__
1
0
0
100%
src/core/mail.py
MailClient.send
13
13
0
0%
src/core/mail.py
(no function)
6
0
0
100%
src/core/settings.py
(no function)
21
0
0
100%
Total
332
40
4
88%
No items found using the specified filter.