LCOV - code coverage report
Current view: top level - Python - initconfig.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 1157 1371 84.4 %
Date: 2022-07-20 13:12:14 Functions: 77 85 90.6 %
Branches: 903 1317 68.6 %

Function Name Sort by function name Hit count Sort by hit count
PyConfig_Clear 15617
PyConfig_InitIsolatedConfig 257
PyConfig_InitPythonConfig 9069
PyConfig_Read 23
PyConfig_SetArgv 27
PyConfig_SetBytesArgv 2886
PyConfig_SetBytesString 1
PyConfig_SetString 204675
PyConfig_SetWideStringList 2
PyStatus_Error 1
PyStatus_Exception 312
PyStatus_Exit 0
PyStatus_IsError 0
PyStatus_IsExit 0
PyStatus_NoMemory 0
PyStatus_Ok 0
PyWideStringList_Append 47706
PyWideStringList_Insert 47707
Py_GETENV 2929
Py_GetArgcArgv 1
Py_SetStandardStreamEncoding 6
_PyConfig_AsDict 3258
_PyConfig_Copy 6253
_PyConfig_FromDict 3363
_PyConfig_InitCompatConfig 9383
_PyConfig_InitImportConfig 3134
_PyConfig_Read 3053
_PyConfig_SetPyArgv 2913
_PyConfig_Write 3011
_PyErr_SetFromPyStatus 0
_PyWideStringList_AsList 28997
_PyWideStringList_Clear 189269
_PyWideStringList_Copy 59541
_PyWideStringList_Extend 6089
_PyWideStringList_Find 3970
_Py_ClearArgcArgv 2152
_Py_ClearStandardStreamEncoding 5284
_Py_DumpPathConfig 0
_Py_GetConfigsAsDict 41
_Py_GetGlobalVariablesAsDict 41
_Py_SetArgcArgv 3011
_Py_check_xoptions 3036
config_complete_usage 1
config_dict_get 203114
config_dict_get_int 118372
config_dict_get_ulong 3343
config_dict_get_wstr 64951
config_dict_get_wstrlist 16448
config_dict_invalid_type 98
config_dict_invalid_value 48
config_envvars_usage 2
config_get_env 19343
config_get_env_dup 7457
config_get_fs_encoding 2968
config_get_global_vars 3053
config_get_locale_encoding 5687
config_get_stdio_errors 2779
config_get_xoption 24168
config_get_xoption_value 6163
config_init_defaults 9326
config_init_env_warnoptions 1108
config_init_fs_encoding 2968
config_init_hash_seed 1103
config_init_import 6163
config_init_pycache_prefix 3031
config_init_stdio 2923
config_init_stdio_encoding 3033
config_init_tracemalloc 2940
config_init_warnoptions 3036
config_parse_cmdline 2920
config_read 3036
config_read_cmdline 3053
config_read_complex_options 3035
config_read_env_vars 1108
config_run_filename_abspath 3036
config_set_bytes_string 443
config_set_global_vars 3011
config_update_argv 2903
config_usage 12
config_wstr_to_int 6
config_xoptions_usage 2
core_read_precmdline 3053
init_dump_ascii_wstr 0
warnoptions_append 1987
warnoptions_extend 9108

Generated by: LCOV version 1.14