LCOV - code coverage report
Current view: top level - lib/ldb - pyldb.c (source / functions) Hit Total Coverage
Test: coverage report for smb2.twrp.listdir_fix f886ca1c Lines: 1835 2681 68.4 %
Date: 2023-11-07 19:11:32 Functions: 151 172 87.8 %

Function Name Sort by function name Hit count Sort by hit count
PyDict_AsMessage 206214
PyErr_SetLdbError 166531
PyInit_ldb 12504
PyLdbBytes_FromStringAndSize 53583047
PyLdbControl_FromControl 105726
PyLdbMessageElement_FromMessageElement 44649533
PyLdbMessage_FromMessage 5713376
PyLdbModule_FromModule 11
PyLdbResult_AsResult 3
PyLdbResult_FromResult 3222286
PyLdbTree_FromTree 3
PyLdb_FromLdbContext 3
PyList_AsStrList 5740317
PyObject_AsMessageElement 1014093
PyObject_FromLdbValue 29591056
PyStr_FromLdbValue 452581
ldb_ldif_to_pyobject 524367
ldb_msg_element_to_set 25982910
module_init 12504
py_binary_decode 3
py_binary_encode 57892
py_ldb_add 691087
py_ldb_bytes_str 4139622
py_ldb_connect 34333
py_ldb_contains 12
py_ldb_control_dealloc 105730
py_ldb_control_get_critical 4
py_ldb_control_get_oid 9139
py_ldb_control_new 14
py_ldb_control_set_critical 130
py_ldb_control_str 54671
py_ldb_dealloc 39219
py_ldb_debug 0
py_ldb_delete 78860
py_ldb_dn_add_base 2728
py_ldb_dn_add_child 5317
py_ldb_dn_canonical_ex_str 233
py_ldb_dn_canonical_str 28048
py_ldb_dn_check_special 6
py_ldb_dn_concat 80
py_ldb_dn_copy 1468147
py_ldb_dn_dealloc 28536591
py_ldb_dn_extended_str 215989
py_ldb_dn_get_casefold 1962
py_ldb_dn_get_component_name 618
py_ldb_dn_get_component_value 284
py_ldb_dn_get_extended_component 3932103
py_ldb_dn_get_linearized 7882389
py_ldb_dn_get_parent 2333377
py_ldb_dn_get_rdn_name 13153166
py_ldb_dn_get_rdn_value 524472
py_ldb_dn_is_child_of 908117
py_ldb_dn_is_null 6
py_ldb_dn_is_special 6
py_ldb_dn_is_valid 6
py_ldb_dn_len 1080
py_ldb_dn_new 1419005
py_ldb_dn_remove_base_components 188
py_ldb_dn_repr 64757
py_ldb_dn_richcmp 26575876
py_ldb_dn_set_component 524360
py_ldb_dn_set_extended_component 19
py_ldb_dn_validate 3
py_ldb_get_config_basedn 50686
py_ldb_get_default_basedn 130110
py_ldb_get_firstmodule 8
py_ldb_get_opaque 8
py_ldb_get_root_basedn 1265779
py_ldb_get_schema_basedn 21590
py_ldb_init 4395
py_ldb_modify 252648
py_ldb_module_add 0
py_ldb_module_dealloc 11
py_ldb_module_del_transaction 0
py_ldb_module_delete 0
py_ldb_module_end_transaction 0
py_ldb_module_modify 0
py_ldb_module_rename 0
py_ldb_module_repr 8
py_ldb_module_search 3
py_ldb_module_start_transaction 0
py_ldb_module_str 0
py_ldb_modules 8
py_ldb_msg_add 2503
py_ldb_msg_contains 2248759
py_ldb_msg_dealloc 5926595
py_ldb_msg_diff 11114
py_ldb_msg_element_dealloc 55855177
py_ldb_msg_element_find 20006698
py_ldb_msg_element_flags 52
py_ldb_msg_element_get 0
py_ldb_msg_element_get_text 27
py_ldb_msg_element_iter 25982910
py_ldb_msg_element_len 28364964
py_ldb_msg_element_new 330032
py_ldb_msg_element_repr 58462
py_ldb_msg_element_richcmp 348
py_ldb_msg_element_set_flags 5277
py_ldb_msg_element_str 81610
py_ldb_msg_elements 9
py_ldb_msg_from_dict 2507
py_ldb_msg_get 97600
py_ldb_msg_get_dn 20879376
py_ldb_msg_get_text 117
py_ldb_msg_getitem 45248440
py_ldb_msg_items 12
py_ldb_msg_iter 2545347
py_ldb_msg_keys 2908105
py_ldb_msg_length 35851
py_ldb_msg_new 213219
py_ldb_msg_remove_attr 751882
py_ldb_msg_repr 64748
py_ldb_msg_richcmp 1781
py_ldb_msg_set_dn 209597
py_ldb_msg_setitem 346320
py_ldb_new 39210
py_ldb_parse_ldif 61327
py_ldb_register_test_extensions 9
py_ldb_rename 1499
py_ldb_repr 4
py_ldb_result_dealloc 3222283
py_ldb_result_find 4668168
py_ldb_result_get_controls 54580
py_ldb_result_get_count 1150
py_ldb_result_get_msgs 5973
py_ldb_result_get_referals 62
py_ldb_result_iter 165646
py_ldb_result_len 1809492
py_ldb_result_repr 4
py_ldb_schema_attribute_add 18288
py_ldb_schema_attribute_remove 0
py_ldb_schema_format_value 25997
py_ldb_search 3340079
py_ldb_search_iterator 1502
py_ldb_search_iterator_abandon 8
py_ldb_search_iterator_callback 16750
py_ldb_search_iterator_dealloc 1502
py_ldb_search_iterator_next 16274
py_ldb_search_iterator_reply_destructor 15383
py_ldb_search_iterator_repr 0
py_ldb_search_iterator_result 1398
py_ldb_sequence_number 47
py_ldb_set_create_perms 34819
py_ldb_set_debug 4
py_ldb_set_modules_dir 34815
py_ldb_set_opaque 48
py_ldb_setup_wellknown_attributes 0
py_ldb_transaction_cancel 317
py_ldb_transaction_commit 38558
py_ldb_transaction_prepare_commit 112
py_ldb_transaction_start 38880
py_ldb_tree_dealloc 3
py_ldb_whoami 1
py_ldb_write_ldif 14537
py_module_add 0
py_module_del 0
py_module_del_transaction 0
py_module_destructor 3
py_module_end_transaction 0
py_module_extended 0
py_module_init 3
py_module_modify 0
py_module_rename 0
py_module_request 3
py_module_search 3
py_module_start_transaction 0
py_register_module 6
py_string_to_time 5533
py_timestring 5078
py_valid_attr_name 6
richcmp 24646442
wrap_text 144

Generated by: LCOV version 1.14