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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 95.0 % 238 226 7 5 55 171 2 20
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 12 12 7 5 4
Baseline: lcov-20260530-034037-baseline Branches: 70.5 % 112 79 17 16 35 44 6 8
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 89.9 % 69 62 7 55 7
(360..) days: 97.0 % 169 164 5 164
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 100.0 % 8 8 3 5
Branch coverage date bins:
(30,360] days: 67.2 % 58 39 17 2 35 4
(360..) days: 74.1 % 54 40 14 40

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
RemoveSubscriptionRel GNC 33619 88.9 % (16 / 18) 64.3 % (9 / 14)
UpdateSubscriptionRelState GNC 820 95.8 % (23 / 24) 58.3 % (7 / 12)
GetSubscriptionRelations GNC 1209 93.1 % (27 / 29) 84.6 % (22 / 26)
AddSubscriptionRelState GNC 228 95.5 % (21 / 22) 62.5 % (5 / 8)
DisableSubscription CBC 4 93.8 % (15 / 16) 25.0 % (1 / 4)
UpdateDeadTupleRetentionStatus GNC 2 93.8 % (15 / 16) 25.0 % (1 / 4)
GetPublicationsStr CBC 543 100.0 % (14 / 14) 83.3 % (10 / 12)
CountDBSubscriptions CBC 50 90.0 % (9 / 10) 50.0 % (1 / 2)
textarray_to_stringlist CBC 940 87.5 % (7 / 8) 75.0 % (3 / 4)
GetSubscriptionRelState CBC 1285 100.0 % (15 / 15) 100.0 % (4 / 4)
HasSubscriptionTables GNC 283 100.0 % (14 / 14) 100.0 % (6 / 6)

Generated by: LCOV version 2.5.0-beta