Coverage report: 90.34%

Files Functions Classes

coverage.py v7.6.12, created at 2025-03-09 18:24 +0100

File statements missing excluded branches partial coverage
src/pytkdocs/cli.py 72 2 3 12 2 95.24%
src/pytkdocs/debug.py 63 6 0 10 4 86.30%
src/pytkdocs/loader.py 408 32 0 156 14 91.49%
src/pytkdocs/objects.py 162 2 0 30 2 97.92%
src/pytkdocs/parsers/__init__.py 0 0 0 0 0 100.00%
src/pytkdocs/parsers/attributes.py 112 4 0 54 3 95.78%
src/pytkdocs/parsers/docstrings/__init__.py 9 2 0 0 0 77.78%
src/pytkdocs/parsers/docstrings/base.py 88 11 0 10 1 85.71%
src/pytkdocs/parsers/docstrings/google.py 265 17 0 126 15 91.82%
src/pytkdocs/parsers/docstrings/markdown.py 4 1 0 0 0 75.00%
src/pytkdocs/parsers/docstrings/numpy.py 146 31 0 78 17 74.11%
src/pytkdocs/parsers/docstrings/restructured_text.py 260 2 0 100 0 99.44%
src/pytkdocs/properties.py 16 0 0 0 0 100.00%
src/pytkdocs/serializer.py 83 4 0 40 3 92.68%
tests/conftest.py 0 0 0 0 0 100.00%
tests/fixtures/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/asyncio.py 5 2 0 0 0 60.00%
tests/fixtures/cached_properties.py 7 2 0 0 0 71.43%
tests/fixtures/corrupt_output.py 1 0 0 0 0 100.00%
tests/fixtures/dataclass.py 9 0 0 0 0 100.00%
tests/fixtures/decorated_function.py 7 2 0 0 0 71.43%
tests/fixtures/django.py 15 0 0 0 0 100.00%
tests/fixtures/docstring_attributes_section.py 5 0 0 0 0 100.00%
tests/fixtures/dynamic_members.py 9 2 0 2 0 81.82%
tests/fixtures/first_line_class_docstring.py 2 0 0 0 0 100.00%
tests/fixtures/inherited_members.py 15 2 0 0 0 86.67%
tests/fixtures/inherited_properties.py 20 6 0 0 0 70.00%
tests/fixtures/inheriting_enum_Enum.py 6 0 0 0 0 100.00%
tests/fixtures/inheriting_typing_NamedTuple.py 6 0 0 0 0 100.00%
tests/fixtures/marshmallow.py 4 0 0 0 0 100.00%
tests/fixtures/method_descriptor.py 1 0 0 0 0 100.00%
tests/fixtures/nested_class.py 2 0 0 0 0 100.00%
tests/fixtures/no_contents/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/no_contents/module.py 2 0 0 0 0 100.00%
tests/fixtures/parsing/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/parsing/attributes.py 138 61 0 10 0 54.73%
tests/fixtures/parsing/docstrings.py 4 1 0 0 0 75.00%
tests/fixtures/parsing/restructured_text/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/parsing/restructured_text/attributes.py 131 59 0 8 0 53.24%
tests/fixtures/parsing/restructured_text/class_docstrings.py 11 4 0 0 0 63.64%
tests/fixtures/parsing/restructured_text/docstring_attributes_section.py 5 0 0 0 0 100.00%
tests/fixtures/pkg1/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/pkg1/pkg2/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/pkg1/pkg2/pkg3/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/pkg1/pkg2/pkg3/pkg4/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/pkg1/pkg2/pkg3/pkg4/pkg5/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/pydantic.py 6 0 0 0 0 100.00%
tests/fixtures/real_path/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/real_path/module_a.py 1 0 0 0 0 100.00%
tests/fixtures/real_path/module_b.py 5 1 0 0 0 80.00%
tests/fixtures/test_namespace/subspace/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/the_package/__init__.py 0 0 0 0 0 100.00%
tests/fixtures/the_package/the_module.py 25 0 0 0 0 100.00%
tests/fixtures/unwrap_getattr_raises.py 4 0 0 0 0 100.00%
tests/fixtures/wrapped_objects.py 8 2 0 0 0 75.00%
tests/test_cli.py 48 0 0 0 0 100.00%
tests/test_loader.py 331 12 0 14 1 96.23%
tests/test_objects.py 75 0 0 0 0 100.00%
tests/test_parsers/__init__.py 0 0 0 0 0 100.00%
tests/test_parsers/test_annotations.py 14 0 0 2 0 100.00%
tests/test_parsers/test_attributes.py 80 0 0 0 0 100.00%
tests/test_parsers/test_docstrings/__init__.py 0 0 0 0 0 100.00%
tests/test_parsers/test_docstrings/test_google.py 305 19 0 12 0 94.01%
tests/test_parsers/test_docstrings/test_numpy.py 167 19 0 10 0 89.27%
tests/test_parsers/test_docstrings/test_restructured_text.py 372 11 0 0 0 97.04%
tests/test_properties.py 26 0 0 0 0 100.00%
tests/test_serializer.py 0 0 0 0 0 100.00%
Total 3560 319 3 674 62 90.34%

No items found using the specified filter.