Coverage report: 98%

Files Functions Classes

coverage.py v7.6.10, created at 2025-01-15 02:54 +0000

File class statements missing excluded coverage
app/__init__.py (no class) 2 0 0 100%
app/core/base/__init__.py (no class) 10 0 0 100%
app/core/base/base_entity.py BaseEntity 4 0 1 100%
app/core/base/base_entity.py (no class) 10 0 0 100%
app/core/base/base_error.py BaseError 10 0 0 100%
app/core/base/base_error.py (no class) 8 0 0 100%
app/core/base/base_factory.py (no class) 0 0 1 100%
app/core/base/base_input_dto.py BaseInputDTO 0 0 0 100%
app/core/base/base_input_dto.py (no class) 3 0 0 100%
app/core/base/base_output_dto.py BaseOutputDTO 0 0 0 100%
app/core/base/base_output_dto.py (no class) 3 0 0 100%
app/core/base/base_request.py BaseRequest 0 0 0 100%
app/core/base/base_request.py (no class) 6 0 0 100%
app/core/base/base_response.py BaseResponse 0 0 0 100%
app/core/base/base_response.py (no class) 6 0 0 100%
app/core/base/base_uow.py BaseUnitOfWork 6 0 0 100%
app/core/base/base_uow.py (no class) 8 0 0 100%
app/core/base/base_usecase.py BaseUsecase 0 0 1 100%
app/core/base/base_usecase.py (no class) 7 0 4 100%
app/core/base/base_value_object.py BaseValueObject 0 0 0 100%
app/core/base/base_value_object.py (no class) 5 0 0 100%
app/core/depends/__init__.py (no class) 1 0 0 100%
app/core/depends/jwt_data_depends.py DummyHTTPBearer 7 0 0 100%
app/core/depends/jwt_data_depends.py (no class) 11 0 0 100%
app/core/middleware/__init__.py (no class) 2 0 0 100%
app/core/middleware/exception_handling_middleware.py ErrorHandlingMiddleware 10 0 0 100%
app/core/middleware/exception_handling_middleware.py (no class) 7 0 0 100%
app/core/middleware/logging_middleware.py LoggingMiddleware 19 0 0 100%
app/core/middleware/logging_middleware.py (no class) 7 0 0 100%
app/ddd/application/dto/group/__init__.py (no class) 2 0 0 100%
app/ddd/application/dto/group/group_input_dto.py GetGroupInputDTO 0 0 0 100%
app/ddd/application/dto/group/group_input_dto.py CreateGroupInputDTO 0 0 0 100%
app/ddd/application/dto/group/group_input_dto.py PatchGroupInputDTO 0 0 0 100%
app/ddd/application/dto/group/group_input_dto.py DeleteGroupInputDTO 0 0 0 100%
app/ddd/application/dto/group/group_input_dto.py QueryGroupInputDTO 0 0 0 100%
app/ddd/application/dto/group/group_input_dto.py (no class) 20 0 1 100%
app/ddd/application/dto/group/group_output_dto.py GetGroupOutputDTO 0 0 0 100%
app/ddd/application/dto/group/group_output_dto.py CreateGroupOutputDTO 0 0 0 100%
app/ddd/application/dto/group/group_output_dto.py PatchGroupOutputDTO 0 0 0 100%
app/ddd/application/dto/group/group_output_dto.py DeleteGroupOutputDTO 0 0 0 100%
app/ddd/application/dto/group/group_output_dto.py QueryGroupOutputDTO 0 0 0 100%
app/ddd/application/dto/group/group_output_dto.py (no class) 12 0 0 100%
app/ddd/application/dto/token/__init__.py (no class) 2 0 0 100%
app/ddd/application/dto/token/token_input_dto.py CreateTokenInputDTO 0 0 0 100%
app/ddd/application/dto/token/token_input_dto.py (no class) 3 0 1 100%
app/ddd/application/dto/token/token_output_dto.py CreateTokenOutputDTO 0 0 0 100%
app/ddd/application/dto/token/token_output_dto.py (no class) 3 0 1 100%
app/ddd/application/dto/user/__init__.py (no class) 4 0 0 100%
app/ddd/application/dto/user/user_input_dto.py GetUserInputDTO 0 0 0 100%
app/ddd/application/dto/user/user_input_dto.py CreateUserInputDTO 0 0 0 100%
app/ddd/application/dto/user/user_input_dto.py PatchUserInputDTO 0 0 0 100%
app/ddd/application/dto/user/user_input_dto.py DeleteUserInputDTO 0 0 0 100%
app/ddd/application/dto/user/user_input_dto.py QueryUserInputDTO 0 0 0 100%
app/ddd/application/dto/user/user_input_dto.py (no class) 21 0 2 100%
app/ddd/application/dto/user/user_output_dto.py BaseUserOutputDTO 0 0 0 100%
app/ddd/application/dto/user/user_output_dto.py GetUserOutputDTO 0 0 0 100%
app/ddd/application/dto/user/user_output_dto.py CreateUserOutputDTO 0 0 0 100%
app/ddd/application/dto/user/user_output_dto.py PatchUserOutputDTO 0 0 0 100%
app/ddd/application/dto/user/user_output_dto.py DeleteUserOutputDTO 0 0 0 100%
app/ddd/application/dto/user/user_output_dto.py QueryUserOutputDTO 0 0 0 100%
app/ddd/application/dto/user/user_output_dto.py (no class) 15 0 3 100%
app/ddd/application/dto/user/user_report_input_dto.py CreateUserReportInputDTO 0 0 0 100%
app/ddd/application/dto/user/user_report_input_dto.py (no class) 5 0 0 100%
app/ddd/application/dto/user/user_report_output_dto.py CreateUserReportOutputDTO 0 0 0 100%
app/ddd/application/dto/user/user_report_output_dto.py (no class) 3 0 0 100%
app/ddd/application/uow/__init__.py (no class) 2 0 0 100%
app/ddd/application/uow/group_uow.py GroupUnitOfWork 2 0 0 100%
app/ddd/application/uow/group_uow.py (no class) 5 0 0 100%
app/ddd/application/uow/user_uow.py UserUnitOfWork 2 0 0 100%
app/ddd/application/uow/user_uow.py (no class) 5 0 0 100%
app/ddd/application/usecase/group/__init__.py (no class) 5 0 0 100%
app/ddd/application/usecase/group/base_group_usecase.py BaseGroupUseCase 1 0 0 100%
app/ddd/application/usecase/group/base_group_usecase.py (no class) 4 0 0 100%
app/ddd/application/usecase/group/create_group_usecase.py CreateGroupUseCase 9 0 0 100%
app/ddd/application/usecase/group/create_group_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/group/delete_group_usecase.py DeleteGroupUseCase 4 0 0 100%
app/ddd/application/usecase/group/delete_group_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/group/get_group_usecase.py GetGroupUseCase 3 0 0 100%
app/ddd/application/usecase/group/get_group_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/group/patch_group_usecase.py PatchGroupUseCase 4 4 3 0%
app/ddd/application/usecase/group/patch_group_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/group/query_group_usecase.py QueryGroupUseCase 3 3 0 0%
app/ddd/application/usecase/group/query_group_usecase.py (no class) 4 0 0 100%
app/ddd/application/usecase/token/__init__.py (no class) 1 0 0 100%
app/ddd/application/usecase/token/create_token_usecase.py CreateTokenUseCase 4 0 1 100%
app/ddd/application/usecase/token/create_token_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/user/__init__.py (no class) 6 0 0 100%
app/ddd/application/usecase/user/base_user_usecase.py BaseUserUseCase 3 0 0 100%
app/ddd/application/usecase/user/base_user_usecase.py (no class) 10 0 0 100%
app/ddd/application/usecase/user/create_user_report_usecase.py CreateUserReportUseCase 6 0 0 100%
app/ddd/application/usecase/user/create_user_report_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/user/create_user_usecase.py CreateUserUseCase 4 0 3 100%
app/ddd/application/usecase/user/create_user_usecase.py (no class) 5 0 1 100%
app/ddd/application/usecase/user/delete_user_usecase.py DeleteUserUseCase 4 0 0 100%
app/ddd/application/usecase/user/delete_user_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/user/get_user_usecase.py GetUserUseCase 3 0 2 100%
app/ddd/application/usecase/user/get_user_usecase.py (no class) 5 0 0 100%
app/ddd/application/usecase/user/patch_user_usecase.py PatchUserUseCase 6 0 3 100%
app/ddd/application/usecase/user/patch_user_usecase.py (no class) 5 0 1 100%
app/ddd/application/usecase/user/query_user_usecase.py QueryUserUseCase 3 0 0 100%
app/ddd/application/usecase/user/query_user_usecase.py (no class) 4 0 0 100%
app/ddd/domain/__init__.py (no class) 4 0 0 100%
app/ddd/domain/enum/__init__.py (no class) 4 0 0 100%
app/ddd/domain/enum/action_code.py ActionCode 0 0 0 100%
app/ddd/domain/enum/action_code.py (no class) 8 0 0 100%
app/ddd/domain/enum/error_code.py ErrorCode 1 0 0 100%
app/ddd/domain/enum/error_code.py (no class) 9 0 0 100%
app/ddd/domain/enum/resource_code.py ResourceCode 0 0 0 100%
app/ddd/domain/enum/resource_code.py (no class) 6 0 0 100%
app/ddd/domain/enum/user_role_enum.py UserRoleEnum 0 0 0 100%
app/ddd/domain/enum/user_role_enum.py (no class) 6 0 0 100%
app/ddd/domain/error/__init__.py (no class) 2 0 0 100%
app/ddd/domain/error/group_error.py ErrorEnum 0 0 0 100%
app/ddd/domain/error/group_error.py GroupNotFoundError 2 0 0 100%
app/ddd/domain/error/group_error.py GroupDuplicationError 2 0 0 100%
app/ddd/domain/error/group_error.py GroupUpdateConflictError 2 2 0 0%
app/ddd/domain/error/group_error.py GroupAuthError 2 2 0 0%
app/ddd/domain/error/group_error.py (no class) 16 0 0 100%
app/ddd/domain/error/user_error.py UserNotFoundError 2 0 0 100%
app/ddd/domain/error/user_error.py UserDuplicationError 2 0 0 100%
app/ddd/domain/error/user_error.py UserUpdateConflictError 2 0 0 100%
app/ddd/domain/error/user_error.py UserAuthError 2 0 0 100%
app/ddd/domain/error/user_error.py (no class) 11 0 0 100%
app/ddd/domain/factory/__init__.py (no class) 1 0 0 100%
app/ddd/domain/factory/token_factory.py TokenFactory 0 0 1 100%
app/ddd/domain/factory/token_factory.py (no class) 5 0 0 100%
app/ddd/domain/model/__init__.py (no class) 3 0 0 100%
app/ddd/domain/model/group.py GroupId 0 0 0 100%
app/ddd/domain/model/group.py Group 1 0 0 100%
app/ddd/domain/model/group.py (no class) 15 0 0 100%
app/ddd/domain/model/token.py Token 0 0 0 100%
app/ddd/domain/model/token.py (no class) 4 0 0 100%
app/ddd/domain/model/user.py UserReport 1 0 0 100%
app/ddd/domain/model/user.py UserId 0 0 0 100%
app/ddd/domain/model/user.py User 4 0 0 100%
app/ddd/domain/model/user.py (no class) 26 0 3 100%
app/ddd/domain/repository/__init__.py (no class) 2 0 0 100%
app/ddd/domain/repository/group_repository.py GroupRepository 0 0 5 100%
app/ddd/domain/repository/group_repository.py (no class) 14 0 2 100%
app/ddd/domain/repository/user_repository.py UserRepository 0 0 7 100%
app/ddd/domain/repository/user_repository.py (no class) 18 0 0 100%
app/ddd/domain/service/__init__.py (no class) 1 0 0 100%
app/ddd/domain/service/auth_service.py AuthService 0 0 2 100%
app/ddd/domain/service/auth_service.py (no class) 2 0 4 100%
app/ddd/infrastructure/auth/__init__.py (no class) 1 0 1 100%
app/ddd/infrastructure/auth/hash_password.py (no class) 1 0 9 100%
app/ddd/infrastructure/auth/jwt_token.py (no class) 30 0 3 100%
app/ddd/infrastructure/database/__init__.py (no class) 2 0 0 100%
app/ddd/infrastructure/database/converter.py (no class) 0 0 0 100%
app/ddd/infrastructure/database/db.py (no class) 15 0 0 100%
app/ddd/infrastructure/factory/__init__.py (no class) 1 0 0 100%
app/ddd/infrastructure/factory/token_factory_impl.py TokenFactoryImpl 2 0 0 100%
app/ddd/infrastructure/factory/token_factory_impl.py (no class) 8 0 0 100%
app/ddd/infrastructure/log/__init__.py (no class) 0 0 0 100%
app/ddd/infrastructure/log/logger.py (no class) 8 0 0 100%
app/ddd/infrastructure/repository/__init__.py (no class) 2 0 0 100%
app/ddd/infrastructure/repository/group_repository_impl.py GroupRepositoryImpl 27 10 0 63%
app/ddd/infrastructure/repository/group_repository_impl.py (no class) 13 0 0 100%
app/ddd/infrastructure/repository/user_repository_impl.py UserRepositoryImpl 38 0 0 100%
app/ddd/infrastructure/repository/user_repository_impl.py (no class) 15 0 0 100%
app/ddd/infrastructure/service/__init__.py (no class) 1 0 0 100%
app/ddd/infrastructure/service/auth_service_impl.py AuthServiceImpl 0 0 8 100%
app/ddd/infrastructure/service/auth_service_impl.py (no class) 4 0 2 100%
app/ddd/infrastructure/uow/__init__.py (no class) 2 0 0 100%
app/ddd/infrastructure/uow/group_uow_impl.py GroupUnitOfWorkImpl 1 0 0 100%
app/ddd/infrastructure/uow/group_uow_impl.py (no class) 5 0 0 100%
app/ddd/infrastructure/uow/user_uow_impl.py UserUnitOfWorkImpl 1 0 0 100%
app/ddd/infrastructure/uow/user_uow_impl.py (no class) 5 0 0 100%
app/ddd/infrastructure/util/__init__.py (no class) 1 0 0 100%
app/ddd/infrastructure/util/convert.py (no class) 12 0 0 100%
app/ddd/presentation/endpoint/__init__.py (no class) 1 0 0 100%
app/ddd/presentation/endpoint/group/__init__.py (no class) 5 0 0 100%
app/ddd/presentation/endpoint/group/create_group.py (no class) 16 0 0 100%
app/ddd/presentation/endpoint/group/delete_group.py (no class) 15 0 0 100%
app/ddd/presentation/endpoint/group/get_group.py (no class) 16 0 0 100%
app/ddd/presentation/endpoint/group/query_group.py (no class) 15 4 0 73%
app/ddd/presentation/endpoint/group/router.py (no class) 2 0 0 100%
app/ddd/presentation/endpoint/health/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/endpoint/health/get_health.py (no class) 5 0 0 100%
app/ddd/presentation/endpoint/health/router.py (no class) 2 0 0 100%
app/ddd/presentation/endpoint/router.py (no class) 9 0 0 100%
app/ddd/presentation/endpoint/token/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/endpoint/token/create_token.py (no class) 11 0 20 100%
app/ddd/presentation/endpoint/token/router.py (no class) 2 0 0 100%
app/ddd/presentation/endpoint/user/__init__.py (no class) 6 0 0 100%
app/ddd/presentation/endpoint/user/create_user.py (no class) 16 0 0 100%
app/ddd/presentation/endpoint/user/delete_user.py (no class) 16 0 0 100%
app/ddd/presentation/endpoint/user/get_user.py (no class) 23 0 0 100%
app/ddd/presentation/endpoint/user/patch_user.py (no class) 16 0 0 100%
app/ddd/presentation/endpoint/user/query_user.py (no class) 15 0 0 100%
app/ddd/presentation/endpoint/user/router.py (no class) 2 0 0 100%
app/ddd/presentation/endpoint/user_report/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/endpoint/user_report/create_user_report.py (no class) 16 0 0 100%
app/ddd/presentation/endpoint/user_report/router.py (no class) 2 0 0 100%
app/ddd/presentation/schema/group/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/schema/group/group_request.py CreateGroupRequest 0 0 0 100%
app/ddd/presentation/schema/group/group_request.py QueryGroupRequest 1 1 0 0%
app/ddd/presentation/schema/group/group_request.py (no class) 13 0 1 100%
app/ddd/presentation/schema/group/group_response.py GetGroupResponse 0 0 0 100%
app/ddd/presentation/schema/group/group_response.py CreateGroupResponse 0 0 0 100%
app/ddd/presentation/schema/group/group_response.py DeleteGroupResponse 0 0 0 100%
app/ddd/presentation/schema/group/group_response.py QueryGroupResponse 0 0 0 100%
app/ddd/presentation/schema/group/group_response.py (no class) 10 0 0 100%
app/ddd/presentation/schema/health/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/schema/health/health_request.py GetHealthRequest 0 0 0 100%
app/ddd/presentation/schema/health/health_request.py (no class) 2 0 1 100%
app/ddd/presentation/schema/health/health_response.py GetHealthResponse 0 0 0 100%
app/ddd/presentation/schema/health/health_response.py (no class) 3 0 0 100%
app/ddd/presentation/schema/token/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/schema/token/token_request.py CreateTokenRequest 0 0 0 100%
app/ddd/presentation/schema/token/token_request.py (no class) 3 0 1 100%
app/ddd/presentation/schema/token/token_response.py CreateTokenResponse 0 0 0 100%
app/ddd/presentation/schema/token/token_response.py (no class) 5 0 0 100%
app/ddd/presentation/schema/user/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/schema/user/user_request.py CreateUserRequest 0 0 0 100%
app/ddd/presentation/schema/user/user_request.py PatchUsersRequest 0 0 0 100%
app/ddd/presentation/schema/user/user_request.py QueryUserRequest 1 0 0 100%
app/ddd/presentation/schema/user/user_request.py (no class) 20 0 2 100%
app/ddd/presentation/schema/user/user_response.py GetUserResponse 0 0 0 100%
app/ddd/presentation/schema/user/user_response.py CreateUserResponse 0 0 0 100%
app/ddd/presentation/schema/user/user_response.py PatchUserResponse 0 0 0 100%
app/ddd/presentation/schema/user/user_response.py DeleteUserResponse 0 0 0 100%
app/ddd/presentation/schema/user/user_response.py QueryUserResponse 0 0 0 100%
app/ddd/presentation/schema/user/user_response.py (no class) 12 0 1 100%
app/ddd/presentation/schema/user_report/__init__.py (no class) 2 0 0 100%
app/ddd/presentation/schema/user_report/user_report_request.py CreateUserReportRequest 0 0 0 100%
app/ddd/presentation/schema/user_report/user_report_request.py (no class) 4 0 0 100%
app/ddd/presentation/schema/user_report/user_report_response.py CreateUserReportResponse 0 0 0 100%
app/ddd/presentation/schema/user_report/user_report_response.py (no class) 3 0 0 100%
app/main.py (no class) 12 0 0 100%
Total   1090 26 102 98%

No items found using the specified filter.