Coverage report: 70.97%

Files Functions Classes

coverage.py v7.6.2, created at 2024-10-12 18:59 +0200

File class statements missing excluded branches partial coverage
src/mkdocstrings/_cache.py (no class) 43 30 0 8 0 25.49%
src/mkdocstrings/debug.py Variable 0 0 0 0 0 100.00%
src/mkdocstrings/debug.py Package 0 0 0 0 0 100.00%
src/mkdocstrings/debug.py Environment 0 0 0 0 0 100.00%
src/mkdocstrings/debug.py (no class) 63 63 0 10 0 0.00%
src/mkdocstrings/extension.py AutoDocProcessor 70 21 0 24 5 63.83%
src/mkdocstrings/extension.py _HeadingsPostProcessor 12 0 0 8 0 100.00%
src/mkdocstrings/extension.py _TocLabelsTreeProcessor 5 1 0 4 1 77.78%
src/mkdocstrings/extension.py MkdocstringsExtension 7 0 0 0 0 100.00%
src/mkdocstrings/extension.py (no class) 29 0 5 0 0 100.00%
src/mkdocstrings/handlers/__init__.py (no class) 0 0 0 0 0 100.00%
src/mkdocstrings/handlers/base.py CollectionError 0 0 0 0 0 100.00%
src/mkdocstrings/handlers/base.py ThemeNotSupported 0 0 0 0 0 100.00%
src/mkdocstrings/handlers/base.py BaseHandler 83 14 0 30 13 76.11%
src/mkdocstrings/handlers/base.py Handlers 31 10 0 14 1 66.67%
src/mkdocstrings/handlers/base.py (no class) 60 3 3 4 0 92.19%
src/mkdocstrings/handlers/rendering.py Highlighter 28 0 0 14 1 97.62%
src/mkdocstrings/handlers/rendering.py IdPrependingTreeprocessor 23 4 0 16 3 76.92%
src/mkdocstrings/handlers/rendering.py HeadingShiftingTreeprocessor 10 0 0 6 0 100.00%
src/mkdocstrings/handlers/rendering.py _HeadingReportingTreeprocessor 9 0 0 6 0 100.00%
src/mkdocstrings/handlers/rendering.py ParagraphStrippingTreeprocessor 4 2 0 2 1 50.00%
src/mkdocstrings/handlers/rendering.py MkdocstringsInnerExtension 7 0 0 0 0 100.00%
src/mkdocstrings/handlers/rendering.py (no class) 42 0 3 0 0 100.00%
src/mkdocstrings/inventory.py InventoryItem 22 22 0 10 0 0.00%
src/mkdocstrings/inventory.py Inventory 17 12 0 6 1 26.09%
src/mkdocstrings/inventory.py (no class) 17 0 2 0 0 100.00%
src/mkdocstrings/loggers.py LoggerAdapter 9 0 0 4 0 100.00%
src/mkdocstrings/loggers.py TemplateLogger 5 0 0 0 0 100.00%
src/mkdocstrings/loggers.py (no class) 44 5 3 4 1 87.50%
src/mkdocstrings/plugin.py PluginConfig 0 0 0 0 0 100.00%
src/mkdocstrings/plugin.py MkdocstringsPlugin 81 44 0 34 6 40.87%
src/mkdocstrings/plugin.py (no class) 61 4 3 4 0 90.77%
tests/conftest.py (no class) 27 0 5 2 0 100.00%
tests/test_extension.py (no class) 78 0 3 4 0 100.00%
tests/test_handlers.py (no class) 40 0 3 0 0 100.00%
tests/test_inventory.py (no class) 34 24 2 4 0 26.32%
tests/test_loggers.py (no class) 30 0 0 8 0 100.00%
tests/test_plugin.py (no class) 37 0 2 0 0 100.00%
Total   1028 259 34 226 33 70.97%

No items found using the specified filter.