LCOV - code coverage report
Current view:
top level
-
Objects
- typeobject.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython 3.12 LCOV report [commit acb105a7c1f]
Lines:
3419
3955
86.4 %
Date:
2022-07-20 13:12:14
Functions:
304
310
98.1 %
Branches:
2637
3396
77.7 %
Function Name
Hit count
PyType_SUPPORTS_WEAKREFS
0
_PyType_CheckConsistency
0
_PyType_LookupId
0
raise_dict_descr_error
0
super_repr
0
wrap_sq_setitem
0
wrap_ternaryfunc_r
1
wrap_inquirypred
2
wrap_sq_delitem
2
wrap_sq_item
2
type___sizeof___impl
3
wrap_descr_delete
3
PyType_GetName
4
getindex
4
slot_nb_inplace_lshift
6
slot_nb_inplace_remainder
6
slot_nb_inplace_rshift
6
slot_nb_inplace_floor_divide
7
slot_nb_inplace_true_divide
7
PyType_GetFlags
8
wrap_ternaryfunc
8
slot_nb_inplace_matrix_multiply
9
slot_nb_inplace_power
9
wrap_del
9
method_is_overloaded
10
set_mro_error
10
slot_nb_inplace_xor
10
_PyObject_LookupSpecialId
11
slot_nb_inplace_subtract
11
slot_nb_positive
11
get_dict_descriptor
12
slot_nb_rshift
12
slot_nb_inplace_and
14
super_descr_get
16
slot_nb_inplace_multiply
18
slot_nb_matrix_multiply
19
slot_nb_lshift
23
wrap_call
24
class_name
26
richcmp_ge
27
richcmp_le
29
wrap_binaryfunc_r
30
PyType_ClearCache
31
_PyType_ClearCache
31
slot_am_aiter
31
slot_tp_descr_set
31
slot_nb_inplace_or
36
richcmp_gt
37
slot_nb_remainder
49
richcmp_lt
54
object___reduce___impl
57
wrap_indexargfunc
67
wrap_objobjproc
68
object___sizeof___impl
91
subtype_getweakref
106
same_slots_added
153
slot_am_await
226
slot_nb_xor
236
type_get_text_signature
292
slot_nb_invert
310
slot_am_anext
365
PyType_GetQualName
610
subtype_setdict
624
wrap_descr_set
634
add_all_subclasses
675
update_all_slots
675
type_set_bases
695
_PyObject_GetState
719
mro_hierarchy
720
type_set_annotations
727
object_set_class
810
slot_sq_ass_item
863
super_init
1004
wrap_descr_get
1172
compatible_for_assignment
1358
object___getstate___impl
1730
slot_nb_floor_divide
1744
slot_nb_float
1988
_PyType_GetTextSignatureFromInternalDoc
2188
slot_nb_divmod
2599
slot_nb_multiply
2630
clear_slotdefs
2956
_PyTypes_InitSlotDefs
2967
_PyTypes_Fini
3125
_PyType_InitCache
3138
type_cache_clear
3156
slot_nb_index
3337
object_repr
4005
type_set_doc
4180
compatible_with_tp_base
4592
wrap_lenfunc
4689
slot_nb_inplace_add
5754
super_traverse
6500
type___dir___impl
6858
richcmp_ne
8930
slot_nb_negative
11861
slot_nb_or
12367
object___dir___impl
12569
object___format___impl
15149
type_set_qualname
17414
type_set_name
18544
slot_tp_getattro
20006
wrap_delitem
21757
slot_nb_subtract
23076
PyType_FromSpec
23502
slot_nb_int
25456
slot_tp_repr
32637
PyType_FromSpecWithBases
35087
object_subclasshook
39923
slot_nb_absolute
39989
_PyType_GetSlotNames
44904
object_getstate_default
44913
wrap_binaryfunc_l
45707
_PyObject_GetItemsIter
48508
type_set_module
48797
_PyObject_GetNewArguments
48899
reduce_newobj
48948
type_get_annotations
49402
object_getstate
49594
wrap_unaryfunc
49810
_common_reduce
50606
import_copyreg
51790
PyType_FromModuleAndSpec
54862
merge_class_dict
61749
_PyType_GetDocFromInternalDoc
74063
type_get_doc
75215
check_set_special_type_attr
89630
wrap_delattr
99781
slot_tp_iter
103115
slot_nb_and
107296
type___subclasses___impl
108090
_PyType_GetSubclasses
108141
check_basicsize_includes_size_and_offsets
115789
get_bases_tuple
115791
PyType_FromMetaclass
115793
pmerge
116188
check_duplicates
116193
slot_nb_power_binary
117450
slot_nb_power
117453
richcmp_eq
117546
wrap_richcmpfunc
126623
object___reduce_ex___impl
136841
valid_identifier
142808
slot_nb_add
157334
slot_nb_true_divide
163777
type_set_abstractmethods
175640
type_new_slots_bases
179362
type_new_copy_slots
179364
type_new_visit_slots
179379
type_new_slots_impl
179380
skip_signature
217077
type_abstractmethods
219209
subtype_dict
227320
get_builtin_base_with_dict
227944
mro_check
240426
type_mro_impl
240962
slot_tp_iternext
242391
type_get_bases
263504
wrap_objobjargproc
273611
type_is_subtype_base_chain
280077
PyType_GetModuleState
331546
type_repr
335334
type___subclasscheck___impl
359150
slot_nb_bool
361282
type___instancecheck___impl
401552
slot_sq_contains
423956
add_tp_new_wrapper
442476
slot_tp_call
473657
recurse_down_subclasses
479372
update_slots_callback
479372
update_subclasses
479372
slot_tp_str
528652
_PyStaticType_Dealloc
588244
vectorcall_maybe
588643
wrap_hashfunc
606648
type_qualname
660915
_PyType_DocWithoutSignature
661366
find_signature
663554
type_module
678559
update_slot
878788
slot_tp_descr_get
893443
type_prepare
916309
_PyType_Name
927769
wrap_setattr
1051230
best_base
1067362
slot_sq_item
1123603
hackcheck
1151010
slot_tp_setattro
1195752
object_init_subclass
1199036
type_init
1205061
type_new_init_subclass
1216561
fixup_slot_dispatchers
1216573
type_new_set_names
1216573
type_new_descriptors
1216594
type_new_set_classcell
1216594
type_new_set_slots
1216594
type_new_staticmethod
1216594
type_new_set_doc
1216595
type_new_set_ht_name
1216598
type_new_set_module
1216598
type_new_alloc
1216600
type_new_set_attrs
1216600
type_new_set_name
1216600
type_new_slots
1216618
type_new_get_slots
1216619
type_new_impl
1216619
type_new_init
1216619
subtype_clear
1226869
type_new_get_bases
1233673
type_new
1233680
slot_sq_length
1250589
slot_mp_ass_subscript
1260759
slot_mp_subscript
1264013
type_clear
1303023
type_dealloc
1303050
type_dict
1337337
slot_tp_hash
1346669
type_vectorcall
1523709
type_dealloc_common
1881591
remove_all_subclasses
1882266
overrides_hash
1959158
inherit_special
2002316
type_ready_inherit_as_structs
2002316
add_operators
2005280
type_add_getset
2005280
type_add_members
2005280
type_add_methods
2005280
type_dict_set_doc
2005280
type_ready_add_subclasses
2005280
type_ready_fill_dict
2005280
type_ready_inherit
2005280
type_ready_post_checks
2005280
type_ready_set_hash
2005280
type_ready_set_new
2005280
type_ready
2005296
type_ready_mro
2005296
type_ready_pre_checks
2005296
type_ready_set_bases
2005296
type_ready_set_dict
2005296
mro_internal
2006016
mro_invoke
2006016
mro_implementation
2006541
remove_subclass
2019341
_PyType_CalculateMetaclass
2021240
PyType_Ready
2081225
wrap_next
2141510
add_subclass
2142974
tail_contains
2290531
type_add_method
2379008
type_new_classmethod
2433188
clear_slots
2480824
type_name
3336283
object_str
3829940
type_mro_modified
4011956
slot_tp_finalize
4256295
wrap_binaryfunc
4608425
inherit_patma_flags
4629456
inherit_slots
4629456
call_attribute
4642521
wrap_init
5030238
traverse_slots
5371978
PyType_GetSlot
5545506
call_unbound_noarg
6341029
extra_ivars
6929630
solid_base
6929630
vectorcall_method
6975506
check_num_args
7705064
super_init_without_args
9543163
slot_tp_getattr_hook
9681932
slot_tp_richcompare
9857592
is_dunder_name
9938340
type_setattro
9938973
PyType_GetModuleByDef
10145425
object_new
10502564
slot_tp_new
10604812
tp_new_wrapper
10995367
PyType_GenericNew
11329065
object_richcompare
11726380
super_vectorcall
12225401
super_dealloc
12225416
super_getattro
12225536
supercheck
12226400
super_init_impl
12226402
slot_tp_init
12704199
PyType_Modified
13486479
PyType_GetModule
14351156
vectorcall_unbound
17845660
object_init
19177108
resolve_slotdups
19887518
lookup_method
20393799
object_get_class
26227758
_PyObject_LookupSpecial
29075091
subtype_dealloc
29392660
excess_args
29679672
type_traverse
35612027
lookup_maybe_method
38326246
type_getattro
40456369
type_call
43766973
assign_version_tag
52416362
PyType_GenericAlloc
73441102
_PyType_AllocNoTrack
74028134
update_one_slot
79620320
find_name_in_mro
155502324
subtype_traverse
158587222
object_dealloc
215458956
PyType_IsSubtype
219523507
slotptr
280043802
_PyType_Lookup
449312092
get_type_cache
449312092
type_is_gc
699199055
Generated by:
LCOV version 1.14