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

Generated by: LCOV version 1.14