Coverage report: 76.53%

Files Functions Classes

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

File function statements missing excluded branches partial coverage
src/griffe_typingdoc/_internal/__init__.py (no function) 0 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/debug.py _interpreter_name_version 8 8 0 4 0 0.00%
src/griffe_typingdoc/_internal/debug.py _get_version 4 4 0 0 0 0.00%
src/griffe_typingdoc/_internal/debug.py _get_debug_info 4 4 0 0 0 0.00%
src/griffe_typingdoc/_internal/debug.py _print_debug_info 9 9 0 4 0 0.00%
src/griffe_typingdoc/_internal/debug.py (no function) 38 38 0 2 0 0.00%
src/griffe_typingdoc/_internal/docstrings.py _no_self_params 3 0 0 2 0 100.00%
src/griffe_typingdoc/_internal/docstrings.py _to_parameters_section 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/docstrings.py _to_other_parameters_section 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/docstrings.py _to_yields_section 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/docstrings.py _to_receives_section 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/docstrings.py _to_returns_section 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/docstrings.py _to_warns_section 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/docstrings.py _to_raises_section 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/docstrings.py _to_deprecated_section 8 8 0 2 0 0.00%
src/griffe_typingdoc/_internal/docstrings.py (no function) 12 0 3 0 0 100.00%
src/griffe_typingdoc/_internal/dynamic.py _hints 6 6 0 2 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _doc 4 4 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _attribute_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _parameters_docs 5 5 0 2 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _other_parameters_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _deprecated_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _raises_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _warns_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _yields_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _receives_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py _returns_docs 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/dynamic.py (no function) 14 0 2 0 0 100.00%
src/griffe_typingdoc/_internal/extension.py TypingDocExtension.__init__ 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/extension.py TypingDocExtension._handle_attribute 16 4 0 12 5 67.86%
src/griffe_typingdoc/_internal/extension.py TypingDocExtension._handle_function 26 4 0 22 4 83.33%
src/griffe_typingdoc/_internal/extension.py TypingDocExtension._handle_object 9 0 0 10 1 94.74%
src/griffe_typingdoc/_internal/extension.py TypingDocExtension.on_package 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/extension.py TypingDocExtension.on_function_instance 2 1 0 2 1 50.00%
src/griffe_typingdoc/_internal/extension.py TypingDocExtension.on_attribute_instance 2 1 0 2 1 50.00%
src/griffe_typingdoc/_internal/extension.py (no function) 12 0 5 0 0 100.00%
src/griffe_typingdoc/_internal/static.py _literal 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/static.py _set_metadata_doc 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/static.py _set_metadata_deprecated 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/static.py _set_metadata_name 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/static.py _set_metadata_raises 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/static.py _set_metadata_warns 1 1 0 0 0 0.00%
src/griffe_typingdoc/_internal/static.py _set_metadata 2 0 0 2 1 75.00%
src/griffe_typingdoc/_internal/static.py _metadata 10 2 0 8 1 83.33%
src/griffe_typingdoc/_internal/static.py _attribute_docs 1 0 0 0 0 100.00%
src/griffe_typingdoc/_internal/static.py _parameters_docs 12 0 0 6 0 100.00%
src/griffe_typingdoc/_internal/static.py _other_parameters_docs 13 0 0 10 0 100.00%
src/griffe_typingdoc/_internal/static.py _yields_docs 15 0 0 12 0 100.00%
src/griffe_typingdoc/_internal/static.py _receives_docs 12 0 0 8 0 100.00%
src/griffe_typingdoc/_internal/static.py _returns_docs 14 0 0 10 0 100.00%
src/griffe_typingdoc/_internal/static.py _warns_docs 8 1 0 6 2 78.57%
src/griffe_typingdoc/_internal/static.py _raises_docs 8 1 0 6 2 78.57%
src/griffe_typingdoc/_internal/static.py _deprecated_docs 8 1 0 6 2 78.57%
src/griffe_typingdoc/_internal/static.py (no function) 25 0 5 0 0 100.00%
tests/conftest.py (no function) 0 0 0 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 10 1 0 6 1 87.50%
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_on_itself 6 0 0 0 0 100.00%
tests/test_extension.py test_attribute_doc 2 0 0 0 0 100.00%
tests/test_extension.py test_parameter_doc 2 0 0 0 0 100.00%
tests/test_extension.py test_other_parameter_doc 2 0 0 0 0 100.00%
tests/test_extension.py test_iterator_doc 2 0 0 0 0 100.00%
tests/test_extension.py test_generator_doc 5 0 0 0 0 100.00%
tests/test_extension.py test_generator_tuples 8 0 0 0 0 100.00%
tests/test_extension.py test_return_doc 2 0 0 0 0 100.00%
tests/test_extension.py test_unpacking_typed_dict 17 0 0 0 0 100.00%
tests/test_extension.py test_ignore_unannotated_params 4 0 0 0 0 100.00%
tests/test_extension.py test_ignore_unannotated_other_params 4 0 0 0 0 100.00%
tests/test_extension.py test_ignore_unannotated_returns 4 0 0 0 0 100.00%
tests/test_extension.py test_ignore_unannotated_yields 4 0 0 0 0 100.00%
tests/test_extension.py test_ignore_unannotated_receives 4 0 0 0 0 100.00%
tests/test_extension.py (no function) 24 0 0 0 0 100.00%
Total   516 121 17 170 24 76.53%

No items found using the specified filter.