Coverage report: 99%

Files Functions Classes

coverage.py v7.6.12, created at 2025-04-06 18:07 +0200

File function statements missing excluded branches partial coverage
src/minihtml/__init__.py (no function) 5 0 0 0 0 100%
src/minihtml/_component.py SlotContext.__init__ 1 0 0 0 0 100%
src/minihtml/_component.py SlotContext.__enter__ 3 0 0 2 0 100%
src/minihtml/_component.py SlotContext.__exit__ 2 0 0 2 0 100%
src/minihtml/_component.py Slots.__init__ 4 0 0 2 0 100%
src/minihtml/_component.py Slots.add_content 2 0 0 0 0 100%
src/minihtml/_component.py Slots.slot 3 0 0 2 0 100%
src/minihtml/_component.py Slots.is_filled 1 0 0 0 0 100%
src/minihtml/_component.py Component.__init__ 3 0 0 0 0 100%
src/minihtml/_component.py Component.__enter__ 3 0 0 0 0 100%
src/minihtml/_component.py Component.__exit__ 4 0 0 2 0 100%
src/minihtml/_component.py Component.slot 7 0 0 0 0 100%
src/minihtml/_component.py Component.get_nodes 8 0 0 2 0 100%
src/minihtml/_component.py Component.__str__ 3 0 0 0 0 100%
src/minihtml/_component.py ComponentWrapper.__init__ 5 0 0 0 0 100%
src/minihtml/_component.py ComponentWrapper.__call__ 8 0 0 4 0 100%
src/minihtml/_component.py component 9 0 0 4 0 100%
src/minihtml/_component.py component.decorator 1 0 0 0 0 100%
src/minihtml/_component.py (no function) 33 1 0 2 1 94%
src/minihtml/_context.py Context._push 6 0 0 0 0 100%
src/minihtml/_context.py Context._pop 1 0 0 0 0 100%
src/minihtml/_context.py Context.__enter__ 1 0 0 0 0 100%
src/minihtml/_context.py Context.__exit__ 1 0 0 0 0 100%
src/minihtml/_context.py Context.get 1 0 0 0 0 100%
src/minihtml/_context.py (no function) 14 1 0 2 1 88%
src/minihtml/_core.py Node.write 0 0 1 0 0 100%
src/minihtml/_core.py Node.__str__ 3 0 0 0 0 100%
src/minihtml/_core.py Node.render_list 6 0 0 6 0 100%
src/minihtml/_core.py HasNodes.get_nodes 0 0 1 0 0 100%
src/minihtml/_core.py iter_nodes 9 0 0 8 0 100%
src/minihtml/_core.py Text.__init__ 3 0 0 0 0 100%
src/minihtml/_core.py Text.write 3 0 0 2 0 100%
src/minihtml/_core.py text 3 0 0 0 0 100%
src/minihtml/_core.py safe 3 0 0 0 0 100%
src/minihtml/_core.py _format_attrs 1 0 0 0 0 100%
src/minihtml/_core.py Element.__getitem__ 9 0 0 6 0 100%
src/minihtml/_core.py Element.__repr__ 1 0 0 0 0 100%
src/minihtml/_core.py ElementEmpty.__init__ 4 0 0 0 0 100%
src/minihtml/_core.py ElementEmpty.__call__ 9 0 0 8 0 100%
src/minihtml/_core.py ElementEmpty.write 4 0 0 2 0 100%
src/minihtml/_core.py ElementNonEmpty.__init__ 4 0 0 0 0 100%
src/minihtml/_core.py ElementNonEmpty.__call__ 13 0 0 12 0 100%
src/minihtml/_core.py ElementNonEmpty.__enter__ 2 0 0 0 0 100%
src/minihtml/_core.py ElementNonEmpty.__exit__ 3 0 0 0 0 100%
src/minihtml/_core.py ElementNonEmpty.write 22 0 0 10 0 100%
src/minihtml/_core.py push_element_context 4 0 0 2 0 100%
src/minihtml/_core.py pop_element_context 2 0 0 0 0 100%
src/minihtml/_core.py register_with_context 5 0 0 4 1 89%
src/minihtml/_core.py deregister_from_context 3 0 0 2 0 100%
src/minihtml/_core.py Fragment.__init__ 4 0 0 4 0 100%
src/minihtml/_core.py Fragment.get_nodes 1 0 0 0 0 100%
src/minihtml/_core.py Fragment.__enter__ 3 0 0 0 0 100%
src/minihtml/_core.py Fragment.__exit__ 3 0 0 0 0 100%
src/minihtml/_core.py Fragment.__str__ 3 0 0 0 0 100%
src/minihtml/_core.py fragment 3 0 0 0 0 100%
src/minihtml/_core.py Prototype._get_repr 3 0 0 0 0 100%
src/minihtml/_core.py PrototypeEmpty.__init__ 3 0 0 0 0 100%
src/minihtml/_core.py PrototypeEmpty.__call__ 3 0 0 0 0 100%
src/minihtml/_core.py PrototypeEmpty.__getitem__ 3 0 0 0 0 100%
src/minihtml/_core.py PrototypeEmpty.__repr__ 1 0 0 0 0 100%
src/minihtml/_core.py PrototypeNonEmpty.__init__ 2 0 0 0 0 100%
src/minihtml/_core.py PrototypeNonEmpty.__call__ 3 0 0 0 0 100%
src/minihtml/_core.py PrototypeNonEmpty.__getitem__ 3 0 0 0 0 100%
src/minihtml/_core.py PrototypeNonEmpty.__enter__ 4 0 0 0 0 100%
src/minihtml/_core.py PrototypeNonEmpty.__exit__ 2 0 0 0 0 100%
src/minihtml/_core.py PrototypeNonEmpty.__repr__ 1 0 0 0 0 100%
src/minihtml/_core.py make_prototype 0 0 1 0 0 100%
src/minihtml/_core.py make_prototype 0 0 1 0 0 100%
src/minihtml/_core.py make_prototype 0 0 1 0 0 100%
src/minihtml/_core.py make_prototype 3 0 0 2 0 100%
src/minihtml/_core.py (no function) 78 1 7 2 1 98%
src/minihtml/_template.py Template.__init__ 1 0 0 0 0 100%
src/minihtml/_template.py Template.render 7 0 0 2 0 100%
src/minihtml/_template.py template 0 0 1 0 0 100%
src/minihtml/_template.py template 0 0 1 0 0 100%
src/minihtml/_template.py template 15 0 0 2 0 100%
src/minihtml/_template.py template.plain_decorator 2 0 0 0 0 100%
src/minihtml/_template.py template.plain_decorator.wrapper 2 0 0 0 0 100%
src/minihtml/_template.py template.plain_decorator.wrapper.callback 3 0 0 0 0 100%
src/minihtml/_template.py ResourceWrapper.__init__ 2 0 0 0 0 100%
src/minihtml/_template.py ResourceWrapper.write 7 0 0 4 0 100%
src/minihtml/_template.py component_styles 3 0 0 0 0 100%
src/minihtml/_template.py component_scripts 3 0 0 0 0 100%
src/minihtml/_template.py (no function) 19 0 4 0 0 100%
src/minihtml/_template_context.py TemplateContext.add_style 1 0 0 0 0 100%
src/minihtml/_template_context.py TemplateContext.add_script 1 0 0 0 0 100%
src/minihtml/_template_context.py TemplateContext.styles 1 0 0 0 0 100%
src/minihtml/_template_context.py TemplateContext.scripts 1 0 0 0 0 100%
src/minihtml/_template_context.py register_template_styles 3 0 0 4 0 100%
src/minihtml/_template_context.py register_template_scripts 3 0 0 4 0 100%
src/minihtml/_template_context.py get_template_context 1 0 0 0 0 100%
src/minihtml/_template_context.py template_context 4 0 0 0 0 100%
src/minihtml/_template_context.py (no function) 21 0 0 0 0 100%
src/minihtml/tags.py (no function) 118 0 0 0 0 100%
Total   589 3 18 110 4 99%

No items found using the specified filter.