LCOV - code coverage report
Current view: top level - lib/ldb - pyldb.c (source / functions) Hit Total Coverage
Test: coverage report for v4-17-lts cc996e7c Lines: 1525 2096 72.8 %
Date: 2025-10-17 03:45:34 Functions: 149 171 87.1 %

Function Name Sort by function name Hit count Sort by hit count
PyDict_AsMessage 141053
PyErr_SetLdbError 120865
PyInit_ldb 7576
PyLdbBytes_FromStringAndSize 33293878
PyLdbControl_FromControl 102895
PyLdbMessageElement_FromMessageElement 27724034
PyLdbMessage_FromMessage 3850927
PyLdbModule_FromModule 8
PyLdbResult_AsResult 2
PyLdbResult_FromResult 2107738
PyLdbTree_FromTree 2
PyLdb_FromLdbContext 2
PyList_AsStrList 3718296
PyObject_AsMessageElement 724205
PyObject_FromLdbValue 21104521
PyStr_FromLdbValue 299370
ldb_ldif_to_pyobject 306885
ldb_msg_element_to_set 16355347
module_init 7576
py_binary_decode 2
py_binary_encode 38251
py_ldb_add 420771
py_ldb_bytes_str 2742822
py_ldb_connect 23403
py_ldb_contains 9
py_ldb_control_dealloc 102898
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 26865
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 14839
py_ldb_dn_check_special 4
py_ldb_dn_concat 79
py_ldb_dn_copy 928911
py_ldb_dn_dealloc 17437889
py_ldb_dn_extended_str 182377
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 2225929
py_ldb_dn_get_linearized 5101329
py_ldb_dn_get_parent 1465753
py_ldb_dn_get_rdn_name 7852277
py_ldb_dn_get_rdn_value 299088
py_ldb_dn_is_child_of 577501
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 825995
py_ldb_dn_remove_base_components 91
py_ldb_dn_repr 64671
py_ldb_dn_richcmp 13882455
py_ldb_dn_set_component 298920
py_ldb_dn_set_extended_component 17
py_ldb_dn_validate 2
py_ldb_get_config_basedn 32178
py_ldb_get_default_basedn 78240
py_ldb_get_firstmodule 6
py_ldb_get_opaque 6
py_ldb_get_root_basedn 801691
py_ldb_get_schema_basedn 16816
py_ldb_init 3053
py_ldb_modify 195031
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 1435611
py_ldb_msg_dealloc 4019031
py_ldb_msg_diff 10468
py_ldb_msg_element_dealloc 34499039
py_ldb_msg_element_find 12189361
py_ldb_msg_element_flags 38
py_ldb_msg_element_get 0
py_ldb_msg_element_get_text 18
py_ldb_msg_element_iter 16355347
py_ldb_msg_element_len 17802175
py_ldb_msg_element_new 264516
py_ldb_msg_element_repr 57171
py_ldb_msg_element_richcmp 200
py_ldb_msg_element_set_flags 4059
py_ldb_msg_element_str 52503
py_ldb_msg_elements 6
py_ldb_msg_from_dict 1995
py_ldb_msg_get 72323
py_ldb_msg_get_dn 12592412
py_ldb_msg_get_text 81
py_ldb_msg_getitem 28206643
py_ldb_msg_items 8
py_ldb_msg_iter 1620291
py_ldb_msg_keys 1904744
py_ldb_msg_length 33224
py_ldb_msg_new 168104
py_ldb_msg_remove_attr 751673
py_ldb_msg_repr 64663
py_ldb_msg_richcmp 1679
py_ldb_msg_set_dn 169160
py_ldb_msg_setitem 276120
py_ldb_new 26862
py_ldb_parse_ldif 32895
py_ldb_register_test_extensions 6
py_ldb_rename 822
py_ldb_repr 3
py_ldb_result_dealloc 2107736
py_ldb_result_find 2932857
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 162812
py_ldb_result_len 1226701
py_ldb_result_repr 3
py_ldb_schema_attribute_add 4212
py_ldb_schema_attribute_remove 0
py_ldb_schema_format_value 18751
py_ldb_search 2194437
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 23812
py_ldb_set_debug 3
py_ldb_set_modules_dir 23809
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 1647
py_timestring 620
py_valid_attr_name 4
richcmp 12642089
wrap_text 99

Generated by: LCOV version 1.13