LCOV - differential code coverage report
Current view: top level - src/backend/catalog - pg_subscription.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 95.7 % 233 223 4 6 37 186 1 5
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 13 13 6 7 2
Baseline: lcov-20251028-005825-baseline Branches: 67.9 % 106 72 15 19 23 49
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 85.7 % 21 18 3 18
(7,30] days: 100.0 % 1 1 1
(30,360] days: 96.2 % 26 25 1 18 7
(360..) days: 96.8 % 185 179 6 179
Function coverage date bins:
(1,7] days: 100.0 % 1 1 1
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 10 10 3 7
Branch coverage date bins:
(1,7] days: 64.7 % 34 22 12 22
(30,360] days: 50.0 % 10 5 3 2 1 4
(360..) days: 72.6 % 62 45 17 45

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
UpdateDeadTupleRetentionStatus GNC 2 93.8 % (15 / 16) 25.0 % (1 / 4)
DisableSubscription CBC 4 93.8 % (15 / 16) 25.0 % (1 / 4)
CountDBSubscriptions CBC 44 90.0 % (9 / 10) 50.0 % (1 / 2)
FreeSubscription CBC 45 100.0 % (8 / 8) 50.0 % (1 / 2)
AddSubscriptionRelState GNC 205 95.5 % (21 / 22) 62.5 % (5 / 8)
HasSubscriptionTables GNC 248 100.0 % (14 / 14) 100.0 % (6 / 6)
GetPublicationsStr CBC 506 100.0 % (14 / 14) 83.3 % (10 / 12)
UpdateSubscriptionRelState CBC 743 95.8 % (23 / 24) 58.3 % (7 / 12)
textarray_to_stringlist CBC 802 87.5 % (7 / 8) 75.0 % (3 / 4)
GetSubscription GNC 861 97.4 % (38 / 39) 62.5 % (5 / 8)
GetSubscriptionRelations GNC 1038 96.6 % (28 / 29) 73.1 % (19 / 26)
GetSubscriptionRelState CBC 1212 100.0 % (15 / 15) 100.0 % (4 / 4)
RemoveSubscriptionRel GNC 22624 88.9 % (16 / 18) 64.3 % (9 / 14)

Generated by: LCOV version 2.4-beta