LCOV - differential code coverage report
Current view: top level - src/bin/psql - common.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 76.1 % 1059 806 1 252 8 798 1 9
Current Date: 2026-11-28 16:48:44 +0900 Functions: 92.9 % 42 39 3 5 34
Baseline: lcov-20261128-baseline Branches: 64.7 % 828 536 13 279 15 521
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 50.0 % 2 1 1 1
(7,30] days: 85.7 % 7 6 1 6
(30,360] days: 89.2 % 74 66 8 2 64
(360..) days: 75.1 % 976 733 243 733
Function coverage date bins:
(30,360] days: 100.0 % 2 2 1 1
(360..) days: 92.5 % 40 37 3 4 33
Branch coverage date bins:
(1,7] days: 75.0 % 4 3 1 3
(7,30] days: 53.6 % 28 15 13 15
(30,360] days: 72.0 % 50 36 14 36
(360..) days: 64.6 % 746 482 264 482

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
command_no_begin CBC 56 43.8 % (49 / 112) 35.4 % (51 / 144)
SendQuery GNC 262691 73.6 % (78 / 106) 70.6 % (48 / 68)
expand_tilde CBC 107 20.0 % (4 / 20) 25.0 % (4 / 16)
CheckConnection CBC 292905 31.8 % (7 / 22) 37.5 % (3 / 8)
PrintTiming CBC 2 22.2 % (4 / 18) 16.7 % (1 / 6)
ExecQueryAndProcessResults GNC 262713 95.5 % (273 / 286) 78.6 % (209 / 266)
psql_get_variable CBC 2987 61.8 % (21 / 34) 61.1 % (11 / 18)
PSQLexec CBC 30759 40.0 % (8 / 20) 30.0 % (3 / 10)
PrintQueryResult CBC 231098 69.4 % (25 / 36) 84.4 % (27 / 32)
skip_white_space CBC 72 52.2 % (12 / 23) 30.8 % (8 / 26)
DescribeQuery CBC 57 83.3 % (40 / 48) 65.4 % (17 / 26)
session_username UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
pipelineReset UBC 0 0.0 % (0 / 6)
discardAbortedPipelineResults CBC 108 78.3 % (18 / 23) 73.1 % (19 / 26)
ClearOrSaveAllResults UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
PrintQueryStatus CBC 230461 80.0 % (16 / 20) 83.3 % (15 / 18)
PSQLexecWatch CBC 79 75.0 % (9 / 12) 50.0 % (2 / 4)
ExecQueryTuples GNC 29 90.5 % (19 / 21) 81.2 % (13 / 16)
PrintQueryTuples CBC 97790 77.8 % (7 / 9) 83.3 % (5 / 6)
get_conninfo_value CBC 11654 87.5 % (14 / 16) 58.3 % (7 / 12)
is_superuser CBC 70 71.4 % (5 / 7) 50.0 % (3 / 6)
openQueryOutputFile CBC 11440 85.7 % (12 / 14) 75.0 % (6 / 8)
psql_cancel_callback GNC 1 60.0 % (3 / 5) 50.0 % (1 / 2)
setQFout CBC 11420 83.3 % (10 / 12) 60.0 % (6 / 10)
standard_strings CBC 546583 71.4 % (5 / 7) 50.0 % (3 / 6)
uri_prefix_length CBC 27 66.7 % (4 / 6) 50.0 % (2 / 4)
AcceptResult CBC 294058 95.0 % (19 / 20) 81.8 % (9 / 11)
SetupGOutput CBC 98571 85.7 % (6 / 7) 87.5 % (7 / 8)
ClearOrSaveResult CBC 263526 100.0 % (11 / 11) 100.0 % (4 / 4)
CloseGOutput CBC 261702 100.0 % (7 / 7) 100.0 % (4 / 4)
ConnectionUp CBC 293085 100.0 % (2 / 2)
HandleCopyResult CBC 1183 100.0 % (17 / 17) 78.6 % (11 / 14)
NoticeProcessor CBC 15305 100.0 % (3 / 3)
PrintNotifications CBC 262675 100.0 % (10 / 10) 100.0 % (4 / 4)
SetPipelineVariables CBC 262695 100.0 % (8 / 8)
SetResultVariables CBC 261700 100.0 % (16 / 16) 100.0 % (8 / 8)
SetShellResultVariables CBC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
StoreQueryTuple GNC 610 100.0 % (23 / 23) 100.0 % (12 / 12)
addQueryComment CBC 31595 100.0 % (11 / 11) 50.0 % (3 / 6)
clean_extended_state CBC 263487 100.0 % (20 / 20) 85.7 % (6 / 7)
psql_setup_cancel_handler CBC 11414 100.0 % (3 / 3)
recognized_connection_string CBC 27 100.0 % (2 / 2) 75.0 % (3 / 4)

Generated by: LCOV version 2.0-1