Coverage report: 72%

Files Functions Classes

coverage.py v7.8.0, created at 2025-05-21 22:43 +0100

File class statements missing excluded coverage
nexios\__init__.py (no class) 19 0 0 100%
nexios\__main__.py (no class) 9 6 0 33%
nexios\_utils\__init__.py (no class) 0 0 0 100%
nexios\_utils\async_helpers.py AwaitableOrContextManager 0 0 0 100%
nexios\_utils\async_helpers.py SupportsAsyncClose 0 0 1 100%
nexios\_utils\async_helpers.py AwaitableOrContextManagerWrapper 6 4 0 33%
nexios\_utils\async_helpers.py (no class) 47 14 10 70%
nexios\_utils\cuncurrency.py _StopIteration 0 0 0 100%
nexios\_utils\cuncurrency.py (no class) 37 21 0 43%
nexios\application.py NexiosApp 114 73 0 36%
nexios\application.py (no class) 47 0 0 100%
nexios\auth\__init__.py (no class) 4 0 0 100%
nexios\auth\backends\__init__.py (no class) 2 0 0 100%
nexios\auth\backends\apikey.py APIKeyAuthBackend 10 10 0 0%
nexios\auth\backends\apikey.py (no class) 7 0 0 100%
nexios\auth\backends\jwt.py JWTAuthBackend 17 1 0 94%
nexios\auth\backends\jwt.py (no class) 27 4 0 85%
nexios\auth\base.py AuthenticationError 0 0 0 100%
nexios\auth\base.py AuthCredentials 1 1 0 0%
nexios\auth\base.py AuthenticationBackend 1 1 0 0%
nexios\auth\base.py BaseUser 3 3 0 0%
nexios\auth\base.py SimpleUser 3 2 0 33%
nexios\auth\base.py UnauthenticatedUser 2 2 0 0%
nexios\auth\base.py (no class) 28 0 0 100%
nexios\auth\decorator.py auth 21 5 0 76%
nexios\auth\decorator.py (no class) 8 0 0 100%
nexios\auth\exceptions.py AuthException 1 0 0 100%
nexios\auth\exceptions.py AuthenticationFailed 1 0 0 100%
nexios\auth\exceptions.py (no class) 11 0 0 100%
nexios\auth\middleware.py AuthenticationMiddleware 12 1 0 92%
nexios\auth\middleware.py (no class) 10 0 0 100%
nexios\config\__init__.py (no class) 17 3 0 82%
nexios\config\base.py ServerConfigDict 0 0 0 100%
nexios\config\base.py MakeConfig 33 1 0 97%
nexios\config\base.py (no class) 45 3 0 93%
nexios\converters.py Convertor 0 0 2 100%
nexios\converters.py StringConvertor 5 4 0 20%
nexios\converters.py PathConvertor 2 2 0 0%
nexios\converters.py IntegerConvertor 4 4 0 0%
nexios\converters.py FloatConvertor 6 6 0 0%
nexios\converters.py UUIDConvertor 2 2 0 0%
nexios\converters.py SlugConvertor 6 6 0 0%
nexios\converters.py (no class) 50 8 0 84%
nexios\decorators.py RouteDecorator 5 4 0 20%
nexios\decorators.py allowed_methods 14 2 0 86%
nexios\decorators.py catch_exception 18 18 0 0%
nexios\decorators.py (no class) 18 0 0 100%
nexios\dependencies.py Depend 2 1 0 50%
nexios\dependencies.py (no class) 36 3 0 92%
nexios\events.py EventPriority 0 0 0 100%
nexios\events.py EventPhase 0 0 0 100%
nexios\events.py EventContext 0 0 0 100%
nexios\events.py EventError 0 0 0 100%
nexios\events.py ListenerAlreadyRegisteredError 0 0 0 100%
nexios\events.py MaxListenersExceededError 0 0 0 100%
nexios\events.py EventCancelledError 0 0 0 100%
nexios\events.py EventProtocol 1 0 0 100%
nexios\events.py EventSerializationMixin 7 7 0 0%
nexios\events.py Event 164 77 0 53%
nexios\events.py EventEmitter 35 25 0 29%
nexios\events.py EventNamespace 19 19 0 0%
nexios\events.py AsyncEventEmitter 7 5 0 29%
nexios\events.py EventBenchmark 9 9 0 0%
nexios\events.py (no class) 121 0 0 100%
nexios\exception_handler.py ExceptionMiddleware 12 1 0 92%
nexios\exception_handler.py (no class) 43 2 0 95%
nexios\exceptions.py HTTPException 6 2 0 67%
nexios\exceptions.py NotFoundException 1 0 0 100%
nexios\exceptions.py WebSocketException 5 5 0 0%
nexios\exceptions.py (no class) 13 0 0 100%
nexios\handlers\__init__.py (no class) 0 0 0 100%
nexios\handlers\not_found.py (no class) 34 11 0 68%
nexios\http\__init__.py (no class) 3 0 0 100%
nexios\http\formparsers.py FormMessage 0 0 0 100%
nexios\http\formparsers.py MultipartPart 0 0 0 100%
nexios\http\formparsers.py MultiPartException 1 0 0 100%
nexios\http\formparsers.py FormParser 38 20 0 47%
nexios\http\formparsers.py MultiPartParser 83 4 0 95%
nexios\http\formparsers.py (no class) 63 10 0 84%
nexios\http\request.py ClientDisconnect 0 0 0 100%
nexios\http\request.py HTTPConnection 55 26 0 53%
nexios\http\request.py Request 107 50 0 53%
nexios\http\request.py (no class) 105 5 0 95%
nexios\http\response.py MalformedRangeHeader 1 1 0 0%
nexios\http\response.py RangeNotSatisfiable 1 1 0 0%
nexios\http\response.py BaseResponse 77 20 0 74%
nexios\http\response.py PlainTextResponse 1 0 0 100%
nexios\http\response.py JSONResponse 5 2 0 60%
nexios\http\response.py HTMLResponse 1 1 0 0%
nexios\http\response.py FileResponse 103 32 0 69%
nexios\http\response.py StreamingResponse 29 4 0 86%
nexios\http\response.py RedirectResponse 4 1 0 75%
nexios\http\response.py NexiosResponse 105 70 0 33%
nexios\http\response.py (no class) 118 0 0 100%
nexios\logging.py LocalQueueHandler 1 1 0 0%
nexios\logging.py (no class) 41 13 0 68%
nexios\middlewares\__init__.py (no class) 4 0 0 100%
nexios\middlewares\base.py BaseMiddleware 10 1 0 90%
nexios\middlewares\base.py (no class) 8 0 0 100%
nexios\middlewares\core\__init__.py _MiddlewareFactory 0 0 1 100%
nexios\middlewares\core\__init__.py Middleware 11 6 0 45%
nexios\middlewares\core\__init__.py _CachedRequest 27 9 2 67%
nexios\middlewares\core\__init__.py BaseMiddleware 67 9 0 87%
nexios\middlewares\core\__init__.py (no class) 32 0 6 100%
nexios\middlewares\cors.py CORSMiddleware 94 14 0 85%
nexios\middlewares\cors.py (no class) 19 0 0 100%
nexios\middlewares\csrf.py CSRFMiddleware 68 58 0 15%
nexios\middlewares\csrf.py (no class) 14 0 0 100%
nexios\middlewares\errors\__init__.py (no class) 0 0 0 100%
nexios\middlewares\errors\server_error_handler.py ServerErrorMiddleware 123 106 0 14%
nexios\middlewares\errors\server_error_handler.py (no class) 28 0 0 100%
nexios\openapi\__init__.py (no class) 1 0 0 100%
nexios\openapi\_builder.py APIDocumentation 72 61 0 15%
nexios\openapi\_builder.py (no class) 17 0 0 100%
nexios\openapi\config.py OpenAPIConfig 7 1 0 86%
nexios\openapi\config.py (no class) 5 0 0 100%
nexios\openapi\models.py Contact 0 0 0 100%
nexios\openapi\models.py License 0 0 0 100%
nexios\openapi\models.py Info 0 0 0 100%
nexios\openapi\models.py ServerVariable 0 0 0 100%
nexios\openapi\models.py Server 0 0 0 100%
nexios\openapi\models.py Reference 0 0 0 100%
nexios\openapi\models.py Discriminator 0 0 0 100%
nexios\openapi\models.py XML 0 0 0 100%
nexios\openapi\models.py ExternalDocumentation 0 0 0 100%
nexios\openapi\models.py Schema 0 0 0 100%
nexios\openapi\models.py Example 0 0 0 100%
nexios\openapi\models.py Encoding 0 0 0 100%
nexios\openapi\models.py MediaType 0 0 0 100%
nexios\openapi\models.py ParameterBase 0 0 0 100%
nexios\openapi\models.py ConcreteParameter 0 0 0 100%
nexios\openapi\models.py Header 0 0 0 100%
nexios\openapi\models.py Query 0 0 0 100%
nexios\openapi\models.py Path 0 0 0 100%
nexios\openapi\models.py Cookie 0 0 0 100%
nexios\openapi\models.py RequestBody 0 0 0 100%
nexios\openapi\models.py Link 0 0 0 100%
nexios\openapi\models.py ResponseHeader 0 0 0 100%
nexios\openapi\models.py Response 0 0 0 100%
nexios\openapi\models.py Operation 0 0 0 100%
nexios\openapi\models.py PathItem 0 0 0 100%
nexios\openapi\models.py SecurityBase 0 0 0 100%
nexios\openapi\models.py APIKey 0 0 0 100%
nexios\openapi\models.py HTTPBase 0 0 0 100%
nexios\openapi\models.py HTTPBearer 0 0 0 100%
nexios\openapi\models.py OAuthFlow 0 0 0 100%
nexios\openapi\models.py OAuthFlowImplicit 0 0 0 100%
nexios\openapi\models.py OAuthFlowPassword 0 0 0 100%
nexios\openapi\models.py OAuthFlowClientCredentials 0 0 0 100%
nexios\openapi\models.py OAuthFlowAuthorizationCode 0 0 0 100%
nexios\openapi\models.py OAuthFlows 0 0 0 100%
nexios\openapi\models.py OAuth2 0 0 0 100%
nexios\openapi\models.py OpenIdConnect 0 0 0 100%
nexios\openapi\models.py Components 0 0 0 100%
nexios\openapi\models.py Tag 0 0 0 100%
nexios\openapi\models.py OpenAPI 0 0 0 100%
nexios\openapi\models.py (no class) 256 1 2 99%
nexios\pagination.py PaginationError 0 0 0 100%
nexios\pagination.py InvalidPageError 0 0 0 100%
nexios\pagination.py InvalidPageSizeError 0 0 0 100%
nexios\pagination.py InvalidCursorError 0 0 0 100%
nexios\pagination.py LinkBuilder 6 0 0 100%
nexios\pagination.py BasePaginationStrategy 3 3 0 0%
nexios\pagination.py SyncDataHandler 2 2 0 0%
nexios\pagination.py SyncListDataHandler 3 3 0 0%
nexios\pagination.py AsyncDataHandler 2 2 0 0%
nexios\pagination.py AsyncListDataHandler 3 0 0 100%
nexios\pagination.py PageNumberPagination 26 0 0 100%
nexios\pagination.py LimitOffsetPagination 28 2 0 93%
nexios\pagination.py CursorPagination 27 5 0 81%
nexios\pagination.py SyncPaginator 13 13 0 0%
nexios\pagination.py AsyncPaginator 13 1 0 92%
nexios\pagination.py PaginatedResponse 3 3 0 0%
nexios\pagination.py AsyncPaginatedResponse 3 3 0 0%
nexios\pagination.py (no class) 66 0 0 100%
nexios\routing.py RouteType 0 0 0 100%
nexios\routing.py RoutePattern 0 0 0 100%
nexios\routing.py RouteBuilder 2 0 0 100%
nexios\routing.py BaseRouter 22 22 0 0%
nexios\routing.py Routes 56 9 0 84%
nexios\routing.py Router 129 41 0 68%
nexios\routing.py WebsocketRoutes 20 20 0 0%
nexios\routing.py WSRouter 48 43 0 10%
nexios\routing.py (no class) 156 22 0 86%
nexios\session\__init__.py (no class) 0 0 0 100%
nexios\session\base.py BaseSessionInterface 84 49 0 42%
nexios\session\base.py (no class) 42 0 0 100%
nexios\session\file.py FileSessionManager 34 20 0 41%
nexios\session\file.py (no class) 21 0 0 100%
nexios\session\middleware.py SessionMiddleware 27 2 0 93%
nexios\session\middleware.py (no class) 10 0 0 100%
nexios\session\signed_cookies.py SignedSessionManager 27 11 0 59%
nexios\session\signed_cookies.py (no class) 13 0 0 100%
nexios\status.py (no class) 92 7 0 92%
nexios\structs.py Address 0 0 0 100%
nexios\structs.py URL 82 60 0 27%
nexios\structs.py URLPath 12 8 0 33%
nexios\structs.py Secret 5 5 0 0%
nexios\structs.py ImmutableMultiDict 31 16 0 48%
nexios\structs.py MultiDict 28 26 0 7%
nexios\structs.py QueryParams 14 7 0 50%
nexios\structs.py Headers 39 16 0 59%
nexios\structs.py MutableHeaders 45 45 0 0%
nexios\structs.py State 9 4 0 56%
nexios\structs.py RouteParam 16 8 0 50%
nexios\structs.py UploadedFile 22 8 0 64%
nexios\structs.py FormData 8 5 0 38%
nexios\structs.py (no class) 149 0 0 100%
nexios\testing\__init__.py (no class) 2 0 0 100%
nexios\testing\client.py Client 16 0 0 100%
nexios\testing\client.py (no class) 14 0 0 100%
nexios\testing\transport.py WebSocketState 0 0 0 100%
nexios\testing\transport.py WebSocketDisconnect 3 3 0 0%
nexios\testing\transport.py WebSocketConnection 128 128 0 0%
nexios\testing\transport.py NexiosAsyncTransport 82 33 0 60%
nexios\testing\transport.py (no class) 38 0 0 100%
nexios\types.py (no class) 18 0 0 100%
nexios\views.py APIView 23 11 0 52%
nexios\views.py (no class) 18 0 0 100%
nexios\websockets\__init__.py (no class) 9 0 0 100%
nexios\websockets\base.py WebSocketState 0 0 0 100%
nexios\websockets\base.py WebSocketDisconnect 2 2 0 0%
nexios\websockets\base.py WebSocket 102 102 0 0%
nexios\websockets\base.py (no class) 33 0 0 100%
nexios\websockets\channels.py Channel 23 23 0 0%
nexios\websockets\channels.py ChannelBox 59 59 0 0%
nexios\websockets\channels.py (no class) 36 0 0 100%
nexios\websockets\consumers.py WebSocketConsumer 77 77 0 0%
nexios\websockets\consumers.py (no class) 24 0 0 100%
nexios\websockets\errors.py WebSocketErrorMiddleware 12 12 0 0%
nexios\websockets\errors.py (no class) 13 3 0 77%
nexios\websockets\utils.py ChannelAddStatusEnum 0 0 0 100%
nexios\websockets\utils.py ChannelRemoveStatusEnum 0 0 0 100%
nexios\websockets\utils.py GroupSendStatusEnum 0 0 0 100%
nexios\websockets\utils.py PayloadTypeEnum 0 0 0 100%
nexios\websockets\utils.py ChannelMessageDC 0 0 0 100%
nexios\websockets\utils.py (no class) 26 0 0 100%
test\__init__.py (no class) 0 0 0 100%
test\test_application.py ClassBasedHandler 1 0 0 100%
test\test_application.py (no class) 50 0 0 100%
test\test_auth.py test_custom_auth_backend.CustomAuthBackend 3 0 0 100%
test\test_auth.py (no class) 142 6 0 96%
test\test_config.py (no class) 50 0 0 100%
test\test_cors.py (no class) 67 0 0 100%
test\test_dependencies.py test_pydantic_dependency.QueryParams 0 0 0 100%
test\test_dependencies.py (no class) 102 2 0 98%
test\test_event.py (no class) 64 0 0 100%
test\test_exception_handlers.py test_custom_exception_handler.CustomException 0 0 0 100%
test\test_exception_handlers.py test_exception_handler_ordering.SpecificException 0 0 0 100%
test\test_exception_handlers.py test_exception_handler_ordering.GeneralException 0 0 0 100%
test\test_exception_handlers.py test_combined_exception_handling.CustomError 0 0 0 100%
test\test_exception_handlers.py (no class) 116 1 0 99%
test\test_form_parser.py (no class) 230 3 0 99%
test\test_middlewares.py (no class) 87 0 0 100%
test\test_pagination.py test_pagination_with_filters.FilteredDataHandler 3 0 0 100%
test\test_pagination.py test_pagination_with_custom_metadata.CustomPagination 3 0 0 100%
test\test_pagination.py (no class) 154 9 0 94%
test\test_request_objects.py (no class) 112 0 0 100%
test\test_response.py (no class) 85 0 0 100%
test\test_routing.py (no class) 112 1 0 99%
test\test_session.py (no class) 56 4 0 93%
Total   6629 1875 24 72%

No items found using the specified filter.