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

Generated by: LCOV version 1.14