LCOV - differential code coverage report
Current view: top level - src/bin/psql - common.c (source / functions) Coverage Total Hit LBC UBC GBC GNC CBC DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 75.5 % 1006 760 1 245 1 759 1
Current Date: 2026-03-14 14:10:32 -0400 Functions: 92.7 % 41 38 3 1 37
Baseline: lcov-20260315-024220-baseline Branches: 64.3 % 790 508 1 281 1 507
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: 80.8 % 26 21 5 1 20
(360..) days: 75.4 % 980 739 1 240 739
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 92.5 % 40 37 3 1 36
Branch coverage date bins:
(30,360] days: 65.0 % 20 13 7 1 12
(360..) days: 64.3 % 770 495 1 274 495

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
ClearOrSaveAllResults UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
pipelineReset UBC 0 0.0 % (0 / 6)
session_username UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
psql_cancel_callback CBC 1 66.7 % (4 / 6) 50.0 % (1 / 2)
PrintTiming CBC 2 22.2 % (4 / 18) 16.7 % (1 / 6)
SetShellResultVariables CBC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
ExecQueryTuples CBC 23 90.5 % (19 / 21) 81.2 % (13 / 16)
recognized_connection_string CBC 23 100.0 % (2 / 2) 75.0 % (3 / 4)
uri_prefix_length CBC 23 66.7 % (4 / 6) 50.0 % (2 / 4)
command_no_begin CBC 42 43.6 % (48 / 110) 34.3 % (48 / 140)
DescribeQuery CBC 43 83.3 % (40 / 48) 65.4 % (17 / 26)
discardAbortedPipelineResults CBC 54 81.0 % (17 / 21) 70.8 % (17 / 24)
skip_white_space CBC 54 52.2 % (12 / 23) 30.8 % (8 / 26)
is_superuser CBC 67 71.4 % (5 / 7) 50.0 % (3 / 6)
expand_tilde CBC 94 20.0 % (4 / 20) 25.0 % (4 / 16)
PSQLexecWatch CBC 100 75.0 % (9 / 12) 50.0 % (2 / 4)
StoreQueryTuple CBC 418 100.0 % (23 / 23) 100.0 % (12 / 12)
HandleCopyResult CBC 782 100.0 % (17 / 17) 85.7 % (12 / 14)
psql_get_variable CBC 2092 61.8 % (21 / 34) 61.1 % (11 / 18)
psql_setup_cancel_handler CBC 9645 100.0 % (3 / 3)
setQFout CBC 9647 83.3 % (10 / 12) 60.0 % (6 / 10)
openQueryOutputFile CBC 9663 85.7 % (12 / 14) 75.0 % (6 / 8)
NoticeProcessor CBC 11757 100.0 % (3 / 3)
get_conninfo_value CBC 19656 87.5 % (14 / 16) 66.7 % (8 / 12)
PSQLexec CBC 23365 40.0 % (8 / 20) 30.0 % (3 / 10)
PrintQueryTuples CBC 73085 77.8 % (7 / 9) 83.3 % (5 / 6)
SetupGOutput CBC 73627 85.7 % (6 / 7) 87.5 % (7 / 8)
PrintQueryStatus GNC 169762 80.0 % (16 / 20) 83.3 % (15 / 18)
PrintQueryResult CBC 170425 69.4 % (25 / 36) 84.4 % (27 / 32)
SetResultVariables CBC 191886 100.0 % (16 / 16) 100.0 % (8 / 8)
CloseGOutput CBC 191933 100.0 % (7 / 7) 100.0 % (4 / 4)
PrintNotifications CBC 192507 100.0 % (10 / 10) 100.0 % (4 / 4)
SendQuery CBC 192521 73.6 % (78 / 106) 70.6 % (48 / 68)
SetPipelineVariables CBC 192562 100.0 % (8 / 8)
ExecQueryAndProcessResults CBC 192578 96.8 % (239 / 247) 77.9 % (187 / 240)
clean_extended_state CBC 193043 100.0 % (20 / 20) 85.7 % (6 / 7)
ClearOrSaveResult CBC 193335 100.0 % (11 / 11) 100.0 % (4 / 4)
CheckConnection CBC 214051 31.8 % (7 / 22) 37.5 % (3 / 8)
ConnectionUp CBC 214051 100.0 % (2 / 2)
AcceptResult CBC 216532 95.0 % (19 / 20) 81.8 % (9 / 11)
standard_strings CBC 398832 71.4 % (5 / 7) 50.0 % (3 / 6)

Generated by: LCOV version 2.4-beta