LCOV - code coverage report
Current view: top level - lib/ldb - pyldb.c (source / functions) Hit Total Coverage
Test: coverage report for douglas-v4-17-lts-2026-07-29 28d1e15b Lines: 1525 2096 72.8 %
Date: 2026-07-29 02:26:30 Functions: 149 171 87.1 %

Function Name Sort by function name Hit count Sort by hit count
PyDict_AsMessage 141057
PyErr_SetLdbError 120879
PyInit_ldb 7592
PyLdbBytes_FromStringAndSize 33294718
PyLdbControl_FromControl 102903
PyLdbMessageElement_FromMessageElement 27724591
PyLdbMessage_FromMessage 3881201
PyLdbModule_FromModule 8
PyLdbResult_AsResult 2
PyLdbResult_FromResult 2136947
PyLdbTree_FromTree 2
PyLdb_FromLdbContext 2
PyList_AsStrList 3747408
PyObject_AsMessageElement 724242
PyObject_FromLdbValue 21104794
PyStr_FromLdbValue 299365
ldb_ldif_to_pyobject 306886
ldb_msg_element_to_set 16355336
module_init 7592
py_binary_decode 2
py_binary_encode 38251
py_ldb_add 420775
py_ldb_bytes_str 2743057
py_ldb_connect 23426
py_ldb_contains 9
py_ldb_control_dealloc 102906
py_ldb_control_get_critical 3
py_ldb_control_get_oid 1036
py_ldb_control_new 10
py_ldb_control_set_critical 26
py_ldb_control_str 46557
py_ldb_dealloc 26891
py_ldb_debug 0
py_ldb_delete 55562
py_ldb_dn_add_base 1597
py_ldb_dn_add_child 1843
py_ldb_dn_canonical_ex_str 132
py_ldb_dn_canonical_str 14898
py_ldb_dn_check_special 4
py_ldb_dn_concat 79
py_ldb_dn_copy 929654
py_ldb_dn_dealloc 17468482
py_ldb_dn_extended_str 182369
py_ldb_dn_get_casefold 1938
py_ldb_dn_get_component_name 12
py_ldb_dn_get_component_value 282
py_ldb_dn_get_extended_component 2225873
py_ldb_dn_get_linearized 5103731
py_ldb_dn_get_parent 1494295
py_ldb_dn_get_rdn_name 7852113
py_ldb_dn_get_rdn_value 299083
py_ldb_dn_is_child_of 577486
py_ldb_dn_is_null 4
py_ldb_dn_is_special 4
py_ldb_dn_is_valid 4
py_ldb_dn_len 99
py_ldb_dn_new 826404
py_ldb_dn_remove_base_components 91
py_ldb_dn_repr 64671
py_ldb_dn_richcmp 13882012
py_ldb_dn_set_component 298911
py_ldb_dn_set_extended_component 17
py_ldb_dn_validate 2
py_ldb_get_config_basedn 32494
py_ldb_get_default_basedn 78310
py_ldb_get_firstmodule 6
py_ldb_get_opaque 6
py_ldb_get_root_basedn 801716
py_ldb_get_schema_basedn 17148
py_ldb_init 3053
py_ldb_modify 195041
py_ldb_module_add 0
py_ldb_module_dealloc 6
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 6
py_ldb_module_search 2
py_ldb_module_start_transaction 0
py_ldb_module_str 0
py_ldb_modules 6
py_ldb_msg_add 570
py_ldb_msg_contains 1436825
py_ldb_msg_dealloc 4049314
py_ldb_msg_diff 10468
py_ldb_msg_element_dealloc 34499504
py_ldb_msg_element_find 12189928
py_ldb_msg_element_flags 38
py_ldb_msg_element_get 0
py_ldb_msg_element_get_text 18
py_ldb_msg_element_iter 16355336
py_ldb_msg_element_len 17801943
py_ldb_msg_element_new 264525
py_ldb_msg_element_repr 57171
py_ldb_msg_element_richcmp 200
py_ldb_msg_element_set_flags 4059
py_ldb_msg_element_str 52493
py_ldb_msg_elements 6
py_ldb_msg_from_dict 1995
py_ldb_msg_get 72319
py_ldb_msg_get_dn 12593326
py_ldb_msg_get_text 81
py_ldb_msg_getitem 28207214
py_ldb_msg_items 8
py_ldb_msg_iter 1620243
py_ldb_msg_keys 1904762
py_ldb_msg_length 33254
py_ldb_msg_new 168113
py_ldb_msg_remove_attr 751673
py_ldb_msg_repr 64663
py_ldb_msg_richcmp 1679
py_ldb_msg_set_dn 169169
py_ldb_msg_setitem 276129
py_ldb_new 26885
py_ldb_parse_ldif 32896
py_ldb_register_test_extensions 6
py_ldb_rename 822
py_ldb_repr 3
py_ldb_result_dealloc 2136945
py_ldb_result_find 2933579
py_ldb_result_get_controls 46470
py_ldb_result_get_count 166
py_ldb_result_get_msgs 44
py_ldb_result_get_referals 57
py_ldb_result_iter 162901
py_ldb_result_len 1226721
py_ldb_result_repr 3
py_ldb_schema_attribute_add 4212
py_ldb_schema_attribute_remove 0
py_ldb_schema_format_value 19148
py_ldb_search 2223657
py_ldb_search_iterator 1585
py_ldb_search_iterator_abandon 6
py_ldb_search_iterator_callback 6304
py_ldb_search_iterator_dealloc 1585
py_ldb_search_iterator_next 6307
py_ldb_search_iterator_reply_destructor 4778
py_ldb_search_iterator_repr 0
py_ldb_search_iterator_result 1546
py_ldb_sequence_number 47
py_ldb_set_create_perms 23835
py_ldb_set_debug 3
py_ldb_set_modules_dir 23832
py_ldb_set_opaque 3
py_ldb_setup_wellknown_attributes 0
py_ldb_transaction_cancel 145
py_ldb_transaction_commit 24483
py_ldb_transaction_prepare_commit 108
py_ldb_transaction_start 24631
py_ldb_tree_dealloc 2
py_ldb_write_ldif 6127
py_module_add 0
py_module_del 0
py_module_del_transaction 0
py_module_destructor 0
py_module_end_transaction 0
py_module_extended 0
py_module_init 2
py_module_modify 0
py_module_rename 0
py_module_request 2
py_module_search 2
py_module_start_transaction 0
py_register_module 4
py_string_to_time 1673
py_timestring 620
py_valid_attr_name 4
richcmp 12641670
wrap_text 99

Generated by: LCOV version 1.13