LCOV - code coverage report
Current view: top level - Modules - _elementtree.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 1538 1880 81.8 %
Date: 2022-07-20 13:12:14 Functions: 118 118 100.0 %
Branches: 936 1368 68.4 %

Function Name Sort by function name Hit count Sort by hit count
PyInit__elementtree 14
_check_xmlparser 1019
_clear_joined_ptr 404516
_elementtree_Element___copy___impl 24
_elementtree_Element___deepcopy___impl 5
_elementtree_Element___getstate___impl 56
_elementtree_Element___setstate__ 151
_elementtree_Element___sizeof___impl 3
_elementtree_Element_append_impl 38
_elementtree_Element_clear_impl 20
_elementtree_Element_extend 16
_elementtree_Element_find_impl 674
_elementtree_Element_findall_impl 131
_elementtree_Element_findtext_impl 15
_elementtree_Element_get_impl 128
_elementtree_Element_insert_impl 15
_elementtree_Element_items_impl 994
_elementtree_Element_iter_impl 448
_elementtree_Element_iterfind_impl 11
_elementtree_Element_itertext_impl 80
_elementtree_Element_keys_impl 1
_elementtree_Element_makeelement_impl 1
_elementtree_Element_remove_impl 9
_elementtree_Element_set_impl 18
_elementtree_TreeBuilder___init___impl 1388
_elementtree_TreeBuilder_close_impl 9
_elementtree_TreeBuilder_comment 9
_elementtree_TreeBuilder_data 1027
_elementtree_TreeBuilder_end 1014
_elementtree_TreeBuilder_pi_impl 13
_elementtree_TreeBuilder_start_impl 1016
_elementtree_XMLParser___init___impl 452
_elementtree_XMLParser__parse_whole 21
_elementtree_XMLParser__setevents_impl 38
_elementtree_XMLParser_close_impl 364
_elementtree_XMLParser_feed 596
_elementtree__set_factories_impl 15
_set_joined_ptr 405827
checkpath 820
clear_extra 202278
create_elementiter 528
create_extra 200623
create_new_element 201836
dealloc_extra 200672
deepcopy 20
element_add_subelement 200507
element_ass_subscr 66
element_attrib_getter 135
element_attrib_setter 6
element_dealloc 206331
element_gc_clear 202258
element_gc_traverse 1310939
element_get_attrib 153
element_get_tail 814
element_get_text 1308
element_getitem 3902
element_init 365
element_length 530
element_new 414
element_repr 3
element_resize 200701
element_setitem 25
element_setstate_from_Python 151
element_setstate_from_attributes 151
element_subscr 155
element_tag_getter 3820
element_tag_setter 8
element_tail_getter 807
element_tail_setter 80
element_text_getter 1215
element_text_setter 125
elementiter_dealloc 528
elementiter_next 1431
elementiter_traverse 2
elementtree_clear 25
elementtree_free 13
elementtree_traverse 332
expat_comment_handler 41
expat_data_handler 1224
expat_default_handler 684
expat_end_handler 813
expat_end_ns_handler 96
expat_parse 996
expat_pi_handler 19
expat_set_error 22
expat_start_doctype_handler 35
expat_start_handler 815
expat_start_ns_handler 96
get_attrib_from_keywords 24
get_elementtree_state 370
ignore_attribute_error 4048
is_empty_dict 1174
list_join 72
makeuniversal 1234
parent_stack_push_new 1253
raise_type_error 7
subelement 200125
treebuilder_add_subelement 327
treebuilder_append_event 3390
treebuilder_dealloc 1419
treebuilder_done 346
treebuilder_extend_element_text_or_tail 1611
treebuilder_flush_data 3424
treebuilder_gc_clear 1419
treebuilder_gc_traverse 12
treebuilder_handle_comment 37
treebuilder_handle_data 1926
treebuilder_handle_end 1682
treebuilder_handle_end_ns 5
treebuilder_handle_pi 16
treebuilder_handle_start 1689
treebuilder_handle_start_ns 9
treebuilder_new 1419
xmlparser_dealloc 453
xmlparser_gc_clear 454
xmlparser_gc_traverse 16
xmlparser_new 453
xmlparser_version_getter 1

Generated by: LCOV version 1.14