LCOV - differential code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 82.7 % 1863 1541 1 321 17 1524 1 11
Current Date: 2026-03-14 14:10:32 -0400 Functions: 94.9 % 59 56 1 2 11 45
Baseline: lcov-20260315-024220-baseline Branches: 64.5 % 1128 727 20 381 32 695 20 20
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 7 7 7
(30,360] days: 96.4 % 28 27 1 10 17
(360..) days: 82.4 % 1828 1507 321 1507
Function coverage date bins:
(360..) days: 94.9 % 59 56 1 2 11 45
Branch coverage date bins:
(7,30] days: 100.0 % 14 14 14
(30,360] days: 52.2 % 46 24 20 2 18 6
(360..) days: 64.5 % 1068 689 379 689

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 103 82.3 % (79 / 96) 64.8 % (46 / 71)
ExecGrantStmt_oids CBC 10986 95.0 % (38 / 40) 81.2 % (13 / 16)
ExecGrant_Attribute CBC 25954 97.4 % (37 / 38) 75.0 % (9 / 12)
ExecGrant_Language_check CBC 21 100.0 % (5 / 5) 75.0 % (3 / 4)
ExecGrant_Largeobject CBC 45 97.6 % (40 / 41) 68.8 % (11 / 16)
ExecGrant_Parameter CBC 48 97.6 % (40 / 41) 77.8 % (14 / 18)
ExecGrant_Relation CBC 9737 90.7 % (97 / 107) 66.2 % (53 / 80)
ExecGrant_Type_check CBC 69 100.0 % (7 / 7) 70.0 % (7 / 10)
ExecGrant_common CBC 1156 97.8 % (45 / 46) 72.2 % (13 / 18)
ExecuteGrantStmt GNC 10907 94.7 % (108 / 114) 72.9 % (43 / 59)
RemoveRoleFromInitPriv CBC 14 85.0 % (34 / 40) 42.9 % (6 / 14)
RemoveRoleFromObjectACL CBC 131 87.4 % (76 / 87) 62.1 % (18 / 29)
ReplaceRoleInInitPriv CBC 12 86.7 % (26 / 30) 50.0 % (4 / 8)
SetDefaultACL CBC 124 97.1 % (102 / 105) 77.6 % (52 / 67)
SetDefaultACLsInSchemas CBC 103 100.0 % (9 / 9) 87.5 % (7 / 8)
aclcheck_error CBC 1413 55.8 % (121 / 217) 48.8 % (41 / 84)
aclcheck_error_col UBC 0 0.0 % (0 / 12) 0.0 % (0 / 8)
aclcheck_error_type CBC 60 75.0 % (3 / 4) 100.0 % (2 / 2)
expand_all_col_privileges CBC 3315 94.4 % (17 / 18) 75.0 % (12 / 16)
expand_col_privileges CBC 228 81.8 % (9 / 11) 50.0 % (8 / 16)
getRelationsInNamespace CBC 30 100.0 % (12 / 12) 100.0 % (2 / 2)
get_default_acl_internal CBC 88014 100.0 % (9 / 9) 75.0 % (3 / 4)
get_user_default_acl CBC 44007 91.9 % (34 / 37) 88.2 % (15 / 17)
has_bypassrls_privilege CBC 2730 100.0 % (9 / 9) 75.0 % (3 / 4)
has_createrole_privilege CBC 1267 100.0 % (9 / 9) 75.0 % (3 / 4)
merge_acl_with_grant CBC 36962 92.3 % (12 / 13) 83.3 % (20 / 24)
objectNamesToOids CBC 10889 100.0 % (35 / 35) 84.2 % (32 / 38)
object_aclcheck CBC 2132465 100.0 % (2 / 2)
object_aclcheck_ext CBC 2132679 100.0 % (4 / 4) 100.0 % (2 / 2)
object_aclmask CBC 27 100.0 % (2 / 2)
object_aclmask_ext GNC 2132706 86.2 % (25 / 29) 57.1 % (12 / 21)
object_ownercheck GNC 138157 92.3 % (24 / 26) 56.2 % (9 / 16)
objectsInSchemaToOids CBC 15 85.0 % (34 / 40) 72.2 % (13 / 18)
pg_aclmask CBC 36 36.4 % (12 / 33) 23.8 % (5 / 21)
pg_attribute_aclcheck CBC 2115 100.0 % (2 / 2)
pg_attribute_aclcheck_all CBC 109 100.0 % (2 / 2)
pg_attribute_aclcheck_all_ext GNC 109 88.6 % (31 / 35) 68.2 % (15 / 22)
pg_attribute_aclcheck_ext CBC 4382 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_attribute_aclmask UBC 0 0.0 % (0 / 2)
pg_attribute_aclmask_ext GNC 4382 79.4 % (27 / 34) 45.8 % (11 / 24)
pg_class_aclcheck CBC 1283459 100.0 % (2 / 2)
pg_class_aclcheck_ext CBC 1285784 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_class_aclmask CBC 728010 100.0 % (2 / 2)
pg_class_aclmask_ext GNC 2013794 97.7 % (43 / 44) 85.7 % (36 / 42)
pg_largeobject_aclcheck_snapshot CBC 477 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_largeobject_aclmask_snapshot GNC 477 96.3 % (26 / 27) 79.2 % (19 / 24)
pg_namespace_aclmask_ext GNC 517891 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 175539 70.7 % (29 / 41) 46.9 % (15 / 32)
privilege_to_string CBC 12 17.6 % (6 / 34) 11.1 % (2 / 18)
recordDependencyOnNewAcl CBC 45834 100.0 % (5 / 5) 100.0 % (2 / 2)
recordExtObjInitPriv CBC 52 70.9 % (39 / 55) 57.5 % (23 / 40)
recordExtensionInitPriv CBC 12276 100.0 % (4 / 4) 75.0 % (3 / 4)
recordExtensionInitPrivWorker CBC 1533 100.0 % (41 / 41) 75.0 % (9 / 12)
removeExtObjInitPriv CBC 158 81.0 % (17 / 21) 55.6 % (10 / 18)
restrict_and_check_grant CBC 36848 84.3 % (59 / 70) 50.7 % (37 / 73)
string_to_privilege CBC 9806 97.1 % (33 / 34) 91.2 % (31 / 34)

Generated by: LCOV version 2.4-beta