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