LCOV - differential code coverage report
Current view: top level - src/bin/psql - common.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 75.6 % 1006 761 245 1 760 1
Current Date: 2025-12-17 08:58:58 +0900 Functions: 92.7 % 41 38 3 1 37
Baseline: lcov-20251217-005640-baseline Branches: 64.3 % 790 508 282 1 507
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 90.5 % 147 133 14 133
(360..) days: 73.1 % 858 627 231 627
Function coverage date bins:
(30,360] days: 75.0 % 4 3 1 3
(360..) days: 94.6 % 37 35 2 1 34
Branch coverage date bins:
(30,360] days: 73.8 % 130 96 34 1 95
(360..) days: 62.4 % 660 412 248 412

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 42 43.6 % (48 / 110) 34.3 % (48 / 140)
SendQuery CBC 187633 73.6 % (78 / 106) 70.6 % (48 / 68)
expand_tilde CBC 93 20.0 % (4 / 20) 25.0 % (4 / 16)
CheckConnection CBC 208717 31.8 % (7 / 22) 37.5 % (3 / 8)
PrintTiming CBC 2 22.2 % (4 / 18) 16.7 % (1 / 6)
psql_get_variable CBC 1976 61.8 % (21 / 34) 61.1 % (11 / 18)
PSQLexec CBC 21624 40.0 % (8 / 20) 30.0 % (3 / 10)
PrintQueryResult CBC 165781 69.4 % (25 / 36) 84.4 % (27 / 32)
skip_white_space CBC 54 52.2 % (12 / 23) 30.8 % (8 / 26)
DescribeQuery CBC 43 83.3 % (40 / 48) 65.4 % (17 / 26)
ExecQueryAndProcessResults CBC 187600 96.8 % (239 / 247) 77.5 % (186 / 240)
session_username UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
pipelineReset UBC 0 0.0 % (0 / 6)
ClearOrSaveAllResults UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
PrintQueryStatus GNC 165199 80.0 % (16 / 20) 83.3 % (15 / 18)
discardAbortedPipelineResults CBC 54 81.0 % (17 / 21) 70.8 % (17 / 24)
PSQLexecWatch CBC 10 75.0 % (9 / 12) 50.0 % (2 / 4)
ExecQueryTuples CBC 23 90.5 % (19 / 21) 81.2 % (13 / 16)
PrintQueryTuples CBC 70439 77.8 % (7 / 9) 83.3 % (5 / 6)
get_conninfo_value CBC 17438 87.5 % (14 / 16) 66.7 % (8 / 12)
is_superuser CBC 67 71.4 % (5 / 7) 50.0 % (3 / 6)
openQueryOutputFile CBC 8571 85.7 % (12 / 14) 75.0 % (6 / 8)
psql_cancel_callback CBC 1 66.7 % (4 / 6) 50.0 % (1 / 2)
setQFout CBC 8555 83.3 % (10 / 12) 60.0 % (6 / 10)
uri_prefix_length CBC 17 66.7 % (4 / 6) 50.0 % (2 / 4)
AcceptResult CBC 209772 95.0 % (19 / 20) 81.8 % (9 / 11)
SetupGOutput CBC 70951 85.7 % (6 / 7) 87.5 % (7 / 8)
standard_strings CBC 386118 85.7 % (6 / 7) 66.7 % (4 / 6)
ClearOrSaveResult CBC 188320 100.0 % (11 / 11) 100.0 % (4 / 4)
CloseGOutput CBC 186959 100.0 % (7 / 7) 100.0 % (4 / 4)
ConnectionUp CBC 208717 100.0 % (2 / 2)
HandleCopyResult CBC 757 100.0 % (17 / 17) 85.7 % (12 / 14)
NoticeProcessor CBC 11201 100.0 % (3 / 3)
PrintNotifications CBC 187621 100.0 % (10 / 10) 100.0 % (4 / 4)
SetPipelineVariables CBC 187588 100.0 % (8 / 8)
SetResultVariables CBC 187000 100.0 % (16 / 16) 100.0 % (8 / 8)
SetShellResultVariables CBC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
StoreQueryTuple CBC 388 100.0 % (23 / 23) 100.0 % (12 / 12)
clean_extended_state CBC 188156 100.0 % (20 / 20) 85.7 % (6 / 7)
psql_setup_cancel_handler CBC 8549 100.0 % (3 / 3)
recognized_connection_string CBC 17 100.0 % (2 / 2) 75.0 % (3 / 4)

Generated by: LCOV version 2.4-beta