LCOV - code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 83.0 % 1894 1572
Test Date: 2026-08-15 19:15:47 Functions: 94.9 % 59 56
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.6 % 1131 742

Function Name Sort by function name Hit count Sort by function hit count
ExecAlterDefaultPrivilegesStmt 135
ExecGrantStmt_oids 12788
ExecGrant_Attribute 28171
ExecGrant_Language_check 27
ExecGrant_Largeobject 58
ExecGrant_Parameter 49
ExecGrant_Relation 11223
ExecGrant_Type_check 104
ExecGrant_common 1458
ExecuteGrantStmt 12697
RemoveRoleFromInitPriv 14
RemoveRoleFromObjectACL 160
ReplaceRoleInInitPriv 12
SetDefaultACL 163
SetDefaultACLsInSchemas 135
aclcheck_error 1991
aclcheck_error_col 0
aclcheck_error_type 136
expand_all_col_privileges 3484
expand_col_privileges 319
getRelationsInNamespace 41
get_default_acl_internal 111564
get_user_default_acl 55782
has_bypassrls_privilege 3862
has_createrole_privilege 1749
merge_acl_with_grant 40945
objectNamesToOids 12676
object_aclcheck 2119087
object_aclcheck_ext 2119372
object_aclmask 36
object_aclmask_ext 2119408
object_ownercheck 287240
objectsInSchemaToOids 21
pg_aclmask 48
pg_attribute_aclcheck 2957
pg_attribute_aclcheck_all 162
pg_attribute_aclcheck_all_ext 162
pg_attribute_aclcheck_ext 391121
pg_attribute_aclmask 0
pg_attribute_aclmask_ext 391121
pg_class_aclcheck 1670431
pg_class_aclcheck_ext 2082857
pg_class_aclmask 396023
pg_class_aclmask_ext 2478880
pg_largeobject_aclcheck_snapshot 590
pg_largeobject_aclmask_snapshot 590
pg_namespace_aclmask_ext 645718
pg_parameter_acl_aclmask 0
pg_parameter_aclcheck 80
pg_parameter_aclmask 80
pg_type_aclmask_ext 224995
privilege_to_string 20
recordDependencyOnNewAcl 58374
recordExtObjInitPriv 53
recordExtensionInitPriv 14451
recordExtensionInitPrivWorker 1786
removeExtObjInitPriv 180
restrict_and_check_grant 40800
string_to_privilege 11469

Generated by: LCOV version 2.0-1