LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - acl.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC DUB DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 59.9 % 1879 1125 120 634 3 46 1076 76 24
Current Date: 2024-04-14 14:21:10 Functions: 62.7 % 166 104 23 39 15 89
Baseline: 16@8cea358b128 Branches: 55.0 % 842 463 74 2 1 302 1 1 18 443
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 56.5 % 23 13 10 13
(180,240] days: 22.0 % 141 31 110 31
(240..) days: 63.0 % 1715 1081 634 3 2 1076
Function coverage date bins:
[..60] days: 100.0 % 1 1 1
(240..) days: 62.4 % 165 103 23 39 14 89
Branch coverage date bins:
[..60] days: 35.0 % 20 7 13 7
(180,240] days: 15.3 % 72 11 61 11
(240..) days: 59.3 % 750 445 2 1 302 1 1 443

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
aclcontains UBC 0 0.0 % (0 / 12) 0.0 % (0 / 10)
aclinsert UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
aclremove UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
convert_database_name UBC 0 0.0 % (0 / 3)
convert_database_priv_string UBC 0 0.0 % (0 / 2)
convert_language_name UBC 0 0.0 % (0 / 3)
convert_language_priv_string UBC 0 0.0 % (0 / 2)
convert_tablespace_name UBC 0 0.0 % (0 / 3)
convert_tablespace_priv_string UBC 0 0.0 % (0 / 2)
count_one_bits UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
has_any_column_privilege_id UNC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
has_any_column_privilege_id_id UNC 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 UNC 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_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_column_privilege_name_name_name UBC 0 0.0 % (0 / 13) 0.0 % (0 / 2)
has_database_privilege_id UNC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_database_privilege_id_id UNC 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 UNC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_database_privilege_name_name UBC 0 0.0 % (0 / 9)
has_function_privilege_id UNC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_function_privilege_id_id UNC 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 UNC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_language_privilege_id UNC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_language_privilege_id_id UNC 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 UNC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_language_privilege_name_name UBC 0 0.0 % (0 / 9)
has_schema_privilege_id UNC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_schema_privilege_id_id UNC 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 UNC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_sequence_privilege_id_id UNC 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_id UNC 0 0.0 % (0 / 16) 0.0 % (0 / 8)
has_tablespace_privilege_id UNC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_tablespace_privilege_id_id UNC 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 UNC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
has_tablespace_privilege_name_name UBC 0 0.0 % (0 / 9)
has_type_privilege_id UNC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
has_type_privilege_id_id UNC 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 UNC 0 0.0 % (0 / 11) 0.0 % (0 / 2)
pg_has_role_id_name UBC 0 0.0 % (0 / 8)
pg_has_role_name_id UBC 0 0.0 % (0 / 8)
has_parameter_privilege_id_name CBC 1 100.0 % (5 / 5)
has_parameter_privilege_name CBC 1 100.0 % (4 / 4)
has_column_privilege_id_name CBC 3 90.9 % (10 / 11) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_id GNC 3 90.0 % (9 / 10) 50.0 % (1 / 2)
has_foreign_data_wrapper_privilege_id_id GNC 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 GNC 3 90.9 % (10 / 11) 50.0 % (1 / 2)
has_sequence_privilege_name CBC 3 90.0 % (9 / 10) 25.0 % (1 / 4)
has_server_privilege_id_id GNC 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 GNC 3 90.9 % (10 / 11) 50.0 % (1 / 2)
convert_type_name CBC 6 83.3 % (5 / 6) 25.0 % (1 / 4)
convert_type_priv_string CBC 6 100.0 % (2 / 2)
has_foreign_data_wrapper_privilege_name_name CBC 6 100.0 % (9 / 9)
has_server_privilege_name_name CBC 6 100.0 % (9 / 9)
has_type_privilege_name_name CBC 6 100.0 % (9 / 9)
is_member_of_role CBC 6 66.7 % (4 / 6) 50.0 % (2 / 4)
has_column_privilege_name_name CBC 9 91.7 % (11 / 12) 50.0 % (1 / 2)
has_sequence_privilege_name_name CBC 9 100.0 % (11 / 11) 75.0 % (3 / 4)
makeaclitem CBC 9 100.0 % (11 / 11) 100.0 % (2 / 2)
pg_has_role_name CBC 9 100.0 % (8 / 8)
convert_column_name CBC 12 93.3 % (14 / 15) 75.0 % (6 / 8)
convert_foreign_data_wrapper_name CBC 12 100.0 % (3 / 3)
convert_server_name CBC 12 100.0 % (3 / 3)
has_table_privilege_name_id GNC 12 90.9 % (10 / 11) 50.0 % (1 / 2)
hash_aclitem_extended CBC 12 100.0 % (5 / 5) 100.0 % (2 / 2)
has_column_privilege_name_attnum CBC 15 90.9 % (10 / 11) 50.0 % (1 / 2)
has_table_privilege_id_id GNC 18 90.0 % (9 / 10) 50.0 % (1 / 2)
pg_has_role_name_name CBC 18 100.0 % (9 / 9)
convert_foreign_data_wrapper_priv_string CBC 21 100.0 % (2 / 2)
get_rolespec_name CBC 21 100.0 % (6 / 6)
has_table_privilege_id_name CBC 21 100.0 % (8 / 8)
convert_schema_name CBC 27 100.0 % (3 / 3)
convert_schema_priv_string CBC 27 100.0 % (2 / 2)
has_schema_privilege_name_name CBC 27 100.0 % (9 / 9)
aclnewowner CBC 28 91.2 % (31 / 34) 73.1 % (19 / 26)
make_empty_acl CBC 30 100.0 % (2 / 2)
has_table_privilege_name CBC 33 100.0 % (8 / 8)
has_param_priv_byname CBC 37 100.0 % (3 / 3)
has_server_privilege_id GNC 39 90.0 % (9 / 10) 50.0 % (1 / 2)
has_parameter_privilege_name_name CBC 42 100.0 % (6 / 6)
pg_has_role_id_id CBC 42 100.0 % (7 / 7)
check_circularity CBC 43 95.8 % (23 / 24) 62.5 % (10 / 16)
convert_parameter_priv_string CBC 44 100.0 % (2 / 2)
recursive_revoke CBC 45 95.8 % (23 / 24) 75.0 % (12 / 16)
convert_aclright_to_string GNC 48 11.8 % (4 / 34) 5.6 % (1 / 18)
convert_server_priv_string CBC 57 100.0 % (2 / 2)
has_sequence_privilege_id GNC 57 80.0 % (12 / 15) 37.5 % (3 / 8)
has_table_privilege_id GNC 58 100.0 % (10 / 10) 100.0 % (2 / 2)
aclitemin CBC 61 83.3 % (10 / 12) 50.0 % (4 / 8)
aclparse GNC 61 38.9 % (35 / 90) 39.7 % (27 / 68)
convert_sequence_priv_string CBC 69 100.0 % (2 / 2)
aclexplode CBC 72 100.0 % (39 / 39) 83.3 % (10 / 12)
convert_function_name CBC 90 83.3 % (5 / 6) 25.0 % (1 / 4)
convert_function_priv_string CBC 90 100.0 % (2 / 2)
has_function_privilege_name_name CBC 90 100.0 % (9 / 9)
has_table_privilege_name_name CBC 90 100.0 % (9 / 9)
aclmerge CBC 96 80.0 % (12 / 15) 50.0 % (8 / 16)
aclitemComparator CBC 109 43.8 % (7 / 16) 25.0 % (3 / 12)
getid CBC 116 83.3 % (20 / 24) 65.4 % (17 / 26)
aclmask_direct CBC 117 75.0 % (15 / 20) 50.0 % (12 / 24)
convert_table_name CBC 174 100.0 % (3 / 3)
select_best_admin CBC 213 100.0 % (5 / 5) 100.0 % (2 / 2)
convert_table_priv_string CBC 226 100.0 % (2 / 2)
check_rolespec_name CBC 243 55.6 % (5 / 9) 33.3 % (4 / 12)
aclequal CBC 258 85.7 % (12 / 14) 70.0 % (14 / 20)
get_role_oid_or_public CBC 287 75.0 % (3 / 4) 50.0 % (1 / 2)
get_rolespec_tuple GNC 314 82.6 % (19 / 23) 47.8 % (11 / 23)
aclitemsort CBC 382 100.0 % (4 / 4) 66.7 % (4 / 6)
is_member_of_role_nosuper CBC 454 100.0 % (4 / 4) 100.0 % (2 / 2)
hash_aclitem CBC 621 100.0 % (3 / 3)
check_can_set_role CBC 962 100.0 % (4 / 4) 75.0 % (3 / 4)
has_column_privilege_id_attnum CBC 1210 100.0 % (10 / 10) 100.0 % (2 / 2)
column_privilege_check CBC 1231 80.0 % (12 / 15) 70.0 % (7 / 10)
convert_column_priv_string CBC 1231 100.0 % (2 / 2)
is_admin_of_role CBC 1401 100.0 % (7 / 7) 100.0 % (4 / 4)
roles_list_append GNC 2089 69.2 % (9 / 13) 33.3 % (6 / 18)
aclcopy CBC 4061 83.3 % (5 / 6) 50.0 % (2 / 4)
get_rolespec_oid CBC 4555 88.2 % (15 / 17) 54.5 % (6 / 11)
aclitem_match CBC 8670 100.0 % (3 / 3) 100.0 % (4 / 4)
aclconcat CBC 8717 77.8 % (7 / 9) 50.0 % (4 / 8)
initialize_acl CBC 13196 100.0 % (8 / 8) 100.0 % (2 / 2)
select_best_grantor CBC 16234 78.3 % (18 / 23) 75.0 % (12 / 16)
aclupdate CBC 16434 93.8 % (45 / 48) 76.9 % (20 / 26)
get_role_oid CBC 17420 100.0 % (5 / 5) 83.3 % (5 / 6)
aclmembers CBC 17978 100.0 % (17 / 17) 75.0 % (9 / 12)
roles_is_member_of GNC 22863 95.6 % (43 / 45) 80.4 % (37 / 46)
RoleMembershipCacheCallback CBC 26583 100.0 % (7 / 7) 100.0 % (6 / 6)
pg_has_role_id CBC 46877 100.0 % (7 / 7)
convert_role_priv_string CBC 46946 100.0 % (2 / 2)
pg_role_aclcheck CBC 46946 78.6 % (11 / 14) 75.0 % (12 / 16)
convert_any_priv_string CBC 48726 100.0 % (21 / 21) 85.0 % (17 / 20)
aclmask CBC 50685 94.1 % (32 / 34) 82.5 % (33 / 40)
aclitem_eq CBC 59366 100.0 % (7 / 7) 83.3 % (5 / 6)
check_acl CBC 77463 62.5 % (5 / 8) 25.0 % (3 / 12)
acldefault_sql CBC 158045 89.4 % (42 / 47) 75.0 % (12 / 16)
has_privs_of_role CBC 173061 100.0 % (6 / 6) 100.0 % (4 / 4)
acldefault CBC 198988 97.3 % (71 / 73) 84.6 % (22 / 26)
allocacl CBC 228267 91.7 % (11 / 12) 25.0 % (1 / 4)
member_can_set_role CBC 297822 100.0 % (6 / 6) 100.0 % (4 / 4)
aclitemout CBC 355403 92.6 % (25 / 27) 85.7 % (12 / 14)
putid CBC 538896 100.0 % (16 / 16) 100.0 % (14 / 14)

Generated by: LCOV version 2.1-beta2-3-g6141622