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

Generated by: LCOV version 1.14