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

Generated by: LCOV version 1.14