Coverage report: 72.80%

Files Functions Classes

coverage.py v7.10.6, created at 2025-09-05 17:55 +0200

File function statements missing excluded branches partial coverage
src/griffe_pydantic/_internal/__init__.py (no function) 0 0 0 0 0 100.00%
src/griffe_pydantic/_internal/common.py _model_fields 1 0 0 0 0 100.00%
src/griffe_pydantic/_internal/common.py _model_validators 1 0 0 0 0 100.00%
src/griffe_pydantic/_internal/common.py _json_schema 1 0 0 0 0 100.00%
src/griffe_pydantic/_internal/common.py _process_class 4 0 0 0 0 100.00%
src/griffe_pydantic/_internal/common.py _process_function 9 0 0 4 0 100.00%
src/griffe_pydantic/_internal/common.py (no function) 12 0 4 0 0 100.00%
src/griffe_pydantic/_internal/debug.py _interpreter_name_version 8 8 0 4 0 0.00%
src/griffe_pydantic/_internal/debug.py _get_version 4 4 0 0 0 0.00%
src/griffe_pydantic/_internal/debug.py _get_debug_info 4 4 0 0 0 0.00%
src/griffe_pydantic/_internal/debug.py _print_debug_info 9 9 0 4 0 0.00%
src/griffe_pydantic/_internal/debug.py (no function) 38 38 0 2 0 0.00%
src/griffe_pydantic/_internal/dynamic.py _process_attribute 18 9 0 12 1 46.67%
src/griffe_pydantic/_internal/dynamic.py _process_function 5 2 0 4 2 55.56%
src/griffe_pydantic/_internal/dynamic.py _process_class 9 0 0 8 2 88.24%
src/griffe_pydantic/_internal/dynamic.py (no function) 8 0 0 0 0 100.00%
src/griffe_pydantic/_internal/extension.py PydanticExtension.__init__ 4 0 0 0 0 100.00%
src/griffe_pydantic/_internal/extension.py PydanticExtension.on_package 4 0 0 2 0 100.00%
src/griffe_pydantic/_internal/extension.py PydanticExtension.on_class_instance 9 3 0 4 0 76.92%
src/griffe_pydantic/_internal/extension.py (no function) 10 0 2 0 0 100.00%
src/griffe_pydantic/_internal/static.py _inherits_pydantic 6 0 0 6 1 91.67%
src/griffe_pydantic/_internal/static.py _pydantic_validator 4 0 0 4 1 87.50%
src/griffe_pydantic/_internal/static.py _process_attribute 36 2 0 20 0 96.43%
src/griffe_pydantic/_internal/static.py _process_function 9 3 0 6 2 66.67%
src/griffe_pydantic/_internal/static.py _process_class 27 6 0 18 3 75.56%
src/griffe_pydantic/_internal/static.py _process_module 8 1 0 8 1 87.50%
src/griffe_pydantic/_internal/static.py (no function) 13 0 2 0 0 100.00%
src/griffe_pydantic/common.py __getattr__ 5 5 0 0 0 0.00%
src/griffe_pydantic/common.py (no function) 4 4 0 0 0 0.00%
src/griffe_pydantic/dynamic.py __getattr__ 5 5 0 0 0 0.00%
src/griffe_pydantic/dynamic.py (no function) 4 4 0 0 0 0.00%
src/griffe_pydantic/extension.py __getattr__ 5 5 0 0 0 0.00%
src/griffe_pydantic/extension.py (no function) 4 4 0 0 0 0.00%
src/griffe_pydantic/static.py __getattr__ 5 5 0 0 0 0.00%
src/griffe_pydantic/static.py (no function) 4 4 0 0 0 0.00%
tests/conftest.py fixture_mkdocs_conf 13 0 0 2 0 100.00%
tests/conftest.py fixture_python_handler 5 0 0 0 0 100.00%
tests/conftest.py (no function) 10 0 5 0 0 100.00%
tests/test_api.py _fixture_loader 4 0 0 0 0 100.00%
tests/test_api.py _fixture_internal_api 1 0 0 0 0 100.00%
tests/test_api.py _fixture_public_api 1 0 0 0 0 100.00%
tests/test_api.py _yield_public_objects 15 1 0 12 1 92.59%
tests/test_api.py _fixture_modulelevel_internal_objects 1 0 0 0 0 100.00%
tests/test_api.py _fixture_internal_objects 1 1 0 0 0 0.00%
tests/test_api.py _fixture_public_objects 1 0 0 0 0 100.00%
tests/test_api.py _fixture_inventory 5 1 0 2 1 71.43%
tests/test_api.py test_exposed_objects 2 0 0 0 0 100.00%
tests/test_api.py test_unique_names 5 0 0 2 0 100.00%
tests/test_api.py test_single_locations 7 1 0 4 1 81.82%
tests/test_api.py test_single_locations._public_path 1 1 0 0 0 0.00%
tests/test_api.py test_api_matches_inventory 4 0 0 0 0 100.00%
tests/test_api.py test_inventory_matches_api 14 1 0 8 2 86.36%
tests/test_api.py test_no_module_docstrings_in_internal_api 3 0 0 2 0 100.00%
tests/test_api.py test_no_module_docstrings_in_internal_api._modules 3 0 0 2 0 100.00%
tests/test_api.py (no function) 29 0 2 0 0 100.00%
tests/test_extension.py test_extension 11 0 0 0 0 100.00%
tests/test_extension.py test_imported_models 3 0 0 0 0 100.00%
tests/test_extension.py test_rendering_model_config_using_configdict 3 0 0 0 0 100.00%
tests/test_extension.py test_not_crashing_on_dynamic_field_description 3 0 0 0 0 100.00%
tests/test_extension.py test_ignore_classvars 4 0 0 0 0 100.00%
tests/test_extension.py test_wildcard_field_validator 6 0 0 0 0 100.00%
tests/test_extension.py test_ignoring_properties 3 0 0 0 0 100.00%
tests/test_extension.py test_process_non_model_base_class_fields 3 0 0 0 0 100.00%
tests/test_extension.py (no function) 16 0 2 0 0 100.00%
Total   474 131 17 140 18 72.80%

No items found using the specified filter.