LCOV - code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 82.8 % 1886 1561
Test Date: 2026-07-03 19:57:34 Functions: 94.9 % 59 56
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.4 % 1125 736

Function Name Sort by function name Hit count Sort by function hit count
aclcheck_error_col 0
pg_attribute_aclmask 0
pg_parameter_acl_aclmask 0
ReplaceRoleInInitPriv 12
RemoveRoleFromInitPriv 14
privilege_to_string 20
objectsInSchemaToOids 21
ExecGrant_Language_check 27
object_aclmask 36
getRelationsInNamespace 41
ExecGrant_Parameter 48
pg_aclmask 48
recordExtObjInitPriv 53
ExecGrant_Largeobject 58
aclcheck_error_type 80
pg_parameter_aclcheck 80
pg_parameter_aclmask 80
ExecGrant_Type_check 92
ExecAlterDefaultPrivilegesStmt 135
SetDefaultACLsInSchemas 135
removeExtObjInitPriv 158
RemoveRoleFromObjectACL 160
pg_attribute_aclcheck_all 162
pg_attribute_aclcheck_all_ext 162
SetDefaultACL 163
expand_col_privileges 319
pg_largeobject_aclcheck_snapshot 590
pg_largeobject_aclmask_snapshot 590
ExecGrant_common 1405
recordExtensionInitPrivWorker 1529
has_createrole_privilege 1724
aclcheck_error 1932
pg_attribute_aclcheck 2957
expand_all_col_privileges 3495
has_bypassrls_privilege 3798
ExecGrant_Relation 11225
string_to_privilege 11428
objectNamesToOids 12624
ExecuteGrantStmt 12645
ExecGrantStmt_oids 12736
recordExtensionInitPriv 14403
ExecGrant_Attribute 28237
restrict_and_check_grant 40818
merge_acl_with_grant 40963
get_user_default_acl 55179
recordDependencyOnNewAcl 57735
get_default_acl_internal 110358
pg_type_aclmask_ext 214153
object_ownercheck 284548
pg_class_aclmask 387341
pg_attribute_aclcheck_ext 391122
pg_attribute_aclmask_ext 391122
pg_namespace_aclmask_ext 635007
pg_class_aclcheck 1613268
pg_class_aclcheck_ext 1996984
object_aclcheck 2076017
object_aclcheck_ext 2076302
object_aclmask_ext 2076338
pg_class_aclmask_ext 2384325

Generated by: LCOV version 2.0-1