LCOV - code coverage report
Current view:
top level
-
Objects
- dictobject.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython lcov report
Lines:
2285
2609
87.6 %
Date:
2022-07-07 18:19:46
Functions:
162
165
98.2 %
Function Name
Hit count
PyDict_Clear
1898000
PyDict_Contains
558907000
PyDict_Copy
2617740
PyDict_DelItem
25545700
PyDict_DelItemString
612
PyDict_GetItem
1298190
PyDict_GetItemString
0
PyDict_GetItemWithError
243735000
PyDict_Items
1397
PyDict_Keys
983729
PyDict_Merge
5484880
PyDict_MergeFromSeq2
74475
PyDict_New
39665500
PyDict_Next
60364100
PyDict_SetDefault
112826000
PyDict_SetItem
138051000
PyDict_SetItemString
3897750
PyDict_Size
2039390
PyDict_Update
342067
PyDict_Values
7
PyObject_GenericGetDict
497358
_PyDictKeys_DecRef
664372
_PyDictKeys_GetVersionForCurrentState
3275510
_PyDictKeys_StringLookup
66782900
_PyDictView_Intersect
29
_PyDictView_New
1133520
_PyDict_CheckConsistency
401568000
_PyDict_ClearFreeList
30840
_PyDict_ContainsId
1268
_PyDict_Contains_KnownHash
38710
_PyDict_DebugMallocStats
1
_PyDict_DelItemId
0
_PyDict_DelItemIf
177173
_PyDict_DelItem_KnownHash
25567800
_PyDict_Fini
3120
_PyDict_FromItems
21274500
_PyDict_FromKeys
107871
_PyDict_GetItemHint
907564
_PyDict_GetItemIdWithError
8292
_PyDict_GetItemStringWithError
3624860
_PyDict_GetItemWithError
2557170
_PyDict_GetItem_KnownHash
485606000
_PyDict_HasOnlyStringKeys
13577
_PyDict_KeysSize
3327200
_PyDict_LoadGlobal
34888900
_PyDict_MaybeUntrack
38168200
_PyDict_MergeEx
3412470
_PyDict_NewKeysForClass
681619
_PyDict_NewPresized
0
_PyDict_Next
77802600
_PyDict_Pop
774244
_PyDict_Pop_KnownHash
642378
_PyDict_SetItemId
10568
_PyDict_SetItem_KnownHash
117935
_PyDict_SetItem_Take2
154400000
_PyDict_SizeOf
46
_PyObjectDict_SetItem
57668300
_PyObject_ClearInstanceAttributes
851210
_PyObject_FreeInstanceAttributes
8878440
_PyObject_GetInstanceAttribute
63073600
_PyObject_InitializeDict
10529000
_PyObject_IsInstanceDictEmpty
63142
_PyObject_MakeDictFromInstanceAttributes
576
_PyObject_StoreInstanceAttribute
7700960
_PyObject_VisitInstanceAttributes
105863000
_Py_dict_lookup
1648910000
all_contained_in
93
build_indices_generic
1208630
build_indices_unicode
9388740
calculate_log2_keysize
10745300
clone_combined_dict_keys
3327170
delete_index_from_values
3377130
delitem_common
26220400
dict___contains__
175896
dict___reversed___impl
26
dict_ass_sub
4987780
dict_clear
130957
dict_copy
80177
dict_dealloc
47273700
dict_equal
122118
dict_fromkeys_impl
107821
dict_get_impl
18825700
dict_init
88330
dict_ior
1225
dict_items
1397
dict_iter
490586
dict_keys
983729
dict_length
1860810
dict_merge
9241220
dict_new
365139
dict_new_presized
21274500
dict_or
219
dict_pop_impl
772820
dict_popitem_impl
19389
dict_repr
5722
dict_richcompare
122481
dict_setdefault_impl
419018
dict_sizeof
34
dict_subscript
5242500
dict_tp_clear
368057
dict_traverse
105582000
dict_update
5430510
dict_update_arg
5555080
dict_update_common
5518840
dict_values
7
dict_vectorcall
262342
dictitems_contains
135
dictitems_iter
615175
dictitems_new
618264
dictitems_reversed
9
dictitems_xor
105
dictiter_dealloc
1590340
dictiter_iternextitem
7322090
dictiter_iternextkey
6534360
dictiter_iternextvalue
1414760
dictiter_len
274677
dictiter_new
1590340
dictiter_reduce
42
dictiter_traverse
3886
dictkeys_contains
284201
dictkeys_decref
69946400
dictkeys_generic_lookup
58973800
dictkeys_get_index
3268330000
dictkeys_incref
46190500
dictkeys_iter
112503
dictkeys_new
117082
dictkeys_reversed
2
dictkeys_set_index
320232000
dictresize
10597400
dictreviter_iternext
172
dictvalues_iter
372030
dictvalues_new
376154
dictvalues_reversed
14
dictview_dealloc
1133520
dictview_len
39500
dictview_mapping
6
dictview_repr
501
dictview_richcompare
118
dictview_traverse
5802
dictviews_isdisjoint
29
dictviews_or
25
dictviews_sub
153
dictviews_to_set
191
dictviews_xor
118
estimate_log2_keysize
241825
find_empty_slot
134416000
free_keys_object
23822900
free_values
13056100
get_dict_state
159510000
get_index_from_order
888681
init_inline_values
8721090
insert_into_dictkeys
7700960
insert_to_emptydict
19668900
insertdict
141099000
insertion_resize
10503400
lookdict_index
26415500
make_dict_from_instance_attributes
247233
new_dict
46984600
new_dict_with_shared_keys
4338660
new_keys_object
31095800
new_values
13062000
shared_keys_usable_size
15100800
unicode_get_hash
2498040000
unicodekeys_lookup_generic
1365160
unicodekeys_lookup_unicode
1663050000
Generated by:
LCOV version 1.14