LCOV - code coverage report
Current view: top level - src/interfaces/libpq - fe-exec.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 61.8 % 1638 1013
Test Date: 2026-10-29 00:16:02 Functions: 82.4 % 119 98
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 53.0 % 1186 629

Function Name Sort by function name Hit count Sort by function hit count
PQbinaryTuples 645
PQclear 3354998
PQclosePortal 1
PQclosePrepared 1
PQcmdStatus 451052
PQcmdTuples 226815
PQconsumeInput 558876
PQcopyResult 3164
PQdescribePortal 1
PQdescribePrepared 80
PQendcopy 213
PQenterPipelineMode 298
PQescapeBytea 0
PQescapeByteaConn 0
PQescapeByteaInternal 0
PQescapeIdentifier 184
PQescapeInternal 1113
PQescapeLiteral 929
PQescapeString 64
PQescapeStringConn 6332
PQescapeStringInternal 6396
PQexec 98066
PQexecFinish 105431
PQexecParams 1593
PQexecPrepared 3635
PQexecStart 105444
PQexitPipelineMode 284
PQfformat 7447
PQflush 133514
PQfmod 256
PQfn 0
PQfname 189146
PQfnumber 250324
PQfreeNotify 0
PQfreemem 2671559
PQfsize 160
PQftable 0
PQftablecol 0
PQftype 2684556
PQgetCopyData 2900032
PQgetResult 976403
PQgetisnull 3513241
PQgetlength 22770
PQgetline 0
PQgetlineAsync 0
PQgetvalue 18441256
PQisBusy 154537
PQisnonblocking 2
PQisthreadsafe 0
PQmakeEmptyPGresult 2236075
PQnfields 210635
PQnfn 1343
PQnotifies 272590
PQnparams 0
PQntuples 243499
PQoidStatus 0
PQoidValue 130372
PQparamtype 0
PQpipelineSync 296
PQprepare 2067
PQputCopyData 327348
PQputCopyEnd 1159
PQputline 200028
PQputnbytes 200028
PQresStatus 22
PQresultAlloc 3164
PQresultErrorField 1603124
PQresultErrorMessage 215755
PQresultMemorySize 0
PQresultStatus 1668732
PQresultVerboseErrorMessage 3
PQsendClosePortal 1
PQsendClosePrepared 26
PQsendDescribePortal 1
PQsendDescribePrepared 1
PQsendFlushRequest 52
PQsendPipelineSync 101
PQsendPrepare 2315
PQsendQuery 397815
PQsendQueryContinue 0
PQsendQueryGuts 11798
PQsendQueryInternal 397815
PQsendQueryParams 3785
PQsendQueryPrepared 8014
PQsendQueryStart 412041
PQsendTypedCommand 112
PQsetChunkedRowsMode 70
PQsetResultAttrs 3164
PQsetSingleRowMode 35
PQsetnonblocking 5
PQsetvalue 0
PQunescapeBytea 0
canChangeResultMode 105
check_field_number 2881565
check_param_number 0
check_tuple_field_number 21977267
dupEvents 0
getCopyResult 7070
get_hex 0
parseInput 2210600
pqAddTuple 3911911
pqAllocCmdQueueEntry 412431
pqAppendCmdQueueEntry 412431
pqClearAsyncResult 509284
pqCommandQueueAdvance 857891
pqInternalNotice 0
pqPipelineFlush 14378
pqPipelineProcessQueue 2888
pqPipelineSyncInternal 397
pqPrepareAsyncResult 444967
pqRecycleCmdQueueEntry 411015
pqResultAlloc 25245525
pqResultStrdup 670806
pqRowProcessor 3911911
pqSaveErrorResult 71
pqSaveMessageField 1894169
pqSaveParameterStatus 251628
pqSaveWriteError 4
pqSetResultError 32235

Generated by: LCOV version 2.0-1