LCOV - code coverage report
Current view:
top level
-
Python
- pystate.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython 3.12 LCOV report [commit acb105a7c1f]
Lines:
773
913
84.7 %
Date:
2022-07-20 13:12:14
Functions:
98
105
93.3 %
Branches:
276
420
65.7 %
Function Name
Hit count
PyGILState_Check
6945643
PyGILState_Ensure
3879
PyGILState_GetThisThreadState
2362275
PyGILState_Release
3879
PyInterpreterState_Clear
0
PyInterpreterState_Delete
3125
PyInterpreterState_Get
7325
PyInterpreterState_GetDict
0
PyInterpreterState_GetID
3756
PyInterpreterState_Head
255
PyInterpreterState_Main
19
PyInterpreterState_New
3138
PyInterpreterState_Next
759
PyInterpreterState_ThreadHead
1761
PyState_AddModule
1172
PyState_FindModule
465829
PyState_RemoveModule
2
PyThreadState_Clear
11906
PyThreadState_Delete
0
PyThreadState_DeleteCurrent
0
PyThreadState_Get
451776208
PyThreadState_GetDict
277270
PyThreadState_GetFrame
3984
PyThreadState_GetID
33867
PyThreadState_GetInterpreter
3373
PyThreadState_IsCurrent
7752
PyThreadState_New
3144
PyThreadState_Next
1561
PyThreadState_SetAsyncExc
3
PyThreadState_Swap
3529
_PyCrossInterpreterData_Lookup
641
_PyCrossInterpreterData_NewObject
586
_PyCrossInterpreterData_RegisterClass
4
_PyCrossInterpreterData_Release
604
_PyGILState_Fini
2956
_PyGILState_GetInterpreterStateUnsafe
4
_PyGILState_GetThisThreadState
9307926
_PyGILState_Init
2967
_PyGILState_NoteThreadState
14884
_PyGILState_Reinit
8
_PyGILState_SetTstate
3138
_PyInterpreterState_Clear
3125
_PyInterpreterState_ClearModules
3125
_PyInterpreterState_DeleteExceptMain
8
_PyInterpreterState_Enable
2967
_PyInterpreterState_GetConfig
23172206
_PyInterpreterState_GetConfigCopy
42
_PyInterpreterState_GetEvalFrameFunc
0
_PyInterpreterState_GetMainModule
61
_PyInterpreterState_IDDecref
393
_PyInterpreterState_IDIncref
464
_PyInterpreterState_IDInitref
907
_PyInterpreterState_LookUpID
1673
_PyInterpreterState_RequireIDRef
121
_PyInterpreterState_RequiresIDRef
0
_PyInterpreterState_SetEvalFrameFunc
4
_PyObject_CheckCrossInterpreterData
34
_PyObject_GetCrossInterpreterData
607
_PyRuntimeState_Fini
5109
_PyRuntimeState_Init
2988
_PyRuntimeState_ReInitThreads
8
_PyState_AddModule
14511
_PyThreadState_Delete
3125
_PyThreadState_DeleteCurrent
8649
_PyThreadState_DeleteExcept
2965
_PyThreadState_GetDict
287669
_PyThreadState_Init
0
_PyThreadState_PopFrame
269957529
_PyThreadState_Prealloc
8773
_PyThreadState_PushFrame
119570202
_PyThreadState_SetCurrent
11917
_PyThreadState_Swap
18609829
_PyThreadState_UncheckedGet
3177
_PyThread_CurrentExceptions
1
_PyThread_CurrentFrames
1
_Py_GetConfig
8151751
_bytes_shared
322
_call_in_interpreter
598
_check_xidata
604
_long_shared
267
_lookup_getdata
641
_new_bytes_object
306
_new_long_object
264
_new_none_object
5
_new_str_object
9
_none_shared
5
_register_builtins_for_crossinterpreter_data
4
_register_xidata
20
_release_xidata
598
_str_shared
11
alloc_for_runtime
2988
alloc_interpreter
171
alloc_threadstate
8779
allocate_chunk
23498
free_interpreter
3125
free_threadstate
11906
init_interpreter
3138
init_runtime
2988
init_threadstate
11917
interp_look_up_id
1673
interpreter_clear
3125
new_threadstate
11917
push_chunk
23498
tstate_delete_common
11774
zapthreads
3125
Generated by:
LCOV version 1.14