LCOV - differential code coverage report
Current view: top level - src/backend/catalog - index.c (source / functions) Coverage Total Hit UNC UBC GIC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 93.2 % 1218 1135 83 1 9 1125 10
Current Date: 2026-03-14 14:10:32 -0400 Functions: 97.4 % 38 37 1 6 31
Baseline: lcov-20260315-024220-baseline Branches: 65.8 % 831 547 4 280 4 543 4 4
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 8 8 8
(360..) days: 93.1 % 1209 1126 83 1 1125
Function coverage date bins:
(360..) days: 97.4 % 38 37 1 6 31
Branch coverage date bins:
(30,360] days: 50.0 % 8 4 4 4
(360..) days: 66.0 % 823 543 280 543

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
ReindexIsProcessingHeap UBC 0 0.0 % (0 / 2)
BuildDummyIndexInfo CBC 115 93.8 % (15 / 16) 41.7 % (5 / 12)
index_concurrently_swap CBC 278 94.5 % (104 / 110) 55.3 % (21 / 38)
index_concurrently_create_copy GNC 284 95.2 % (59 / 62) 61.5 % (16 / 26)
index_concurrently_set_dead CBC 342 100.0 % (9 / 9)
CompareIndexInfo CBC 359 87.2 % (41 / 47) 76.9 % (40 / 52)
validate_index CBC 361 100.0 % (37 / 37) 50.0 % (1 / 2)
index_concurrently_build CBC 373 100.0 % (19 / 19) 50.0 % (2 / 4)
IndexCheckExclusion GNC 385 100.0 % (26 / 26) 83.3 % (10 / 12)
ReindexIsCurrentlyProcessingIndex CBC 385 100.0 % (2 / 2)
EstimateReindexStateSpace CBC 502 100.0 % (2 / 2)
SerializeReindexState CBC 502 88.9 % (8 / 9) 33.3 % (2 / 6)
index_set_state_flags CBC 850 97.1 % (33 / 34) 51.9 % (14 / 27)
BuildSpeculativeIndexInfo GNC 923 95.0 % (19 / 20) 50.0 % (4 / 8)
SetReindexPending CBC 1109 75.0 % (6 / 8) 25.0 % (2 / 8)
RestoreReindexState CBC 1491 78.6 % (11 / 14) 50.0 % (2 / 4)
RemoveReindexPending CBC 3989 80.0 % (4 / 5) 25.0 % (1 / 4)
SetReindexProcessing CBC 3989 88.9 % (8 / 9) 37.5 % (3 / 8)
reindex_index CBC 4009 87.8 % (86 / 98) 66.7 % (52 / 78)
ResetReindexProcessing CBC 4016 100.0 % (4 / 4)
relationHasPrimaryKey CBC 4328 92.9 % (13 / 14) 75.0 % (9 / 12)
reindex_relation GNC 4621 85.7 % (36 / 42) 70.6 % (24 / 34)
index_check_primary_key CBC 7765 80.0 % (16 / 20) 57.1 % (16 / 28)
index_constraint_create CBC 10699 92.3 % (72 / 78) 58.0 % (29 / 50)
index_drop CBC 12730 96.6 % (57 / 59) 64.7 % (22 / 34)
AppendAttributeTuples CBC 24921 100.0 % (18 / 18) 100.0 % (8 / 8)
InitializeAttributeOids CBC 24921 100.0 % (5 / 5) 100.0 % (2 / 2)
UpdateIndexRelation CBC 24921 100.0 % (49 / 49) 100.0 % (10 / 10)
ConstructTupleDescriptor GNC 24924 91.4 % (74 / 81) 48.3 % (29 / 60)
index_create CBC 24945 93.4 % (142 / 152) 72.6 % (122 / 168)
index_build GNC 27689 97.9 % (47 / 48) 67.5 % (27 / 40)
ResetReindexState CBC 31445 100.0 % (7 / 7) 100.0 % (2 / 2)
IndexGetRelation CBC 31557 90.9 % (10 / 11) 50.0 % (4 / 8)
index_update_stats CBC 56944 98.0 % (50 / 51) 90.9 % (40 / 44)
validate_index_callback CBC 151900 100.0 % (6 / 6)
BuildIndexInfo CBC 1903637 94.4 % (17 / 18) 71.4 % (10 / 14)
FormIndexDatum CBC 14732603 87.0 % (20 / 23) 58.3 % (14 / 24)
ReindexIsProcessingIndex CBC 22674887 100.0 % (3 / 3) 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta