LCOV - code coverage report
Current view: top level - Objects - exceptions.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 1221 1386 88.1 %
Date: 2022-07-20 13:12:14 Functions: 131 139 94.2 %
Branches: 699 959 72.9 %

Function Name Sort by function name Hit count Sort by hit count
PyExceptionClass_Name 0
PyUnicodeDecodeError_GetReason 0
PyUnicodeEncodeError_GetReason 0
PyUnicodeTranslateError_GetReason 0
PyUnicodeTranslateError_SetEnd 0
PyUnicodeTranslateError_SetReason 0
PyUnicodeTranslateError_SetStart 0
_PyUnicodeTranslateError_Create 0
OSError_written_set 8
UnicodeTranslateError_str 11
PyUnicodeTranslateError_GetObject 12
PyUnicodeTranslateError_GetStart 13
PyUnicodeTranslateError_GetEnd 14
UnicodeError_traverse 16
UnicodeEncodeError_str 22
OSError_reduce 37
OSError_written_get 37
ImportError_getstate 38
ImportError_reduce 38
BaseExceptionGroup_subgroup 40
KeyError_str 45
_PyExc_CreateExceptionGroup 50
PyUnicodeEncodeError_GetEncoding 53
BaseException_add_note 57
StopIteration_traverse 58
is_same_exception_metadata 80
exception_group_projection 100
SystemExit_traverse 108
ImportError_str 110
BaseException_set_context 131
_PyErr_TrySetFromCause 141
UnicodeTranslateError_init 144
BaseExceptionGroup_split 146
_PyExc_PrepReraiseStar 150
NameError_traverse 156
BaseException_setstate 167
OSError_str 179
get_matcher_type 186
SyntaxError_traverse 191
collect_exception_group_leaves 195
BaseException_set_cause 298
BaseException_reduce 320
ImportError_traverse 390
BaseExceptionGroup_derive 416
AttributeError_traverse 556
exceptiongroup_subset 603
UnicodeDecodeError_str 760
NameError_dealloc 995
NameError_init 995
NameError_clear 1016
PyUnicodeDecodeError_GetEncoding 1348
PyUnicodeDecodeError_GetStart 1411
PyUnicodeDecodeError_SetEnd 1662
PyUnicodeDecodeError_SetReason 1662
PyUnicodeDecodeError_SetStart 1662
my_basename 1737
SyntaxError_str 1798
OSError_traverse 1816
UnicodeEncodeError_init 2343
BaseException_repr 2376
BaseException_get_args 2495
PyUnicodeDecodeError_GetEnd 2924
preallocate_memerrors 2967
SyntaxError_dealloc 2995
SyntaxError_init 2995
exceptiongroup_split_check_match 3023
exceptiongroup_split_recursive 3023
SyntaxError_clear 3046
_PyExc_ClearExceptionGroupType 3125
_PyExc_Fini 3125
_PyExc_FiniTypes 3125
free_preallocated_memerrors 3125
_PyBuiltins_AddExceptions 3138
_PyExc_InitGlobalObjects 3138
_PyExc_InitState 3138
_PyExc_InitTypes 3138
create_exception_group_class 3138
SystemExit_dealloc 3648
SystemExit_init 3648
SystemExit_clear 3652
BaseExceptionGroup_str 4083
PyUnicodeEncodeError_GetObject 4253
PyUnicodeDecodeError_GetObject 4606
PyUnicodeEncodeError_GetStart 5290
PyUnicodeDecodeError_Create 5639
UnicodeDecodeError_init 5746
UnicodeError_dealloc 8236
UnicodeError_clear 8238
PyUnicodeEncodeError_GetEnd 8713
PyUnicodeEncodeError_SetEnd 8901
PyUnicodeEncodeError_SetReason 8901
PyUnicodeEncodeError_SetStart 8901
get_string 8941
set_unicodefromstring 10563
BaseExceptionGroup_dealloc 10757
BaseExceptionGroup_init 10757
BaseExceptionGroup_new 10770
BaseExceptionGroup_clear 10889
_PyBaseExceptionGroupObject_cast 13613
BaseException_get_cause 14010
PyException_GetCause 14857
BaseException_get_tb 18301
BaseException_get_context 19657
get_unicode 19669
BaseException_str 20530
BaseExceptionGroup_traverse 28100
BaseException_set_args 30714
MemoryError_dealloc 47647
MemoryError_new 47647
ImportError_dealloc 55828
ImportError_init 55829
ImportError_clear 55881
PyException_SetCause 68854
BaseException_traverse 100241
BaseException_with_traceback 188040
OSError_init 363755
oserror_init 363755
oserror_parse_args 363755
OSError_dealloc 363817
OSError_new 363827
OSError_clear 363943
PyException_SetContext 470402
get_exc_state 472948
oserror_use_init 1091409
StopIteration_dealloc 1159814
StopIteration_init 1159814
StopIteration_clear 1159817
AttributeError_dealloc 1510875
AttributeError_init 1510875
AttributeError_clear 1510926
PyException_GetTraceback 1898840
BaseException_dealloc 1977886
PyException_SetTraceback 4483147
BaseException_set_tb 4485257
BaseException_init 4688679
BaseException_new 4777998
BaseException_clear 5147536
PyException_GetContext 51593737
_PyBaseExceptionObject_cast 59000239

Generated by: LCOV version 1.14