Coverage report: 86%

Files Functions Classes

coverage.py v7.9.2, created at 2025-07-23 23:00 +0800

File class statements missing excluded coverage
autocrud/__init__.py (no class) 7 0 0 100%
autocrud/converter.py ModelConverter 36 7 0 81%
autocrud/converter.py User 0 0 0 100%
autocrud/converter.py (no class) 32 18 0 44%
autocrud/core.py AutoCRUD 42 0 0 100%
autocrud/core.py User 0 0 0 100%
autocrud/core.py (no class) 38 23 0 39%
autocrud/fastapi_generator.py FastAPIGenerator 61 25 0 59%
autocrud/fastapi_generator.py User 0 0 0 100%
autocrud/fastapi_generator.py (no class) 34 21 0 38%
autocrud/serializer.py Serializer 2 2 0 0%
autocrud/serializer.py JsonSerializer 2 0 0 100%
autocrud/serializer.py PickleSerializer 2 0 0 100%
autocrud/serializer.py MsgPackSerializer 4 1 0 75%
autocrud/serializer.py SerializerFactory 7 1 0 86%
autocrud/serializer.py (no class) 40 9 0 78%
autocrud/storage.py Storage 8 5 0 38%
autocrud/storage.py MemoryStorage 16 2 0 88%
autocrud/storage.py DiskStorage 51 20 0 61%
autocrud/storage.py (no class) 56 20 0 64%
tests/__init__.py (no class) 0 0 0 100%
tests/conftest.py (no class) 18 0 0 100%
tests/test_basic_crud.py User 0 0 0 100%
tests/test_basic_crud.py TestBasicCrud 65 0 0 100%
tests/test_basic_crud.py (no class) 18 0 0 100%
tests/test_converter_serializer.py DataclassUser 0 0 0 100%
tests/test_converter_serializer.py PydanticUser 0 0 0 100%
tests/test_converter_serializer.py TypedDictUser 0 0 0 100%
tests/test_converter_serializer.py TestModelConverter 46 0 0 100%
tests/test_converter_serializer.py TestSerializerFactory 27 2 0 93%
tests/test_converter_serializer.py TestIntegratedDataTypes 27 0 0 100%
tests/test_converter_serializer.py (no class) 52 5 0 90%
tests/test_fastapi.py Product 0 0 0 100%
tests/test_fastapi.py TestFastAPIGenerator 58 0 0 100%
tests/test_fastapi.py TestAutoCRUDFastAPIIntegration 23 0 0 100%
tests/test_fastapi.py TestFastAPIAppBehavior 32 0 0 100%
tests/test_fastapi.py TestFastAPIAppBehavior.test_app_creation_with_different_models.User 0 0 0 100%
tests/test_fastapi.py TestFastAPIAppBehavior.test_app_creation_with_different_models.Book 0 0 0 100%
tests/test_fastapi.py (no class) 23 0 0 100%
tests/test_full_api.py Book 0 0 0 100%
tests/test_full_api.py TestFullAPICreation 94 0 0 100%
tests/test_full_api.py TestFullAPICreation.test_api_with_different_models.Article 0 0 0 100%
tests/test_full_api.py TestFullAPICreation.test_api_with_different_models.User 0 0 0 100%
tests/test_full_api.py (no class) 20 0 0 100%
tests/test_persistence.py Product 0 0 0 100%
tests/test_persistence.py TestDiskPersistence 43 0 0 100%
tests/test_persistence.py TestSerializerPersistence 38 4 0 89%
tests/test_persistence.py (no class) 20 0 0 100%
tests/test_storage.py Product 0 0 0 100%
tests/test_storage.py TestMemoryStorage 22 0 0 100%
tests/test_storage.py TestDiskStorage 42 0 0 100%
tests/test_storage.py TestStorageComparison 21 0 0 100%
tests/test_storage.py (no class) 19 0 0 100%
Total   1146 165 0 86%

No items found using the specified filter.