LCOV - code coverage report
Current view:
top level
-
src/bin/pgbench
- pgbench.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2456
2868
85.6 %
Date:
2025-08-31 20:18:56
Functions:
121
126
96.0 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
discardUntilSync
0
getResultString
0
handle_sig_alarm
0
printProgressReport
0
setalarm
0
getHashFnv1a
2
initGenerateDataServerSide
2
usage
2
commandError
4
createPartitions
4
doRetry
4
initBranch
4
initCreateFKeys
4
initGenerateDataClientSide
4
initVacuum
4
printVerboseErrorMessages
4
computeIterativeZipfian
6
getExponentialRand
6
getGaussianRand
6
getZipfianRand
6
initCreatePKeys
6
initCreateTables
6
initDropTables
6
initTruncateTables
6
listAvailableScripts
6
runInitSteps
6
checkInitSteps
8
setNullValue
8
valueTypeName
8
getHashMurmur2
10
ConditionError
12
evaluateSleep
12
get_table_relkind
12
initPopulateTable
12
runShellCommand
12
GetTableInfo
14
getSQLErrorStatus
26
printSimpleStats
30
initTeller
40
tryExecuteStatement
60
free_command
62
commandFailed
64
canRetryError
66
syntax_error
66
allocCStatePrepared
68
setDoubleValue
78
prepareCommandsInPipeline
84
permute
90
executeStatement
118
evalLazyFunc
130
strtodouble
132
free_socket_set
170
printResults
170
alloc_socket_set
174
printVersion
174
threadRun
174
parseQuery
188
getFailures
196
coerceToDouble
208
coerceToBool
216
doLog
220
read_file_contents
260
process_file
262
setBoolValue
278
parseScriptWeight
284
process_builtin
306
findBuiltin
312
disconnect_all
340
mergeSimpleStats
340
main
356
set_random_seed
360
getPoissonRand
420
CheckConditional
496
addScript
500
ParseScript
566
postprocess_sql_command
584
doConnect
640
initRandomState
778
finishCon
966
putVariableInt
1010
is_an_int
1024
valueTruth
1054
getMetaCommand
1064
process_backslash_command
1064
initStats
1084
putVariable
1906
replaceVariable
2122
enlargeVariables
2204
valid_variable_name
2210
create_sql_command
2342
skip_sql_comments
2342
strtoint64
2612
prepareCommand
4008
makeVariableValue
4016
initSimpleStats
4078
putVariableValue
4388
parseVariable
4672
executeMetaCommand
4804
getVariable
4908
getQueryParams
5078
getrand
5740
lookupCreateVariable
6294
evalStandardFunc
6878
evalFunc
7004
isLazyFunc
7004
setIntValue
8436
coerceToInt
13184
getTransactionStatus
15386
processXactStats
15400
chooseScript
15488
lookupVariable
15910
assignVariables
16258
accumStats
18100
wait_on_socket_set
18356
evaluateExpr
18378
addToSimpleStats
19286
sendCommand
21336
readCommandResponse
21426
pg_time_now_lazy
21486
pg_time_now
23758
advanceConnectionState
35456
clear_socket_set
47030
add_socket_to_set
106700
compareVariableNames
107852
socket_has_input
133046
initAccount
400000
Generated by:
LCOV version 1.16