LCOV - code coverage report
Current view:
top level
-
src/bin/pgbench
- pgbench.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18devel
Lines:
2440
2840
85.9 %
Date:
2024-11-24 01:14:41
Functions:
120
125
96.0 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
CheckConditional
470
ConditionError
12
GetTableInfo
14
ParseScript
540
accumStats
18090
addScript
474
addToSimpleStats
19276
add_socket_to_set
94536
advanceConnectionState
36016
allocCStatePrepared
68
alloc_socket_set
152
assignVariables
16524
canRetryError
50
checkInitSteps
8
chooseScript
15470
clear_socket_set
41582
coerceToBool
216
coerceToDouble
208
coerceToInt
13232
commandError
4
commandFailed
64
compareVariableNames
106662
computeIterativeZipfian
6
createPartitions
4
create_sql_command
2126
discardUntilSync
0
disconnect_all
296
doConnect
596
doLog
220
doRetry
4
enlargeVariables
2108
evalFunc
7028
evalLazyFunc
130
evalStandardFunc
6902
evaluateExpr
18264
evaluateSleep
12
executeMetaCommand
4576
executeStatement
118
findBuiltin
312
finishCon
900
free_command
58
free_socket_set
148
getExponentialRand
6
getFailures
170
getGaussianRand
6
getHashFnv1a
2
getHashMurmur2
10
getMetaCommand
964
getPoissonRand
420
getQueryParams
5018
getResultString
0
getSQLErrorStatus
18
getTransactionStatus
15376
getVariable
5176
getZipfianRand
6
getrand
5750
handle_sig_alarm
0
initAccount
400000
initBranch
4
initCreateFKeys
4
initCreatePKeys
6
initCreateTables
6
initDropTables
6
initGenerateDataClientSide
4
initGenerateDataServerSide
2
initPopulateTable
12
initRandomState
690
initSimpleStats
3700
initStats
992
initTeller
40
initTruncateTables
6
initVacuum
4
isLazyFunc
7028
is_an_int
872
listAvailableScripts
6
lookupCreateVariable
6054
lookupVariable
15708
main
332
makeVariableValue
3874
mergeSimpleStats
296
parseQuery
148
parseScriptWeight
258
parseVariable
3318
permute
90
pg_time_now
23582
pg_time_now_lazy
21468
postprocess_sql_command
490
prepareCommand
3988
prepareCommandsInPipeline
84
printProgressReport
0
printResults
148
printSimpleStats
26
printVerboseErrorMessages
4
printVersion
152
processXactStats
15390
process_backslash_command
964
process_builtin
306
process_file
236
putVariable
1754
putVariableInt
922
putVariableValue
4300
readCommandResponse
21628
read_file_contents
234
replaceVariable
2410
runInitSteps
6
runShellCommand
12
sendCommand
21542
setBoolValue
282
setDoubleValue
78
setIntValue
8216
setNullValue
8
set_random_seed
336
setalarm
0
skip_sql_comments
2126
socket_has_input
117302
strtodouble
132
strtoint64
2460
syntax_error
66
threadRun
152
tryExecuteStatement
60
usage
2
valid_variable_name
2114
valueTruth
892
valueTypeName
8
wait_on_socket_set
16660
Generated by:
LCOV version 1.14