LCOV - code coverage report
Current view: top level - Objects - typeobject.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 3571 4099 87.1 %
Date: 2022-07-07 18:19:46 Functions: 305 310 98.4 %

Function Name Sort by function name Hit count Sort by hit count
PyType_SUPPORTS_WEAKREFS 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 21
wrap_call 24
class_name 26
richcmp_ge 27
richcmp_le 29
wrap_binaryfunc_r 30
slot_am_aiter 31
slot_tp_descr_set 31
slot_nb_inplace_or 36
richcmp_gt 37
PyType_ClearCache 45
_PyType_ClearCache 45
slot_nb_remainder 49
richcmp_lt 54
object___reduce___impl 57
wrap_indexargfunc 67
wrap_objobjproc 68
object___sizeof___impl 91
subtype_getweakref 105
same_slots_added 153
slot_am_await 221
slot_nb_xor 234
type_get_text_signature 292
slot_nb_invert 306
slot_am_anext 365
subtype_setdict 624
wrap_descr_set 644
PyType_GetQualName 648
add_all_subclasses 675
update_all_slots 675
type_set_bases 695
_PyObject_GetState 719
type_set_annotations 727
mro_hierarchy 747
object_set_class 808
slot_sq_ass_item 863
super_init 1004
wrap_descr_get 1168
compatible_for_assignment 1356
object___getstate___impl 1730
slot_nb_floor_divide 1744
slot_nb_float 1988
_PyType_GetTextSignatureFromInternalDoc 2187
slot_nb_divmod 2599
slot_nb_multiply 2624
clear_slotdefs 2951
_PyTypes_InitSlotDefs 2963
_PyTypes_Fini 3120
_PyType_InitCache 3134
type_cache_clear 3165
slot_nb_index 3335
object_repr 4134
type_set_doc 4188
compatible_with_tp_base 4584
wrap_lenfunc 4713
slot_nb_inplace_add 4752
type___dir___impl 6914
super_traverse 7536
richcmp_ne 8941
slot_nb_negative 11859
slot_nb_or 12428
object___dir___impl 12656
object___format___impl 15869
type_set_qualname 17172
slot_tp_getattro 17552
type_set_name 18340
wrap_delitem 21699
slot_nb_subtract 23076
PyType_FromSpec 23677
slot_nb_int 25456
slot_tp_repr 32683
PyType_FromSpecWithBases 35074
object_subclasshook 39855
slot_nb_absolute 39989
wrap_binaryfunc_l 45707
type_set_module 48854
type_get_annotations 49564
wrap_unaryfunc 49839
PyType_FromModuleAndSpec 55192
merge_class_dict 62444
_PyType_GetSlotNames 63069
object_getstate_default 63078
_PyObject_GetItemsIter 66749
_PyObject_GetNewArguments 67140
reduce_newobj 67189
object_getstate 67835
_common_reduce 68847
import_copyreg 70016
_PyType_GetDocFromInternalDoc 74345
type_get_doc 75356
check_set_special_type_attr 89249
wrap_delattr 100476
slot_tp_iter 106265
slot_nb_and 107363
type___subclasses___impl 108315
_PyType_GetSubclasses 108372
check_basicsize_includes_size_and_offsets 116321
get_bases_tuple 116323
PyType_FromMetaclass 116325
slot_nb_power_binary 117450
slot_nb_power 117453
richcmp_eq 117546
pmerge 120300
check_duplicates 120305
wrap_richcmpfunc 126634
valid_identifier 144391
object___reduce_ex___impl 155693
slot_nb_add 157160
slot_nb_true_divide 164060
type_set_abstractmethods 176379
type_new_slots_bases 180307
type_new_copy_slots 180309
type_new_visit_slots 180324
type_new_slots_impl 180325
skip_signature 217909
type_abstractmethods 220135
mro_check 241595
type_mro_impl 242126
slot_tp_iternext 242413
subtype_dict 243549
get_builtin_base_with_dict 244173
type_get_bases 265312
wrap_objobjargproc 275138
type_is_subtype_base_chain 282732
PyType_GetModuleState 331780
type_repr 335229
type___subclasscheck___impl 339552
slot_nb_bool 354468
slot_tp_call 378369
type___instancecheck___impl 379397
slot_sq_contains 425421
add_tp_new_wrapper 442976
slot_tp_str 532256
recurse_down_subclasses 532431
update_slots_callback 532431
update_subclasses 532431
_PyStaticType_Dealloc 587249
vectorcall_maybe 588870
wrap_hashfunc 606675
type_qualname 641267
type_module 650113
_PyType_DocWithoutSignature 662337
find_signature 664524
slot_tp_descr_get 889149
_PyType_Name 914871
type_prepare 928653
update_slot 974164
best_base 1081680
slot_sq_item 1122480
wrap_setattr 1149650
subtype_clear 1159580
object_init_subclass 1214000
type_init 1220280
type_new_init_subclass 1231890
fixup_slot_dispatchers 1231900
type_new_set_names 1231900
type_new_descriptors 1231920
type_new_set_classcell 1231920
type_new_set_doc 1231920
type_new_set_slots 1231920
type_new_staticmethod 1231920
type_new_alloc 1231930
type_new_set_attrs 1231930
type_new_set_ht_name 1231930
type_new_set_module 1231930
type_new_set_name 1231930
type_new_get_slots 1231950
type_new_impl 1231950
type_new_init 1231950
type_new_slots 1231950
slot_sq_length 1249120
type_new_get_bases 1249130
type_new 1249140
hackcheck 1250120
slot_mp_ass_subscript 1289090
slot_mp_subscript 1294230
slot_tp_setattro 1294860
type_clear 1319690
type_dealloc 1319720
slot_tp_hash 1341630
type_dict 1434460
type_vectorcall 1536140
type_dealloc_common 1897180
remove_all_subclasses 1897860
overrides_hash 1975860
inherit_special 2018250
type_ready_inherit_as_structs 2018250
add_operators 2021210
type_add_getset 2021210
type_add_members 2021210
type_add_methods 2021210
type_dict_set_doc 2021210
type_ready_add_subclasses 2021210
type_ready_fill_dict 2021210
type_ready_inherit 2021210
type_ready_post_checks 2021210
type_ready_set_hash 2021210
type_ready_set_new 2021210
type_ready 2021220
type_ready_mro 2021220
type_ready_pre_checks 2021220
type_ready_set_bases 2021220
type_ready_set_dict 2021220
mro_internal 2021970
mro_invoke 2021970
mro_implementation 2022490
remove_subclass 2039380
_PyType_CalculateMetaclass 2048210
PyType_Ready 2092640
wrap_next 2147260
add_subclass 2163310
tail_contains 2369460
type_add_method 2385250
type_new_classmethod 2463850
clear_slots 2498940
wrap_binaryfunc 3021380
call_attribute 3055770
type_name 3345940
object_str 3831000
type_mro_modified 4043870
slot_tp_finalize 4252920
inherit_patma_flags 4676420
inherit_slots 4676420
wrap_init 5047890
traverse_slots 5315330
PyType_GetSlot 5528610
check_num_args 6124500
call_unbound_noarg 6330150
extra_ivars 7003410
solid_base 7003410
vectorcall_method 7130730
slot_tp_getattr_hook 8039990
super_init_without_args 9764890
slot_tp_richcompare 9779590
PyType_GetModuleByDef 9811630
is_dunder_name 10037400
type_setattro 10038100
object_new 10529200
slot_tp_new 10698000
tp_new_wrapper 11110200
PyType_GenericNew 11354200
object_richcompare 11385400
super_dealloc 12460300
super_vectorcall 12460300
super_getattro 12460400
super_init_impl 12461300
supercheck 12461300
slot_tp_init 12693900
_PyType_CheckConsistency 13478900
PyType_Modified 13618900
PyType_GetModule 15164100
vectorcall_unbound 17924600
object_init 19299400
resolve_slotdups 20135900
lookup_method 20444600
object_get_class 26169500
_PyObject_LookupSpecial 29272700
subtype_dealloc 29532900
excess_args 29828600
type_getattro 35615400
type_traverse 37363600
lookup_maybe_method 38293400
type_call 44952600
assign_version_tag 54542600
PyType_GenericAlloc 74892600
_PyType_AllocNoTrack 75479600
update_one_slot 80670600
find_name_in_mro 159082000
subtype_traverse 161069000
object_dealloc 215136000
PyType_IsSubtype 251985000
slotptr 282811000
_PyType_Lookup 440630000
get_type_cache 440630000
type_is_gc 725092000

Generated by: LCOV version 1.14