LCOV - code coverage report
Current view: top level - Modules - _testcapimodule.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 2364 3069 77.0 %
Date: 2022-07-20 13:12:14 Functions: 271 294 92.2 %
Branches: 902 1635 55.2 %

Function Name Sort by function name Hit count Sort by hit count
ContainerNoGC_dealloc 1
ContainerNoGC_new 1
MyList_dealloc 2098152
MyList_new 2098152
PyInit__testcapi 1170
_fastcall_to_tuple 170
_make_call 10
_make_call_from_thread 4
_null_to_none 400
_pending_callback 96
_test_incref 2
argparsing 1
awaitObject_await 3
awaitObject_dealloc 3
awaitObject_new 3
bad_get 1
call_in_temporary_c_thread 1
capsule_destructor 3
check_pyobject_forbidden_bytes_is_freed 0
check_pyobject_freed_is_freed 0
check_pyobject_null_is_freed 0
check_pyobject_uninitialized_is_freed 0
check_time_rounding 8602
code_newempty 1
codec_incrementaldecoder 199
codec_incrementalencoder 199
crash_no_current_thread 0
create_cfunction 3
create_type_from_repeated_slots 2
datetime_check_date 20
datetime_check_datetime 18
datetime_check_delta 18
datetime_check_time 18
datetime_check_tzinfo 18
dict_get_version 110
dict_getitem_knownhash 7
exception_print 115
failing_converter 1
fm_nomemory 9426
fm_remove_hooks 5
fm_setup_hooks 24
frame_getbuiltins 1
frame_getgenerator 1
frame_getglobals 1
frame_getlasti 1
frame_getlocals 1
generic_alias_dealloc 2
generic_alias_mro_entries 2
generic_alias_new 2
generic_class_getitem 2
get_args 6
get_date_fromdate 2
get_date_fromtimestamp 2
get_datetime_fromdateandtime 2
get_datetime_fromdateandtimeandfold 4
get_datetime_fromtimestamp 12
get_delta_fromdsu 2
get_feature_macros 2
get_kwargs 5
get_mapping_items 10
get_mapping_keys 10
get_mapping_values 10
get_time_fromtime 2
get_time_fromtimeandfold 4
get_timezone_utc_capi 2
get_timezones_offset_zero 1
getargs_B 17
getargs_C 9
getargs_D 27
getargs_H 17
getargs_I 17
getargs_K 16
getargs_L 18
getargs_S 5
getargs_U 4
getargs_Y 5
getargs_Z 0
getargs_Z_hash 0
getargs_b 17
getargs_c 7
getargs_d 22
getargs_es 9
getargs_es_hash 13
getargs_et 11
getargs_et_hash 15
getargs_f 26
getargs_h 17
getargs_i 17
getargs_k 17
getargs_keyword_only 13
getargs_keywords 8
getargs_l 17
getargs_n 17
getargs_p 19
getargs_positional_only_and_keywords 8
getargs_s 6
getargs_s_hash 46
getargs_s_hash_int 3
getargs_s_hash_int2 3
getargs_s_star 6
getargs_tuple 2
getargs_u 0
getargs_u_hash 0
getargs_w_star 7
getargs_y 6
getargs_y_hash 6
getargs_y_star 6
getargs_z 6
getargs_z_hash 6
getargs_z_star 6
getbuffer_with_null_view 14
getitem_with_error 1
heap_ctype_metaclass_custom_tp_new 0
heapctype_dealloc 2
heapctype_init 4
heapctypesetattr_dealloc 1
heapctypesetattr_init 1
heapctypesetattr_setattro 2
heapctypesubclass_init 2
heapctypesubclasswithfinalizer_finalize 1
heapctypesubclasswithfinalizer_init 1
heapctypewithbuffer_getbuffer 1
heapctypewithbuffer_releasebuffer 1
heapctypewithdict_dealloc 4
heapctypewithweakref_dealloc 1
heapgcctype_dealloc 2
heapgcctype_traverse 0
hook_calloc 3
hook_fcalloc 18
hook_ffree 261779
hook_fmalloc 9285
hook_frealloc 123
hook_free 6
hook_malloc 3
hook_realloc 3
ipowType_ipow 2
make_exception_with_doc 6
make_memoryview_from_NULL_pointer 1
make_timezones_capi 1
matmulType_dealloc 2
matmulType_imatmul 2
matmulType_matmul 4
meth_fastcall 70
meth_fastcall_keywords 100
meth_noargs 50
meth_o 30
meth_varargs 30
meth_varargs_keywords 60
negative_dictoffset 0
new_hamt 26
parse_tuple_and_keywords 405
pending_threadfunc 96
py_w_stopcode 1
pycompilestring 1
pymarshal_read_last_object_from_file 10
pymarshal_read_long_from_file 2
pymarshal_read_object_from_file 10
pymarshal_read_short_from_file 2
pymarshal_write_long_to_file 5
pymarshal_write_object_to_file 5
pymem_api_misuse 0
pymem_buffer_overflow 0
pymem_malloc_without_gil 0
pynumber_tobase 11
pyobject_bytes_from_null 1
pyobject_malloc_without_gil 0
pyobject_repr_from_null 1
pyobject_str_from_null 1
pytype_fromspec_meta 2
raiseTestError 0
raise_SIGINT_then_send_None 1
raise_error 10
raise_exception 3
raise_memoryerror 3
raise_test_long_error 0
raise_test_longlong_error 0
record_func 33
recurse_infinitely_error_init 33
remove_mem_hooks 5
return_none 10
return_null_without_error 1
return_result_with_error 1
run_in_subinterp 11
sequence_getitem 6
sequence_setitem 1
set_errno 40
set_nomemory 24
settrace_to_record 3
simple_str 1
sizeof_error 0
slot_tp_del 11
stack_pointer 0
temporary_c_thread 1
test_L_code 1
test_PyBuffer_SizeFromFormat 3
test_PyDateTime_DATE_GET 4
test_PyDateTime_DELTA_GET 4
test_PyDateTime_GET 4
test_PyDateTime_TIME_GET 4
test_PyTime_AsMicroseconds 940
test_PyTime_AsMilliseconds 940
test_PyTime_AsTimespec 932
test_PyTime_AsTimespec_clamp 2
test_PyTime_AsTimeval 932
test_PyTime_AsTimeval_clamp 2
test_buildvalue_N 2
test_buildvalue_N_error 10
test_buildvalue_issue38913 1
test_capsule 1
test_code_api 1
test_config 1
test_datetime_capi 21
test_decref_doesnt_leak 1
test_dict_inner 200
test_dict_iteration 1
test_empty_argparse 1
test_fatal_error 0
test_float_pack 46
test_float_unpack 46
test_from_contiguous 1
test_from_spec_invalid_metatype_inheritance 1
test_from_spec_metatype_inheritance 1
test_gc_control 1
test_get_statictype_slots 1
test_get_type_name 1
test_get_type_qualname 1
test_incref_decref_API 1
test_incref_doesnt_leak 1
test_k_code 1
test_lazy_hash_inheritance 1
test_list_api 1
test_long_and_overflow 1
test_long_api 1
test_long_as_double 1
test_long_as_size_t 1
test_long_as_unsigned_long_long_mask 1
test_long_long_and_overflow 1
test_long_numbits 1
test_longlong_api 1
test_macros 1
test_pep3118_obsolete_write_locks 1
test_py_is_funcs 1
test_py_is_macros 1
test_pymem_alloc0 2
test_pymem_getallocatorsname 8
test_pymem_setallocators 1
test_pymem_setrawallocators 1
test_pyobject_is_freed 0
test_pyobject_new 1
test_pyobject_setallocators 1
test_pythread_tss_key_state 1
test_pytime_assecondsdouble 944
test_pytime_fromseconds 332
test_pytime_fromsecondsobject 1464
test_pytime_object_to_time_t 1444
test_pytime_object_to_timespec 1448
test_pytime_object_to_timeval 1448
test_refcount_funcs 1
test_refcount_macros 1
test_s_code 1
test_set_exc_info 2
test_set_exception 2
test_set_type_size 1
test_setallocators 3
test_sizeof_c_types 1
test_string_from_format 1
test_string_to_double 1
test_structmembers_free 1
test_structmembers_new 1
test_structseq_newtype_doesnt_leak 1
test_structseq_newtype_null_descr_doc 1
test_thread_state 2
test_tstate_capi 1
test_type_from_ephemeral_spec 1
test_unicode_compare_with_ascii 1
test_widechar 1
test_with_docstring 1
test_write_unraisable_exc 8
test_xdecref_doesnt_leak 1
test_xincref_doesnt_leak 1
traceback_print 2
tracemalloc_get_traceback 6
tracemalloc_track 7
tracemalloc_untrack 4
type_get_version 31
unicode_asucs4 48
unicode_asutf8 4
unicode_asutf8andsize 4
unicode_aswidechar 6
unicode_aswidecharstring 3
unicode_copycharacters 53
unicode_findchar 22
with_tp_del 10
without_gc 2

Generated by: LCOV version 1.14