LCOV - code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 83.2 % 1857 1545
Test Date: 2026-11-24 20:16:11 Functions: 94.9 % 59 56
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.5 % 1110 727

Function Name Sort by function name Hit count Sort by function hit count
ExecAlterDefaultPrivilegesStmt 135
ExecGrantStmt_oids 12657
ExecGrant_Attribute 29387
ExecGrant_Language_check 41
ExecGrant_Largeobject 58
ExecGrant_Parameter 49
ExecGrant_Relation 11002
ExecGrant_Type_check 100
ExecGrant_common 1548
ExecuteGrantStmt 12557
RemoveRoleFromInitPriv 14
RemoveRoleFromObjectACL 165
ReplaceRoleInInitPriv 12
SetDefaultACL 163
SetDefaultACLsInSchemas 135
aclcheck_error 1973
aclcheck_error_col 0
aclcheck_error_type 140
expand_all_col_privileges 3584
expand_col_privileges 331
getRelationsInNamespace 41
get_default_acl_internal 113796
get_user_default_acl 56898
has_bypassrls_privilege 3734
has_createrole_privilege 1724
merge_acl_with_grant 42038
objectNamesToOids 12536
object_aclcheck 3378211
object_aclcheck_ext 3378512
object_aclmask 36
object_aclmask_ext 3378548
object_ownercheck 287515
objectsInSchemaToOids 21
pg_aclmask 48
pg_attribute_aclcheck 3002
pg_attribute_aclcheck_all 170
pg_attribute_aclcheck_all_ext 170
pg_attribute_aclcheck_ext 5908
pg_attribute_aclmask 0
pg_attribute_aclmask_ext 5908
pg_class_aclcheck 1760263
pg_class_aclcheck_ext 1792539
pg_class_aclmask 1019140
pg_class_aclmask_ext 2811679
pg_largeobject_aclcheck_snapshot 590
pg_largeobject_aclmask_snapshot 590
pg_namespace_aclmask_ext 1245041
pg_parameter_acl_aclmask 0
pg_parameter_aclcheck 84
pg_parameter_aclmask 84
pg_type_aclmask_ext 230558
privilege_to_string 16
recordDependencyOnNewAcl 59615
recordExtObjInitPriv 55
recordExtensionInitPriv 14428
recordExtensionInitPrivWorker 1849
removeExtObjInitPriv 183
restrict_and_check_grant 41893
string_to_privilege 11256

Generated by: LCOV version 2.0-1