LCOV - code coverage report
Current view: top level - Python - context.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 403 500 80.6 %
Date: 2022-07-20 13:12:14 Functions: 53 59 89.8 %
Branches: 159 248 64.1 %

Function Name Sort by function name Hit count Sort by hit count
PyContextVar_Get 280332
PyContextVar_New 50
PyContextVar_Reset 8
PyContextVar_Set 8717
PyContext_Copy 0
PyContext_CopyCurrent 36915
PyContext_Enter 0
PyContext_Exit 0
PyContext_New 21
_PyContext_ClearFreeList 29824
_PyContext_Enter 52863
_PyContext_Exit 52862
_PyContext_Fini 3125
_PyContext_Init 3138
_PyContext_NewHamtForTests 26
_context_alloc 37202
_contextvars_ContextVar_get_impl 42122
_contextvars_ContextVar_reset 8
_contextvars_ContextVar_set 8383
_contextvars_Context_copy_impl 1
_contextvars_Context_get_impl 83
_contextvars_Context_items_impl 1
_contextvars_Context_keys_impl 4
_contextvars_Context_values_impl 1
context_check_key_type 102
context_get 54358
context_new_empty 286
context_new_from_vars 36916
context_run 52864
context_token_missing_tp_repr 0
context_tp_clear 37215
context_tp_contains 6
context_tp_dealloc 37202
context_tp_iter 2
context_tp_len 5
context_tp_new 24
context_tp_richcompare 1
context_tp_subscript 13
context_tp_traverse 509340
contextvar_del 3
contextvar_generate_hash 119
contextvar_new 120
contextvar_set 8718
contextvar_tp_clear 69
contextvar_tp_dealloc 69
contextvar_tp_hash 25712
contextvar_tp_new 71
contextvar_tp_repr 17
contextvar_tp_traverse 2
get_context_state 74404
get_token_missing 2969
token_get_old_value 3
token_get_var 1
token_new 8717
token_tp_clear 8717
token_tp_dealloc 8717
token_tp_new 0
token_tp_repr 7
token_tp_traverse 0

Generated by: LCOV version 1.14