LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - acl.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 61.9 % 1929 1195 4 730 6 15 1174 1 9
Current Date: 2026-03-14 14:10:32 -0400 Functions: 63.2 % 171 108 63 7 101 1
Baseline: lcov-20260315-024220-baseline Branches: 57.8 % 865 500 7 358 5 7 488 3 1
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 66.7 % 6 4 2 4
(7,30] days: 77.8 % 9 7 2 7
(30,360] days: 92.9 % 14 13 1 4 9
(360..) days: 61.6 % 1900 1171 729 6 1165
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 1 1 1
(360..) days: 62.7 % 169 106 63 6 100
Branch coverage date bins:
[..1] days: 50.0 % 4 2 2 2
(7,30] days: 50.0 % 8 4 4 4
(30,360] days: 87.5 % 16 14 1 1 1 13
(360..) days: 57.3 % 837 480 357 5 475

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
RoleMembershipCacheCallback GNC 29469 100.0 % (7 / 7) 100.0 % (6 / 6)
aclconcat CBC 25954 100.0 % (9 / 9) 50.0 % (4 / 8)
aclcontains UBC 0 0.0 % (0 / 12) 0.0 % (0 / 10)
aclcopy CBC 9947 100.0 % (6 / 6) 50.0 % (2 / 4)
acldefault CBC 328023 97.3 % (71 / 73) 84.6 % (22 / 26)
acldefault_sql CBC 266154 89.4 % (42 / 47) 75.0 % (12 / 16)
aclequal CBC 291 92.9 % (13 / 14) 70.0 % (14 / 20)
aclexplode GNC 43068 100.0 % (39 / 39) 83.3 % (10 / 12)
aclinsert UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
aclitemComparator CBC 138 43.8 % (7 / 16) 25.0 % (3 / 12)
aclitem_eq CBC 119681 100.0 % (7 / 7) 100.0 % (6 / 6)
aclitem_match CBC 14574 100.0 % (3 / 3) 100.0 % (4 / 4)
aclitemin GNC 4312 83.3 % (10 / 12) 50.0 % (4 / 8)
aclitemout GNC 673722 93.5 % (29 / 31) 88.9 % (16 / 18)
aclitemsort CBC 446 100.0 % (4 / 4) 66.7 % (4 / 6)
aclmask CBC 59669 94.1 % (32 / 34) 82.5 % (33 / 40)
aclmask_direct CBC 135 75.0 % (15 / 20) 50.0 % (12 / 24)
aclmembers CBC 44711 100.0 % (17 / 17) 83.3 % (10 / 12)
aclmerge CBC 105 80.0 % (12 / 15) 50.0 % (8 / 16)
aclnewowner CBC 52 91.2 % (31 / 34) 73.1 % (19 / 26)
aclparse GNC 4312 50.0 % (46 / 92) 47.9 % (35 / 73)
aclremove UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
aclupdate CBC 37104 93.8 % (45 / 48) 76.9 % (20 / 26)
allocacl CBC 401122 91.7 % (11 / 12) 25.0 % (1 / 4)
check_acl CBC 120596 62.5 % (5 / 8) 25.0 % (3 / 12)
check_can_set_role CBC 1142 100.0 % (4 / 4) 75.0 % (3 / 4)
check_circularity CBC 51 95.8 % (23 / 24) 62.5 % (10 / 16)
check_rolespec_name CBC 278 55.6 % (5 / 9) 33.3 % (4 / 12)
column_privilege_check CBC 2273 80.0 % (12 / 15) 70.0 % (7 / 10)
convert_aclright_to_string CBC 38448 64.7 % (22 / 34) 55.6 % (10 / 18)
convert_any_priv_string CBC 53594 100.0 % (21 / 21) 85.0 % (17 / 20)
convert_column_name CBC 12 93.3 % (14 / 15) 75.0 % (6 / 8)
convert_column_priv_string CBC 2273 100.0 % (2 / 2)
convert_database_name UBC 0 0.0 % (0 / 3)
convert_database_priv_string UBC 0 0.0 % (0 / 2)
convert_foreign_data_wrapper_name CBC 12 100.0 % (3 / 3)
convert_foreign_data_wrapper_priv_string CBC 21 100.0 % (2 / 2)
convert_function_name CBC 90 83.3 % (5 / 6) 25.0 % (1 / 4)
convert_function_priv_string CBC 90 100.0 % (2 / 2)
convert_language_name UBC 0 0.0 % (0 / 3)
convert_language_priv_string UBC 0 0.0 % (0 / 2)
convert_largeobject_priv_string CBC 105 100.0 % (2 / 2)
convert_parameter_priv_string CBC 44 100.0 % (2 / 2)
convert_role_priv_string CBC 50703 100.0 % (2 / 2)
convert_schema_name CBC 27 100.0 % (3 / 3)
convert_schema_priv_string CBC 27 100.0 % (2 / 2)
convert_sequence_priv_string CBC 12 100.0 % (2 / 2)
convert_server_name CBC 12 100.0 % (3 / 3)
convert_server_priv_string CBC 57 100.0 % (2 / 2)
convert_table_name CBC 192 100.0 % (3 / 3)
convert_table_priv_string CBC 241 100.0 % (2 / 2)
convert_tablespace_name UBC 0 0.0 % (0 / 3)
convert_tablespace_priv_string UBC 0 0.0 % (0 / 2)
convert_type_name CBC 6 83.3 % (5 / 6) 25.0 % (1 / 4)
convert_type_priv_string CBC 6 100.0 % (2 / 2)
get_role_oid CBC 20267 100.0 % (5 / 5) 83.3 % (5 / 6)
get_role_oid_or_public CBC 344 75.0 % (3 / 4) 50.0 % (1 / 2)
get_rolespec_name CBC 21 100.0 % (6 / 6)
get_rolespec_oid CBC 4652 88.2 % (15 / 17) 54.5 % (6 / 11)
get_rolespec_tuple CBC 349 82.6 % (19 / 23) 47.8 % (11 / 23)
getid CBC 4385 88.0 % (22 / 25) 73.1 % (19 / 26)
has_any_column_privilege_id UBC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
has_any_column_privilege_id_id UBC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
has_any_column_privilege_id_name UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_any_column_privilege_name UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_any_column_privilege_name_id UBC 0 0.0 % (0 / 15) 0.0 % (0 / 6)
has_any_column_privilege_name_name UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_column_privilege_id_attnum CBC 2252 100.0 % (10 / 10) 100.0 % (2 / 2)
has_column_privilege_id_id_attnum UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_column_privilege_id_id_name UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_column_privilege_id_name CBC 3 90.9 % (10 / 11) 50.0 % (1 / 2)
has_column_privilege_id_name_attnum UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_column_privilege_id_name_name UBC 0 0.0 % (0 / 12) 0.0 % (0 / 2)
has_column_privilege_name_attnum CBC 15 90.9 % (10 / 11) 50.0 % (1 / 2)
has_column_privilege_name_id_attnum UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_column_privilege_name_id_name UBC 0 0.0 % (0 / 12) 0.0 % (0 / 2)
has_column_privilege_name_name CBC 9 91.7 % (11 / 12) 50.0 % (1 / 2)
has_column_privilege_name_name_attnum UBC 0 0.0 % (0 / 12) 0.0 % (0 / 2)
has_column_privilege_name_name_name UBC 0 0.0 % (0 / 13) 0.0 % (0 / 2)
has_database_privilege_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_database_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_database_privilege_id_name UBC 0 0.0 % (0 / 8)
has_database_privilege_name UBC 0 0.0 % (0 / 8)
has_database_privilege_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_database_privilege_name_name UBC 0 0.0 % (0 / 9)
has_foreign_data_wrapper_privilege_id CBC 3 90.0 % (9 / 10) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_id_id CBC 3 90.0 % (9 / 10) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_id_name CBC 3 100.0 % (8 / 8)
has_foreign_data_wrapper_privilege_name CBC 3 100.0 % (8 / 8)
has_foreign_data_wrapper_privilege_name_id CBC 3 90.9 % (10 / 11) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_name_name CBC 6 100.0 % (9 / 9)
has_function_privilege_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_function_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_function_privilege_id_name UBC 0 0.0 % (0 / 8)
has_function_privilege_name UBC 0 0.0 % (0 / 8)
has_function_privilege_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_function_privilege_name_name CBC 90 100.0 % (9 / 9)
has_language_privilege_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_language_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_language_privilege_id_name UBC 0 0.0 % (0 / 8)
has_language_privilege_name UBC 0 0.0 % (0 / 8)
has_language_privilege_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_language_privilege_name_name UBC 0 0.0 % (0 / 9)
has_largeobject_privilege_id CBC 63 100.0 % (10 / 10) 100.0 % (2 / 2)
has_largeobject_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_largeobject_privilege_name_id CBC 42 90.9 % (10 / 11) 50.0 % (1 / 2)
has_lo_priv_byid CBC 105 100.0 % (13 / 13) 87.5 % (7 / 8)
has_param_priv_byname CBC 37 100.0 % (3 / 3)
has_parameter_privilege_id_name CBC 1 100.0 % (5 / 5)
has_parameter_privilege_name CBC 1 100.0 % (4 / 4)
has_parameter_privilege_name_name CBC 42 100.0 % (6 / 6)
has_privs_of_role CBC 188473 100.0 % (6 / 6) 100.0 % (4 / 4)
has_schema_privilege_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_schema_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_schema_privilege_id_name UBC 0 0.0 % (0 / 8)
has_schema_privilege_name UBC 0 0.0 % (0 / 8)
has_schema_privilege_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_schema_privilege_name_name CBC 27 100.0 % (9 / 9)
has_sequence_privilege_id UBC 0 0.0 % (0 / 15) 0.0 % (0 / 8)
has_sequence_privilege_id_id UBC 0 0.0 % (0 / 15) 0.0 % (0 / 8)
has_sequence_privilege_id_name UBC 0 0.0 % (0 / 10) 0.0 % (0 / 4)
has_sequence_privilege_name CBC 3 90.0 % (9 / 10) 25.0 % (1 / 4)
has_sequence_privilege_name_id UBC 0 0.0 % (0 / 16) 0.0 % (0 / 8)
has_sequence_privilege_name_name CBC 9 100.0 % (11 / 11) 75.0 % (3 / 4)
has_server_privilege_id CBC 39 90.0 % (9 / 10) 50.0 % (1 / 2)
has_server_privilege_id_id CBC 3 90.0 % (9 / 10) 50.0 % (1 / 2)
has_server_privilege_id_name CBC 3 100.0 % (8 / 8)
has_server_privilege_name CBC 3 100.0 % (8 / 8)
has_server_privilege_name_id CBC 3 90.9 % (10 / 11) 50.0 % (1 / 2)
has_server_privilege_name_name CBC 6 100.0 % (9 / 9)
has_table_privilege_id CBC 58 100.0 % (10 / 10) 100.0 % (2 / 2)
has_table_privilege_id_id CBC 18 90.0 % (9 / 10) 50.0 % (1 / 2)
has_table_privilege_id_name CBC 21 100.0 % (8 / 8)
has_table_privilege_name CBC 33 100.0 % (8 / 8)
has_table_privilege_name_id CBC 9 90.9 % (10 / 11) 50.0 % (1 / 2)
has_table_privilege_name_name CBC 108 100.0 % (9 / 9)
has_tablespace_privilege_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_tablespace_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_tablespace_privilege_id_name UBC 0 0.0 % (0 / 8)
has_tablespace_privilege_name UBC 0 0.0 % (0 / 8)
has_tablespace_privilege_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_tablespace_privilege_name_name UBC 0 0.0 % (0 / 9)
has_type_privilege_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_type_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_type_privilege_id_name UBC 0 0.0 % (0 / 8)
has_type_privilege_name UBC 0 0.0 % (0 / 8)
has_type_privilege_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_type_privilege_name_name CBC 6 100.0 % (9 / 9)
hash_aclitem CBC 13474 100.0 % (3 / 3)
hash_aclitem_extended CBC 6 100.0 % (5 / 5) 100.0 % (2 / 2)
initialize_acl CBC 15400 100.0 % (8 / 8) 100.0 % (2 / 2)
is_admin_of_role CBC 1413 100.0 % (7 / 7) 100.0 % (4 / 4)
is_member_of_role CBC 6 66.7 % (4 / 6) 50.0 % (2 / 4)
is_member_of_role_nosuper CBC 361 100.0 % (4 / 4) 100.0 % (2 / 2)
is_safe_acl_char CBC 6739724 75.0 % (3 / 4) 83.3 % (5 / 6)
make_empty_acl CBC 33 100.0 % (2 / 2)
makeaclitem GNC 15 100.0 % (11 / 11) 100.0 % (2 / 2)
member_can_set_role CBC 298791 100.0 % (6 / 6) 100.0 % (4 / 4)
pg_has_role_id CBC 50616 100.0 % (7 / 7)
pg_has_role_id_id CBC 60 100.0 % (7 / 7)
pg_has_role_id_name UBC 0 0.0 % (0 / 8)
pg_has_role_name CBC 9 100.0 % (8 / 8)
pg_has_role_name_id UBC 0 0.0 % (0 / 8)
pg_has_role_name_name CBC 18 100.0 % (9 / 9)
pg_role_aclcheck CBC 50703 78.6 % (11 / 14) 75.0 % (12 / 16)
putid CBC 1054463 100.0 % (16 / 16) 100.0 % (12 / 12)
recursive_revoke CBC 46 95.8 % (23 / 24) 75.0 % (12 / 16)
roles_is_member_of GNC 29678 95.6 % (43 / 45) 80.4 % (37 / 46)
roles_list_append CBC 2206 69.2 % (9 / 13) 33.3 % (6 / 18)
select_best_admin CBC 213 100.0 % (5 / 5) 100.0 % (2 / 2)
select_best_grantor CBC 36849 100.0 % (23 / 23) 87.5 % (14 / 16)

Generated by: LCOV version 2.4-beta