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-10-24 16:15:56 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 12518
ExecGrant_Attribute 29211
ExecGrant_Language_check 27
ExecGrant_Largeobject 58
ExecGrant_Parameter 48
ExecGrant_Relation 10966
ExecGrant_Type_check 100
ExecGrant_common 1446
ExecuteGrantStmt 12419
RemoveRoleFromInitPriv 14
RemoveRoleFromObjectACL 164
ReplaceRoleInInitPriv 12
SetDefaultACL 163
SetDefaultACLsInSchemas 135
aclcheck_error 1954
aclcheck_error_col 0
aclcheck_error_type 136
expand_all_col_privileges 3614
expand_col_privileges 329
getRelationsInNamespace 41
get_default_acl_internal 108412
get_user_default_acl 54206
has_bypassrls_privilege 3604
has_createrole_privilege 1693
merge_acl_with_grant 41723
objectNamesToOids 12398
object_aclcheck 3284978
object_aclcheck_ext 3285264
object_aclmask 36
object_aclmask_ext 3285300
object_ownercheck 275860
objectsInSchemaToOids 21
pg_aclmask 48
pg_attribute_aclcheck 3002
pg_attribute_aclcheck_all 170
pg_attribute_aclcheck_all_ext 170
pg_attribute_aclcheck_ext 6021
pg_attribute_aclmask 0
pg_attribute_aclmask_ext 6021
pg_class_aclcheck 1656697
pg_class_aclcheck_ext 1688773
pg_class_aclmask 1005394
pg_class_aclmask_ext 2694167
pg_largeobject_aclcheck_snapshot 590
pg_largeobject_aclmask_snapshot 590
pg_namespace_aclmask_ext 1227015
pg_parameter_acl_aclmask 0
pg_parameter_aclcheck 80
pg_parameter_aclmask 80
pg_type_aclmask_ext 219278
privilege_to_string 16
recordDependencyOnNewAcl 56664
recordExtObjInitPriv 55
recordExtensionInitPriv 14241
recordExtensionInitPrivWorker 1788
removeExtObjInitPriv 182
restrict_and_check_grant 41578
string_to_privilege 11193

Generated by: LCOV version 2.0-1