LCOV - differential code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GNC CBC DUB DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 81.1 % 1815 1472 30 2 311 12 33 1427 6 8
Current Date: 2024-04-14 14:21:10 Functions: 94.7 % 57 54 1 2 13 41 2
Baseline: 16@8cea358b128 Branches: 63.5 % 1152 732 33 1 386 6 19 707
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 70.0 % 20 14 6 13 1
(120,180] days: 100.0 % 3 3 3
(180,240] days: 44.2 % 43 19 24 19
(240..) days: 82.1 % 1749 1436 2 311 12 1 1423
Function coverage date bins:
(180,240] days: 100.0 % 5 5 5
(240..) days: 94.2 % 52 49 1 2 8 41
Branch coverage date bins:
[..60] days: 65.0 % 20 13 7 13
(120,180] days: 75.0 % 4 3 1 3
(180,240] days: 18.8 % 32 6 26 6
(240..) days: 64.8 % 1096 710 1 385 6 704

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
aclcheck_error CBC 1306 55.3 % (119 / 215) 48.8 % (41 / 84)
restrict_and_check_grant CBC 16234 77.1 % (54 / 70) 45.2 % (33 / 73)
objectNamesToOids CBC 7518 84.4 % (76 / 90) 71.7 % (76 / 106)
ExecGrant_Relation CBC 3873 89.5 % (94 / 105) 63.8 % (51 / 80)
ExecAlterDefaultPrivilegesStmt CBC 80 81.5 % (75 / 92) 64.3 % (45 / 70)
ExecuteGrantStmt CBC 7536 91.2 % (104 / 114) 71.2 % (42 / 59)
pg_type_aclmask_ext GNC 143562 70.7 % (29 / 41) 46.9 % (15 / 32)
recordExtObjInitPriv CBC 48 70.4 % (38 / 54) 57.5 % (23 / 40)
pg_aclmask CBC 33 36.4 % (12 / 33) 23.8 % (5 / 21)
privilege_to_string GNC 12 17.6 % (6 / 34) 11.1 % (2 / 18)
SetDefaultACL CBC 98 96.9 % (95 / 98) 77.6 % (45 / 58)
pg_attribute_aclmask_ext GNC 2994 79.4 % (27 / 34) 45.8 % (11 / 24)
pg_parameter_acl_aclmask UBC 0 0.0 % (0 / 16) 0.0 % (0 / 12)
RemoveRoleFromObjectACL CBC 121 86.9 % (73 / 84) 60.7 % (17 / 28)
object_aclmask_ext GNC 1438031 86.2 % (25 / 29) 57.1 % (12 / 21)
aclcheck_error_col UBC 0 0.0 % (0 / 12) 0.0 % (0 / 8)
expand_col_privileges CBC 204 81.8 % (9 / 11) 50.0 % (8 / 16)
pg_namespace_aclmask_ext GNC 402569 82.1 % (23 / 28) 69.2 % (18 / 26)
removeExtObjInitPriv CBC 113 81.0 % (17 / 21) 55.6 % (10 / 18)
object_ownercheck CBC 189595 92.3 % (24 / 26) 56.2 % (9 / 16)
pg_attribute_aclcheck_all_ext GNC 81 85.7 % (30 / 35) 68.2 % (15 / 22)
pg_class_aclmask_ext GNC 1318020 97.7 % (43 / 44) 85.7 % (36 / 42)
string_to_privilege GNC 6772 88.9 % (32 / 36) 83.3 % (30 / 36)
ExecGrant_Largeobject CBC 37 97.6 % (40 / 41) 68.8 % (11 / 16)
ExecGrant_common CBC 3653 97.8 % (44 / 45) 72.2 % (13 / 18)
objectsInSchemaToOids CBC 15 85.0 % (34 / 40) 72.2 % (13 / 18)
pg_largeobject_aclmask_snapshot CBC 292 95.2 % (20 / 21) 58.3 % (7 / 12)
ExecGrantStmt_oids CBC 7611 87.5 % (35 / 40) 75.0 % (12 / 16)
ExecGrant_Parameter CBC 48 97.6 % (40 / 41) 77.8 % (14 / 18)
ExecGrant_Type_check GNC 70 100.0 % (10 / 10) 75.0 % (12 / 16)
expand_all_col_privileges CBC 744 94.4 % (17 / 18) 75.0 % (12 / 16)
merge_acl_with_grant CBC 16314 92.3 % (12 / 13) 83.3 % (20 / 24)
ExecGrant_Attribute CBC 8717 97.4 % (37 / 38) 75.0 % (9 / 12)
pg_parameter_aclmask CBC 80 90.0 % (18 / 20) 70.0 % (7 / 10)
get_user_default_acl CBC 34925 91.2 % (31 / 34) 87.5 % (14 / 16)
ExecGrant_Language_check CBC 21 100.0 % (5 / 5) 75.0 % (3 / 4)
SetDefaultACLsInSchemas CBC 80 100.0 % (9 / 9) 87.5 % (7 / 8)
get_default_acl_internal CBC 69850 100.0 % (9 / 9) 75.0 % (3 / 4)
has_bypassrls_privilege CBC 2242 100.0 % (9 / 9) 75.0 % (3 / 4)
has_createrole_privilege CBC 1165 100.0 % (9 / 9) 75.0 % (3 / 4)
recordExtensionInitPriv CBC 8488 100.0 % (4 / 4) 75.0 % (3 / 4)
aclcheck_error_type CBC 60 75.0 % (3 / 4) 100.0 % (2 / 2)
getRelationsInNamespace CBC 30 100.0 % (12 / 12) 100.0 % (2 / 2)
object_aclcheck_ext GNC 1438004 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_attribute_aclcheck_ext CBC 2994 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_class_aclcheck_ext CBC 1070552 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_largeobject_aclcheck_snapshot CBC 292 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_parameter_aclcheck CBC 80 100.0 % (4 / 4) 100.0 % (2 / 2)
recordDependencyOnNewAcl CBC 36274 100.0 % (5 / 5) 100.0 % (2 / 2)
recordExtensionInitPrivWorker CBC 888 100.0 % (32 / 32) 100.0 % (6 / 6)
object_aclcheck GNC 1437809 100.0 % (2 / 2)
object_aclmask GNC 27 100.0 % (2 / 2)
pg_attribute_aclcheck CBC 1769 100.0 % (2 / 2)
pg_attribute_aclcheck_all GNC 81 100.0 % (2 / 2)
pg_attribute_aclmask LBC 0 0.0 % (0 / 2)
pg_class_aclcheck CBC 1069209 100.0 % (2 / 2)
pg_class_aclmask CBC 247468 100.0 % (2 / 2)

Generated by: LCOV version 2.1-beta2-3-g6141622