LCOV - differential code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GIC GNC CBC ECB DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 82.8 % 1891 1566 13 312 9 43 1514 1 1 20
Current Date: 2026-05-29 21:51:00 -0400 Functions: 94.9 % 59 56 1 2 21 35
Baseline: lcov-20260530-034037-baseline Branches: 65.0 % 1137 739 23 43 332 7 80 37 615 62 100
Baseline Date: 2026-05-29 14:39:03 -0700 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 21 35
Branch coverage date bins:
(30,360] days: 61.7 % 60 37 23 37
(360..) days: 65.2 % 1077 702 43 332 7 80 615

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
ExecAlterDefaultPrivilegesStmt GNC 135 79.2 % (80 / 101) 63.9 % (46 / 72)
ExecGrantStmt_oids CBC 12565 95.0 % (38 / 40) 81.2 % (13 / 16)
ExecGrant_Attribute GNC 27574 97.4 % (37 / 38) 75.0 % (9 / 12)
ExecGrant_Language_check CBC 27 100.0 % (5 / 5) 75.0 % (3 / 4)
ExecGrant_Largeobject GNC 58 97.6 % (40 / 41) 68.8 % (11 / 16)
ExecGrant_Parameter GNC 48 97.6 % (40 / 41) 77.8 % (14 / 18)
ExecGrant_Relation GNC 11097 90.4 % (104 / 115) 66.3 % (59 / 89)
ExecGrant_Type_check CBC 92 100.0 % (7 / 7) 70.0 % (7 / 10)
ExecGrant_common GNC 1362 97.8 % (45 / 46) 72.2 % (13 / 18)
ExecuteGrantStmt GNC 12474 94.8 % (109 / 115) 72.2 % (39 / 54)
RemoveRoleFromInitPriv GNC 14 84.6 % (33 / 39) 42.9 % (6 / 14)
RemoveRoleFromObjectACL GNC 160 87.6 % (78 / 89) 62.1 % (18 / 29)
ReplaceRoleInInitPriv CBC 12 86.7 % (26 / 30) 50.0 % (4 / 8)
SetDefaultACL CBC 163 97.1 % (102 / 105) 77.6 % (52 / 67)
SetDefaultACLsInSchemas CBC 135 100.0 % (9 / 9) 87.5 % (7 / 8)
aclcheck_error GNC 1917 57.0 % (127 / 223) 50.0 % (43 / 86)
aclcheck_error_col UBC 0 0.0 % (0 / 12) 0.0 % (0 / 8)
aclcheck_error_type CBC 80 75.0 % (3 / 4) 100.0 % (2 / 2)
expand_all_col_privileges CBC 3435 94.4 % (17 / 18) 75.0 % (12 / 16)
expand_col_privileges CBC 303 81.8 % (9 / 11) 50.0 % (8 / 16)
getRelationsInNamespace CBC 41 100.0 % (12 / 12) 100.0 % (2 / 2)
get_default_acl_internal CBC 109708 100.0 % (9 / 9) 75.0 % (3 / 4)
get_user_default_acl CBC 54854 91.9 % (34 / 37) 88.2 % (15 / 17)
has_bypassrls_privilege CBC 3790 100.0 % (9 / 9) 75.0 % (3 / 4)
has_createrole_privilege CBC 1719 100.0 % (9 / 9) 75.0 % (3 / 4)
merge_acl_with_grant CBC 40145 92.3 % (12 / 13) 83.3 % (20 / 24)
objectNamesToOids CBC 12453 100.0 % (35 / 35) 84.2 % (32 / 38)
object_aclcheck CBC 2103072 100.0 % (2 / 2)
object_aclcheck_ext CBC 2103361 100.0 % (4 / 4) 100.0 % (2 / 2)
object_aclmask CBC 36 100.0 % (2 / 2)
object_aclmask_ext GNC 2103392 86.2 % (25 / 29) 57.1 % (12 / 21)
object_ownercheck GNC 173216 92.3 % (24 / 26) 56.2 % (9 / 16)
objectsInSchemaToOids GNC 21 86.4 % (38 / 44) 73.7 % (14 / 19)
pg_aclmask CBC 48 36.4 % (12 / 33) 23.8 % (5 / 21)
pg_attribute_aclcheck CBC 2929 100.0 % (2 / 2)
pg_attribute_aclcheck_all CBC 163 100.0 % (2 / 2)
pg_attribute_aclcheck_all_ext GNC 163 88.6 % (31 / 35) 68.2 % (15 / 22)
pg_attribute_aclcheck_ext CBC 381163 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_attribute_aclmask UBC 0 0.0 % (0 / 2)
pg_attribute_aclmask_ext GNC 381163 79.4 % (27 / 34) 45.8 % (11 / 24)
pg_class_aclcheck CBC 1638999 100.0 % (2 / 2)
pg_class_aclcheck_ext CBC 2013342 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_class_aclmask CBC 398836 100.0 % (2 / 2)
pg_class_aclmask_ext GNC 2412178 97.7 % (43 / 44) 85.7 % (36 / 42)
pg_largeobject_aclcheck_snapshot CBC 589 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_largeobject_aclmask_snapshot GNC 589 96.3 % (26 / 27) 79.2 % (19 / 24)
pg_namespace_aclmask_ext GNC 636995 82.1 % (23 / 28) 69.2 % (18 / 26)
pg_parameter_acl_aclmask UNC 0 0.0 % (0 / 16) 0.0 % (0 / 12)
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)
pg_type_aclmask_ext GNC 213423 70.7 % (29 / 41) 46.9 % (15 / 32)
privilege_to_string CBC 20 23.5 % (8 / 34) 16.7 % (3 / 18)
recordDependencyOnNewAcl CBC 57414 100.0 % (5 / 5) 100.0 % (2 / 2)
recordExtObjInitPriv CBC 53 70.9 % (39 / 55) 57.5 % (23 / 40)
recordExtensionInitPriv CBC 14055 100.0 % (4 / 4) 75.0 % (3 / 4)
recordExtensionInitPrivWorker CBC 1545 100.0 % (41 / 41) 75.0 % (9 / 12)
removeExtObjInitPriv CBC 158 81.0 % (17 / 21) 55.6 % (10 / 18)
restrict_and_check_grant GNC 40000 84.9 % (62 / 73) 58.1 % (43 / 74)
string_to_privilege CBC 11244 97.1 % (33 / 34) 91.2 % (31 / 34)

Generated by: LCOV version 2.5.0-beta