LCOV - differential code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 82.8 % 1891 1566 13 312 9 43 1514 1 1 20
Current Date: 2026-06-29 16:15:13 +0200 Functions: 94.9 % 59 56 1 2 23 33
Baseline: lcov-20260630-baseline Branches: 65.0 % 1137 739 23 6 6 363 17 1 37 684
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: 76.8 % 56 43 13 43
(360..) days: 83.0 % 1835 1523 312 9 1514 1
Function coverage date bins:
(360..) days: 94.9 % 59 56 1 2 23 33
Branch coverage date bins:
(30,360] days: 61.7 % 60 37 23 37
(360..) days: 65.2 % 1077 702 6 6 363 17 1 684

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
aclcheck_error_col UBC 0 0.0 % (0 / 12) 0.0 % (0 / 8)
pg_attribute_aclmask UBC 0 0.0 % (0 / 2)
pg_parameter_acl_aclmask UNC 0 0.0 % (0 / 16) 0.0 % (0 / 12)
ReplaceRoleInInitPriv CBC 12 86.7 % (26 / 30) 50.0 % (4 / 8)
RemoveRoleFromInitPriv GNC 14 84.6 % (33 / 39) 42.9 % (6 / 14)
privilege_to_string CBC 20 23.5 % (8 / 34) 16.7 % (3 / 18)
objectsInSchemaToOids GNC 21 86.4 % (38 / 44) 73.7 % (14 / 19)
ExecGrant_Language_check CBC 27 100.0 % (5 / 5) 75.0 % (3 / 4)
object_aclmask CBC 36 100.0 % (2 / 2)
getRelationsInNamespace CBC 41 100.0 % (12 / 12) 100.0 % (2 / 2)
ExecGrant_Parameter GNC 48 97.6 % (40 / 41) 77.8 % (14 / 18)
pg_aclmask GNC 48 36.4 % (12 / 33) 23.8 % (5 / 21)
recordExtObjInitPriv CBC 53 70.9 % (39 / 55) 57.5 % (23 / 40)
ExecGrant_Largeobject GNC 58 97.6 % (40 / 41) 68.8 % (11 / 16)
aclcheck_error_type CBC 80 75.0 % (3 / 4) 100.0 % (2 / 2)
pg_parameter_aclcheck CBC 80 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_parameter_aclmask GNC 80 90.0 % (18 / 20) 70.0 % (7 / 10)
ExecGrant_Type_check CBC 92 100.0 % (7 / 7) 70.0 % (7 / 10)
ExecAlterDefaultPrivilegesStmt GNC 135 79.2 % (80 / 101) 63.9 % (46 / 72)
SetDefaultACLsInSchemas CBC 135 100.0 % (9 / 9) 87.5 % (7 / 8)
RemoveRoleFromObjectACL GNC 160 87.6 % (78 / 89) 62.1 % (18 / 29)
pg_attribute_aclcheck_all CBC 162 100.0 % (2 / 2)
pg_attribute_aclcheck_all_ext GNC 162 88.6 % (31 / 35) 68.2 % (15 / 22)
SetDefaultACL CBC 163 97.1 % (102 / 105) 77.6 % (52 / 67)
removeExtObjInitPriv CBC 178 81.0 % (17 / 21) 55.6 % (10 / 18)
expand_col_privileges CBC 318 81.8 % (9 / 11) 50.0 % (8 / 16)
pg_largeobject_aclcheck_snapshot CBC 590 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_largeobject_aclmask_snapshot GNC 590 96.3 % (26 / 27) 79.2 % (19 / 24)
ExecGrant_common GNC 1361 97.8 % (45 / 46) 72.2 % (13 / 18)
has_createrole_privilege CBC 1720 100.0 % (9 / 9) 75.0 % (3 / 4)
recordExtensionInitPrivWorker CBC 1765 100.0 % (41 / 41) 75.0 % (9 / 12)
aclcheck_error GNC 1926 57.0 % (127 / 223) 50.0 % (43 / 86)
pg_attribute_aclcheck CBC 2949 100.0 % (2 / 2)
expand_all_col_privileges CBC 3438 94.4 % (17 / 18) 75.0 % (12 / 16)
has_bypassrls_privilege CBC 3796 100.0 % (9 / 9) 75.0 % (3 / 4)
ExecGrant_Relation GNC 11057 90.4 % (104 / 115) 66.3 % (59 / 89)
string_to_privilege CBC 11213 97.1 % (33 / 34) 91.2 % (31 / 34)
objectNamesToOids CBC 12412 100.0 % (35 / 35) 84.2 % (32 / 38)
ExecuteGrantStmt GNC 12433 94.8 % (109 / 115) 72.2 % (39 / 54)
ExecGrantStmt_oids GNC 12524 95.0 % (38 / 40) 81.2 % (13 / 16)
recordExtensionInitPriv CBC 14059 100.0 % (4 / 4) 75.0 % (3 / 4)
ExecGrant_Attribute GNC 27565 97.4 % (37 / 38) 75.0 % (9 / 12)
restrict_and_check_grant GNC 39934 84.9 % (62 / 73) 58.1 % (43 / 74)
merge_acl_with_grant CBC 40079 92.3 % (12 / 13) 83.3 % (20 / 24)
get_user_default_acl CBC 54885 91.9 % (34 / 37) 88.2 % (15 / 17)
recordDependencyOnNewAcl CBC 57430 100.0 % (5 / 5) 100.0 % (2 / 2)
get_default_acl_internal CBC 109770 100.0 % (9 / 9) 75.0 % (3 / 4)
object_ownercheck GNC 174112 92.3 % (24 / 26) 56.2 % (9 / 16)
pg_type_aclmask_ext GNC 212304 70.7 % (29 / 41) 46.9 % (15 / 32)
pg_class_aclmask CBC 387375 100.0 % (2 / 2)
pg_attribute_aclcheck_ext CBC 390955 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_attribute_aclmask_ext GNC 390955 79.4 % (27 / 34) 45.8 % (11 / 24)
pg_namespace_aclmask_ext GNC 634192 82.1 % (23 / 28) 69.2 % (18 / 26)
pg_class_aclcheck CBC 1584826 100.0 % (2 / 2)
pg_class_aclcheck_ext CBC 1986433 100.0 % (4 / 4) 100.0 % (2 / 2)
object_aclcheck CBC 2079054 100.0 % (2 / 2)
object_aclcheck_ext CBC 2079340 100.0 % (4 / 4) 100.0 % (2 / 2)
object_aclmask_ext GNC 2079376 86.2 % (25 / 29) 57.1 % (12 / 21)
pg_class_aclmask_ext GNC 2373808 97.7 % (43 / 44) 85.7 % (36 / 42)

Generated by: LCOV version 2.0-1