LCOV - code coverage report
Current view: top level - Modules - _pickle.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 2849 3776 75.5 %
Date: 2022-07-20 13:12:14 Functions: 189 203 93.1 %
Branches: 1775 2671 66.5 %

Function Name Sort by function name Hit count Sort by hit count
PicklerMemoProxy_clear 0
PicklerMemoProxy_traverse 0
Pickler_clear 0
Pickler_set_persid 0
UnpicklerMemoProxy_clear 0
UnpicklerMemoProxy_traverse 0
Unpickler_clear 0
Unpickler_set_persload 0
_pickle_PicklerMemoProxy___reduce___impl 0
_pickle_PicklerMemoProxy_clear_impl 0
_pickle_PicklerMemoProxy_copy_impl 0
_pickle_UnpicklerMemoProxy___reduce___impl 0
_pickle_UnpicklerMemoProxy_copy_impl 0
reconstruct_method 0
_pickle_UnpicklerMemoProxy_clear_impl 1
PicklerMemoProxy_New 2
PicklerMemoProxy_dealloc 2
Pickler_get_memo 2
Pickler_set_memo 2
PyMemoTable_Copy 2
UnpicklerMemoProxy_New 2
UnpicklerMemoProxy_dealloc 2
Unpickler_get_memo 2
_pickle_Pickler___sizeof___impl 2
Unpickler_set_memo 4
_pickle_Pickler_clear_memo_impl 6
load_dup 8
load_persid 14
newobj_unpickling_error 14
_pickle_Unpickler___sizeof___impl 15
load_inst 16
load_frozenset 20
load_obj 20
instantiate 22
_pickle_dump_impl 31
load_readonly_buffer 38
load_extension 42
load_pop_mark 42
fast_save_enter 44
fast_save_leave 44
load_empty_set 72
load_string 74
save_frozenset 78
save_singleton_type 84
Pickler_traverse 86
load_additems 92
load_binpersid 97
load_next_buffer 108
load_counted_binstring 122
Pdata_stack_underflow 128
save_picklebuffer 130
_save_bytearray_data 159
pickle_clear 178
bad_readline 195
save_set 227
load_counted_bytearray 238
load_float 303
load_pop 378
save_bytearray 456
load_long_binget 470
_checkmodule 474
save_pers 743
PyInit__pickle 752
_Pickle_InitState 752
pickle_free 752
call_method 853
_pickle_load_impl 917
_Pickle_ClearState 930
Unpickler_traverse 1358
load_dict 1453
batch_dict 1794
_Unpickler_ResizeMemoList 2020
load_long 3360
load_bool 5112
load_counted_long 6108
load_setitems 6216
batch_list 6462
load_list 6833
load_newobj 7961
save_bool 9643
load_binfloat 11834
Unpickler_get_persload 12096
_pickle_Unpickler___init___impl 12170
_pickle_Unpickler_load_impl 12250
_Unpickler_SetInputStream 13087
load_get 13447
get_class 14323
load_build 14627
raw_unicode_escape 17453
pickle_traverse 20169
load_appends 27438
batch_list_exact 32055
save_float 32537
Pdata_grow 33498
load_empty_list 36170
_PyMemoTable_ResizeTable 36733
_pickle_dumps_impl 36834
_Pickler_New 36865
_Pickler_FlushToFile 40825
Pickler_get_persid 40928
_pickle_Pickler_dump 41104
_pickle_Pickler___init___impl 41164
_Pickler_SetOutputStream 41195
_Pickler_ClearBuffer 41335
_write_size64 41402
load_unicode 41943
save_list 43252
load_frame 47299
load_stack_global 48695
load_counted_binbytes 49351
_Unpickler_ReadInto 49575
_save_bytes_data 50953
init_method_ref 53252
batch_dict_exact 54829
load_empty_dict 55493
load_reduce 56719
save_bytes 57621
load_setitem 60452
do_setitems 66666
Pdata_clear 68137
load_proto 68701
fix_imports 69925
save_dict 71786
load_none 72280
_pickle_loads_impl 72406
_Unpickler_New 73323
save_none 74514
_Pickler_GetString 76963
dump 77877
PyMemoTable_New 77951
PyMemoTable_Clear 77957
_Pickler_SetBufferCallback 78028
_Pickler_SetProtocol 78029
Pickler_dealloc 78030
PyMemoTable_Del 78032
load_append 81837
Pdata_New 85491
Pdata_dealloc 85491
_Unpickler_SetBuffers 85493
_Unpickler_SetInputEncoding 85493
Unpickler_dealloc 85494
_Unpickler_NewMemo 85495
_Unpickler_MemoCleanup 85497
load 85570
load_int 85888
save_reduce 86855
load_global 91888
load_tuple 101629
do_append 109267
Pdata_poplist 115992
load_put 119562
load_binget 126862
save_type 128575
getattribute 140604
_pickle_Unpickler_find_class_impl 140605
find_class 140605
_Unpickler_MemoGet 140769
marker 143759
load_mark 143847
whichmodule 148776
save_global 148877
_Pickler_CommitFrame 154118
memo_get 164348
load_long_binput 169042
load_binput 178406
store_tuple_elements 181126
load_binint1 197037
get_dotted_path 197563
get_deep_attribute 197930
save_tuple 221218
load_binint 309193
write_unicode_binary 313690
Pdata_pop 326587
load_counted_tuple 327244
Pdata_poptuple 327358
save_unicode 331143
_Pickler_write_bytes 364802
load_counted_binunicode 374607
_Unpickler_CopyLine 448333
_Unpickler_Readline 448387
_Pickle_GetGlobalState 457422
_Pickle_GetState 479273
load_memoize 585163
calc_binsize 641082
load_binint2 808868
PyMemoTable_Set 889440
PyMemoTable_Size 889440
memo_put 889496
_Unpickler_MemoPut 1052146
save_long 1256753
load_binintx 1315088
calc_binint 1321222
_Unpickler_ReadImpl 1463899
PyMemoTable_Get 1526874
_Pickle_FastCall 1608506
_Unpickler_ReadFromFile 1625353
_Unpickler_SetStringInput 1697797
_Unpickler_SkipConsumed 1711862
_Pickler_OpcodeBoundary 2492303
save 2492303
Pdata_push 2739583
_PyMemoTable_Lookup 2927688
_Pickler_Write 4550123

Generated by: LCOV version 1.14