LCOV - differential code coverage report
Current view: top level - contrib/pg_walinspect - pg_walinspect.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 90.3 % 329 297 32 4 293 4
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 23 23 3 20
Baseline: lcov-20260315-024220-baseline Branches: 62.7 % 166 104 2 60 2 102 2 2
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 5 5 4 1
(360..) days: 90.1 % 324 292 32 292
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 22 22 3 19
Branch coverage date bins:
(30,360] days: 50.0 % 4 2 2 2
(360..) days: 63.0 % 162 102 60 102

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
GetWALBlockInfo GNC 15 91.5 % (75 / 82) 63.6 % (28 / 44)
GetXLogSummaryStats CBC 3 67.4 % (31 / 46) 68.2 % (15 / 22)
InitXLogReaderState GNC 21 83.3 % (10 / 12) 41.7 % (5 / 12)
ReadNextXLogRecord CBC 34375 70.0 % (7 / 10) 30.0 % (3 / 10)
pg_get_wal_record_info CBC 4 88.9 % (16 / 18) 41.7 % (5 / 12)
FillXLogStatsRow CBC 66 96.0 % (24 / 25) 50.0 % (5 / 10)
GetCurrentLSN GNC 30 83.3 % (5 / 6) 50.0 % (2 / 4)
GetWALRecordInfo CBC 34325 96.6 % (28 / 29) 80.0 % (8 / 10)
GetWALRecordsInfo CBC 9 100.0 % (20 / 20) 75.0 % (6 / 8)
GetWalStats CBC 4 100.0 % (16 / 16) 75.0 % (6 / 8)
ValidateInputLSNs CBC 22 100.0 % (9 / 9) 80.0 % (8 / 10)
pg_get_wal_block_info CBC 7 100.0 % (21 / 21) 87.5 % (7 / 8)
pg_get_wal_records_info_till_end_of_wal CBC 2 100.0 % (7 / 7) 75.0 % (3 / 4)
pg_get_wal_stats_till_end_of_wal CBC 2 100.0 % (8 / 8) 75.0 % (3 / 4)
Pg_magic_func CBC 8 100.0 % (1 / 1)
pg_finfo_pg_get_wal_block_info CBC 6 100.0 % (1 / 1)
pg_finfo_pg_get_wal_record_info CBC 6 100.0 % (1 / 1)
pg_finfo_pg_get_wal_records_info CBC 9 100.0 % (1 / 1)
pg_finfo_pg_get_wal_records_info_till_end_of_wal CBC 6 100.0 % (1 / 1)
pg_finfo_pg_get_wal_stats CBC 6 100.0 % (1 / 1)
pg_finfo_pg_get_wal_stats_till_end_of_wal CBC 6 100.0 % (1 / 1)
pg_get_wal_records_info CBC 10 100.0 % (6 / 6)
pg_get_wal_stats CBC 5 100.0 % (7 / 7)

Generated by: LCOV version 2.4-beta