LCOV - differential code coverage report
Current view: top level - src/bin/psql - common.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 75.9 % 1047 795 252 2 793 2
Current Date: 2026-10-12 11:56:10 +0200 Functions: 92.7 % 41 38 3 1 37
Baseline: lcov-20261012-baseline Branches: 64.9 % 818 531 287 531
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.3 % 63 55 8 2 53
(360..) days: 75.2 % 984 740 244 740
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: 75.0 % 44 33 11 33
(360..) days: 64.3 % 774 498 276 498

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
AcceptResult CBC 284312 95.0 % (19 / 20) 81.8 % (9 / 11)
CheckConnection CBC 282209 31.8 % (7 / 22) 37.5 % (3 / 8)
ClearOrSaveAllResults UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
ClearOrSaveResult CBC 253786 100.0 % (11 / 11) 100.0 % (4 / 4)
CloseGOutput CBC 251967 100.0 % (7 / 7) 100.0 % (4 / 4)
ConnectionUp CBC 282389 100.0 % (2 / 2)
DescribeQuery CBC 57 83.3 % (40 / 48) 65.4 % (17 / 26)
ExecQueryAndProcessResults CBC 252976 95.5 % (273 / 286) 78.6 % (209 / 266)
ExecQueryTuples CBC 29 90.5 % (19 / 21) 81.2 % (13 / 16)
HandleCopyResult CBC 1143 100.0 % (17 / 17) 78.6 % (11 / 14)
NoticeProcessor CBC 14949 100.0 % (3 / 3)
PSQLexec CBC 30755 40.0 % (8 / 20) 30.0 % (3 / 10)
PSQLexecWatch CBC 73 75.0 % (9 / 12) 50.0 % (2 / 4)
PrintNotifications CBC 252946 100.0 % (10 / 10) 100.0 % (4 / 4)
PrintQueryResult CBC 222332 69.4 % (25 / 36) 84.4 % (27 / 32)
PrintQueryStatus CBC 221696 80.0 % (16 / 20) 83.3 % (15 / 18)
PrintQueryTuples CBC 95638 77.8 % (7 / 9) 83.3 % (5 / 6)
PrintTiming CBC 2 22.2 % (4 / 18) 16.7 % (1 / 6)
SendQuery CBC 252960 73.6 % (78 / 106) 70.6 % (48 / 68)
SetPipelineVariables CBC 252960 100.0 % (8 / 8)
SetResultVariables CBC 251971 100.0 % (16 / 16) 100.0 % (8 / 8)
SetShellResultVariables CBC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
SetupGOutput CBC 96406 85.7 % (6 / 7) 87.5 % (7 / 8)
StoreQueryTuple GNC 597 100.0 % (23 / 23) 100.0 % (12 / 12)
clean_extended_state CBC 253742 100.0 % (20 / 20) 85.7 % (6 / 7)
command_no_begin CBC 56 43.6 % (48 / 110) 34.3 % (48 / 140)
discardAbortedPipelineResults CBC 108 78.3 % (18 / 23) 73.1 % (19 / 26)
expand_tilde CBC 107 20.0 % (4 / 20) 25.0 % (4 / 16)
get_conninfo_value CBC 22402 87.5 % (14 / 16) 66.7 % (8 / 12)
is_superuser CBC 70 71.4 % (5 / 7) 50.0 % (3 / 6)
openQueryOutputFile CBC 11007 85.7 % (12 / 14) 75.0 % (6 / 8)
pipelineReset UBC 0 0.0 % (0 / 6)
psql_cancel_callback CBC 1 66.7 % (4 / 6) 50.0 % (1 / 2)
psql_get_variable CBC 2940 61.8 % (21 / 34) 61.1 % (11 / 18)
psql_setup_cancel_handler CBC 10979 100.0 % (3 / 3)
recognized_connection_string CBC 17 100.0 % (2 / 2) 75.0 % (3 / 4)
session_username UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
setQFout CBC 10987 83.3 % (10 / 12) 60.0 % (6 / 10)
skip_white_space CBC 72 52.2 % (12 / 23) 30.8 % (8 / 26)
standard_strings CBC 522882 71.4 % (5 / 7) 50.0 % (3 / 6)
uri_prefix_length CBC 17 66.7 % (4 / 6) 50.0 % (2 / 4)

Generated by: LCOV version 2.0-1