LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - acl.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 63.7 % 1942 1237 4 701 35 29 1173 1 10
Current Date: 2026-06-29 16:15:13 +0200 Functions: 64.3 % 171 110 61 2 9 99 2
Baseline: lcov-20260630-baseline Branches: 59.2 % 872 516 8 1 347 15 12 489
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 88.4 % 43 38 4 1 29 9
(360..) days: 63.1 % 1899 1199 700 35 1164
Function coverage date bins:
(30,360] days: 100.0 % 3 3 2 1
(360..) days: 63.7 % 168 107 61 2 7 98
Branch coverage date bins:
(30,360] days: 73.5 % 34 25 8 1 12 13
(360..) days: 58.6 % 838 491 1 346 15 476

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
aclparse GNC 4854 50.0 % (46 / 92) 47.9 % (35 / 73)
get_rolespec_tuple CBC 428 82.6 % (19 / 23) 47.8 % (11 / 23)
roles_list_append CBC 3045 69.2 % (9 / 13) 33.3 % (6 / 18)
aclcontains UBC 0 0.0 % (0 / 12) 0.0 % (0 / 10)
aclitemComparator CBC 183 43.8 % (7 / 16) 25.0 % (3 / 12)
aclmask_direct CBC 380 90.0 % (18 / 20) 62.5 % (15 / 24)
check_acl CBC 195692 62.5 % (5 / 8) 25.0 % (3 / 12)
roles_is_member_of GNC 41263 95.6 % (43 / 45) 80.4 % (37 / 46)
aclmerge CBC 140 80.0 % (12 / 15) 50.0 % (8 / 16)
check_rolespec_name CBC 335 55.6 % (5 / 9) 33.3 % (4 / 12)
convert_aclright_to_string CBC 330020 64.7 % (22 / 34) 55.6 % (10 / 18)
has_sequence_privilege_id_id UBC 0 0.0 % (0 / 15) 0.0 % (0 / 8)
has_sequence_privilege_name_id UBC 0 0.0 % (0 / 16) 0.0 % (0 / 8)
aclmask CBC 94440 94.1 % (32 / 34) 82.5 % (33 / 40)
aclnewowner CBC 92 91.2 % (31 / 34) 73.1 % (19 / 26)
getid CBC 4940 88.0 % (22 / 25) 73.1 % (19 / 26)
aclequal CBC 363 92.9 % (13 / 14) 70.0 % (14 / 20)
aclupdate CBC 40266 93.8 % (45 / 48) 76.9 % (20 / 26)
check_circularity CBC 77 95.8 % (23 / 24) 62.5 % (10 / 16)
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_name_id UBC 0 0.0 % (0 / 15) 0.0 % (0 / 6)
get_rolespec_oid CBC 5871 88.2 % (15 / 17) 54.5 % (6 / 11)
has_sequence_privilege_id GBC 21 80.0 % (12 / 15) 37.5 % (3 / 8)
aclconcat CBC 27565 100.0 % (9 / 9) 50.0 % (4 / 8)
acldefault GNC 317772 97.4 % (75 / 77) 85.2 % (23 / 27)
acldefault_sql CBC 239460 89.4 % (42 / 47) 75.0 % (12 / 16)
aclitemin GNC 4854 83.3 % (10 / 12) 50.0 % (4 / 8)
has_sequence_privilege_id_name UBC 0 0.0 % (0 / 10) 0.0 % (0 / 4)
pg_role_aclcheck CBC 70683 78.6 % (11 / 14) 75.0 % (12 / 16)
recursive_revoke CBC 59 95.8 % (23 / 24) 75.0 % (12 / 16)
aclitemout GNC 542232 90.3 % (28 / 31) 83.3 % (15 / 18)
allocacl CBC 397088 91.7 % (11 / 12) 25.0 % (1 / 4)
convert_any_priv_string CBC 477381 100.0 % (21 / 21) 85.0 % (17 / 20)
convert_function_name CBC 116 83.3 % (5 / 6) 25.0 % (1 / 4)
convert_type_name CBC 8 83.3 % (5 / 6) 25.0 % (1 / 4)
has_sequence_privilege_name CBC 4 90.0 % (9 / 10) 25.0 % (1 / 4)
aclcopy CBC 11338 100.0 % (6 / 6) 50.0 % (2 / 4)
aclexplode GNC 369332 100.0 % (40 / 40) 83.3 % (10 / 12)
aclinsert UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
aclitemsort CBC 590 100.0 % (4 / 4) 66.7 % (4 / 6)
aclmembers CBC 48404 100.0 % (17 / 17) 83.3 % (10 / 12)
aclremove UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
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_name UBC 0 0.0 % (0 / 11) 0.0 % (0 / 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_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_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_attnum UBC 0 0.0 % (0 / 12) 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_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
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_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
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_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_largeobject_privilege_id_id UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
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_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
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_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
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_name_id UBC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
is_member_of_role CBC 8 66.7 % (4 / 6) 50.0 % (2 / 4)
check_can_set_role CBC 1426 100.0 % (4 / 4) 75.0 % (3 / 4)
column_privilege_check CBC 388014 93.3 % (14 / 15) 90.0 % (9 / 10)
convert_column_name CBC 108 100.0 % (15 / 15) 87.5 % (7 / 8)
get_role_oid CBC 22712 100.0 % (5 / 5) 83.3 % (5 / 6)
get_role_oid_or_public CBC 535 75.0 % (3 / 4) 50.0 % (1 / 2)
has_column_privilege_id_name CBC 4 90.9 % (10 / 11) 50.0 % (1 / 2)
has_column_privilege_name_attnum CBC 20 90.9 % (10 / 11) 50.0 % (1 / 2)
has_column_privilege_name_name CBC 12 91.7 % (11 / 12) 50.0 % (1 / 2)
has_column_privilege_name_name_name GBC 92 92.3 % (12 / 13) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_id CBC 4 90.0 % (9 / 10) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_id_id CBC 4 90.0 % (9 / 10) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_name_id CBC 4 90.9 % (10 / 11) 50.0 % (1 / 2)
has_largeobject_privilege_name_id CBC 56 90.9 % (10 / 11) 50.0 % (1 / 2)
has_lo_priv_byid CBC 140 100.0 % (13 / 13) 87.5 % (7 / 8)
has_sequence_privilege_name_name CBC 12 100.0 % (11 / 11) 75.0 % (3 / 4)
has_server_privilege_id CBC 52 90.0 % (9 / 10) 50.0 % (1 / 2)
has_server_privilege_id_id CBC 4 90.0 % (9 / 10) 50.0 % (1 / 2)
has_server_privilege_name_id CBC 4 90.9 % (10 / 11) 50.0 % (1 / 2)
has_table_privilege_id_id CBC 24 90.0 % (9 / 10) 50.0 % (1 / 2)
has_table_privilege_name_id CBC 12 90.9 % (10 / 11) 50.0 % (1 / 2)
is_safe_acl_char CBC 7140125 75.0 % (3 / 4) 83.3 % (5 / 6)
aclitem_eq CBC 138181 100.0 % (7 / 7) 100.0 % (6 / 6)
aclitem_match CBC 16588 100.0 % (3 / 3) 100.0 % (4 / 4)
has_column_privilege_id_attnum CBC 387894 100.0 % (10 / 10) 100.0 % (2 / 2)
has_largeobject_privilege_id CBC 84 100.0 % (10 / 10) 100.0 % (2 / 2)
has_privs_of_role CBC 229014 100.0 % (6 / 6) 100.0 % (4 / 4)
has_table_privilege_id CBC 17931 100.0 % (10 / 10) 100.0 % (2 / 2)
hash_aclitem_extended CBC 8 100.0 % (5 / 5) 100.0 % (2 / 2)
initialize_acl CBC 16826 100.0 % (8 / 8) 100.0 % (2 / 2)
is_admin_of_role CBC 1909 100.0 % (7 / 7) 100.0 % (4 / 4)
is_member_of_role_nosuper CBC 487 100.0 % (4 / 4) 100.0 % (2 / 2)
makeaclitem GNC 24 100.0 % (11 / 11) 100.0 % (2 / 2)
member_can_set_role CBC 339764 100.0 % (6 / 6) 100.0 % (4 / 4)
putid CBC 849448 100.0 % (16 / 16) 100.0 % (12 / 12)
select_best_admin CBC 286 100.0 % (5 / 5) 100.0 % (2 / 2)
convert_column_priv_string CBC 388014 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 16 100.0 % (3 / 3)
convert_foreign_data_wrapper_priv_string CBC 28 100.0 % (2 / 2)
convert_function_priv_string CBC 116 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 140 100.0 % (2 / 2)
convert_parameter_priv_string CBC 44 100.0 % (2 / 2)
convert_role_priv_string CBC 70683 100.0 % (2 / 2)
convert_schema_name CBC 36 100.0 % (3 / 3)
convert_schema_priv_string CBC 36 100.0 % (2 / 2)
convert_sequence_priv_string CBC 37 100.0 % (2 / 2)
convert_server_name CBC 16 100.0 % (3 / 3)
convert_server_priv_string CBC 76 100.0 % (2 / 2)
convert_table_name CBC 348 100.0 % (3 / 3)
convert_table_priv_string CBC 18175 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_priv_string CBC 8 100.0 % (2 / 2)
get_rolespec_name CBC 28 100.0 % (6 / 6)
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_name UBC 0 0.0 % (0 / 9)
has_foreign_data_wrapper_privilege_id_name CBC 4 100.0 % (8 / 8)
has_foreign_data_wrapper_privilege_name CBC 4 100.0 % (8 / 8)
has_foreign_data_wrapper_privilege_name_name CBC 8 100.0 % (9 / 9)
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_name CBC 116 100.0 % (9 / 9)
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_name UBC 0 0.0 % (0 / 9)
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_schema_privilege_id_name UBC 0 0.0 % (0 / 8)
has_schema_privilege_name UBC 0 0.0 % (0 / 8)
has_schema_privilege_name_name CBC 36 100.0 % (9 / 9)
has_server_privilege_id_name CBC 4 100.0 % (8 / 8)
has_server_privilege_name CBC 4 100.0 % (8 / 8)
has_server_privilege_name_name CBC 8 100.0 % (9 / 9)
has_table_privilege_id_name CBC 28 100.0 % (8 / 8)
has_table_privilege_name CBC 44 100.0 % (8 / 8)
has_table_privilege_name_name CBC 144 100.0 % (9 / 9)
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_name UBC 0 0.0 % (0 / 9)
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_name CBC 8 100.0 % (9 / 9)
hash_aclitem CBC 15932 100.0 % (3 / 3)
make_empty_acl CBC 43 100.0 % (2 / 2)
pg_has_role_id CBC 70527 100.0 % (7 / 7)
pg_has_role_id_id CBC 120 100.0 % (7 / 7)
pg_has_role_id_name UBC 0 0.0 % (0 / 8)
pg_has_role_name CBC 12 100.0 % (8 / 8)
pg_has_role_name_id UBC 0 0.0 % (0 / 8)
pg_has_role_name_name CBC 24 100.0 % (9 / 9)

Generated by: LCOV version 2.0-1