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
PyInterpreterState_Clear
0
PyInterpreterState_GetDict
0
PyThreadState_Delete
0
PyThreadState_DeleteCurrent
0
_PyInterpreterState_GetEvalFrameFunc
0
_PyInterpreterState_RequiresIDRef
0
_PyThreadState_Init
0
_PyThread_CurrentExceptions
1
_PyThread_CurrentFrames
1
PyState_RemoveModule
2
PyThreadState_SetAsyncExc
3
_PyCrossInterpreterData_RegisterClass
4
_PyGILState_GetInterpreterStateUnsafe
4
_PyInterpreterState_SetEvalFrameFunc
4
_register_builtins_for_crossinterpreter_data
4
_new_none_object
5
_none_shared
5
_PyGILState_Reinit
8
_PyInterpreterState_DeleteExceptMain
8
_PyRuntimeState_ReInitThreads
8
_new_str_object
9
_str_shared
11
PyInterpreterState_Main
19
_register_xidata
20
_PyObject_CheckCrossInterpreterData
34
_PyInterpreterState_GetConfigCopy
42
_PyInterpreterState_GetMainModule
61
_PyInterpreterState_RequireIDRef
121
alloc_interpreter
171
PyInterpreterState_Head
255
_new_long_object
264
_long_shared
267
_new_bytes_object
306
_bytes_shared
322
_PyInterpreterState_IDDecref
393
_PyInterpreterState_IDIncref
464
_PyCrossInterpreterData_NewObject
586
_call_in_interpreter
598
_release_xidata
598
_PyCrossInterpreterData_Release
604
_check_xidata
604
_PyObject_GetCrossInterpreterData
607
_PyCrossInterpreterData_Lookup
641
_lookup_getdata
641
PyInterpreterState_Next
759
_PyInterpreterState_IDInitref
907
PyState_AddModule
1172
PyThreadState_Next
1561
_PyInterpreterState_LookUpID
1673
interp_look_up_id
1673
PyInterpreterState_ThreadHead
1761
_PyGILState_Fini
2956
_PyThreadState_DeleteExcept
2965
_PyGILState_Init
2967
_PyInterpreterState_Enable
2967
_PyRuntimeState_Init
2988
alloc_for_runtime
2988
init_runtime
2988
PyInterpreterState_Delete
3125
_PyInterpreterState_Clear
3125
_PyInterpreterState_ClearModules
3125
_PyThreadState_Delete
3125
free_interpreter
3125
interpreter_clear
3125
zapthreads
3125
PyInterpreterState_New
3138
_PyGILState_SetTstate
3138
init_interpreter
3138
PyThreadState_New
3144
_PyThreadState_UncheckedGet
3177
PyThreadState_GetInterpreter
3373
PyThreadState_Swap
3529
PyInterpreterState_GetID
3756
PyGILState_Ensure
3879
PyGILState_Release
3879
PyThreadState_GetFrame
3984
_PyRuntimeState_Fini
5109
PyInterpreterState_Get
7325
PyThreadState_IsCurrent
7752
_PyThreadState_DeleteCurrent
8649
_PyThreadState_Prealloc
8773
alloc_threadstate
8779
tstate_delete_common
11774
PyThreadState_Clear
11906
free_threadstate
11906
_PyThreadState_SetCurrent
11917
init_threadstate
11917
new_threadstate
11917
_PyState_AddModule
14511
_PyGILState_NoteThreadState
14884
allocate_chunk
23498
push_chunk
23498
PyThreadState_GetID
33867
PyThreadState_GetDict
277270
_PyThreadState_GetDict
287669
PyState_FindModule
465829
PyGILState_GetThisThreadState
2362275
PyGILState_Check
6945643
_Py_GetConfig
8151751
_PyGILState_GetThisThreadState
9307926
_PyThreadState_Swap
18609829
_PyInterpreterState_GetConfig
23172206
_PyThreadState_PushFrame
119570202
_PyThreadState_PopFrame
269957529
PyThreadState_Get
451776208
Generated by:
LCOV version 1.14