LCOV - differential code coverage report
Current view: top level - src/bin/pgbench - pgbench.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 85.9 % 2837 2437 6 116 233 45 122 1358 106 851 230 1355 3 115
Current Date: 2023-04-08 15:15:32 Functions: 95.8 % 120 115 5 115 5 113 2
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
advanceConnectionState GIC 7624 81.8 % (202 / 247)
main GIC 159 92.9 % (395 / 425)
threadRun GIC 69 79.1 % (87 / 110)
evalStandardFunc GIC 3427 93.7 % (251 / 268)
discardUntilSync UIC 0 0.0 % (0 / 16)
printVersion GIC 69 58.3 % (7 / 12)
runInitSteps GIC 3 91.4 % (53 / 58)
skip_sql_comments GIC 1035 61.5 % (8 / 13)
executeStatement GIC 81 62.5 % (5 / 8)
handle_sig_alarm UIC 0 0.0 % (0 / 3)
readCommandResponse GIC 5647 95.2 % (59 / 62)
sendCommand GIC 5605 86.4 % (19 / 22)
assignVariables GIC 3333 86.7 % (13 / 15)
evaluateSleep GIC 6 88.9 % (16 / 18)
postprocess_sql_command GIC 238 89.5 % (17 / 19)
process_file GIC 110 84.6 % (11 / 13)
valueTruth GIC 432 83.3 % (10 / 12)
checkInitSteps GIC 4 88.9 % (8 / 9)
getMetaCommand GIC 467 96.6 % (28 / 29)
prepareCommand GIC 1760 94.4 % (17 / 18)
syntax_error GIC 33 93.8 % (15 / 16)
valid_variable_name GIC 991 93.8 % (15 / 16)
alloc_socket_set GIC 69 100.0 % (5 / 5)
canRetryError GIC 25 100.0 % (2 / 2)
clear_socket_set GNC 9563 100.0 % (3 / 3)
clear_socket_set GIC 9563
socket_has_input ECB 28969
coerceToBool GIC 108 100.0 % (7 / 7)
coerceToDouble GIC 104 100.0 % (9 / 9)
commandError GIC 2 100.0 % (4 / 4)
commandFailed GIC 31 100.0 % (3 / 3)
compareVariableNames GIC 53126 100.0 % (3 / 3)
create_sql_command GIC 1035 100.0 % (19 / 19)
disconnect_all GIC 137 100.0 % (4 / 4)
evalFunc GIC 3490 100.0 % (4 / 4)
findBuiltin GIC 156 100.0 % (15 / 15)
getExponentialRand GIC 3 100.0 % (7 / 7)
getFailures GIC 77 100.0 % (3 / 3)
getQueryParams GIC 2272 100.0 % (4 / 4)
getZipfianRand GIC 3 100.0 % (4 / 4)
initCreateFKeys GNC 2 100.0 % (5 / 5)
initCreateFKeys GIC 2
checkInitSteps ECB 4
initCreatePKeys GIC 3 100.0 % (13 / 13)
initCreateTables GIC 3 100.0 % (22 / 22)
initDropTables GIC 3 100.0 % (4 / 4)
initGenerateDataServerSide GIC 1 100.0 % (14 / 14)
initStats GIC 468 100.0 % (11 / 11)
initTruncateTables GIC 3 100.0 % (3 / 3)
initVacuum GIC 2 100.0 % (7 / 7)
isLazyFunc GIC 3555 100.0 % (2 / 2)
lookupCreateVariable GIC 2949 100.0 % (13 / 13)
lookupVariable GIC 7754 100.0 % (10 / 10)
parseQuery GIC 69 100.0 % (20 / 20)
parseVariable GIC 1664 100.0 % (16 / 16)
prepareCommandsInPipeline GIC 41 100.0 % (12 / 12)
processXactStats GIC 2438 100.0 % (19 / 19)
putVariableInt GIC 397 100.0 % (3 / 3)
putVariableValue GIC 2086 100.0 % (8 / 8)
setDoubleValue GIC 39 100.0 % (4 / 4)
socket_has_input GIC 28969 100.0 % (5 / 5)
usage GIC 1 100.0 % (3 / 3)
CheckConditional ECB 227
ConditionError ECB 6
GetTableInfo ECB 7
ParseScript ECB 262
accumStats ECB 3538
addScript ECB 229
addToSimpleStats ECB 4131
add_socket_to_set ECB 24655
chooseScript ECB 2473
coerceToInt ECB 6568
computeIterativeZipfian ECB 3
createPartitions ECB 2
doConnect ECB 275
doLog ECB 110
doRetry ECB 2
enlargeVariables ECB 988
evalLazyFunc ECB 65
evaluateExpr ECB 9069
executeMetaCommand ECB 2270
free_command ECB 28
free_socket_set ECB 69
getGaussianRand ECB 3
getHashFnv1a ECB 1
getHashMurmur2 ECB 5
getResultString EUB 0
getSQLErrorStatus ECB 9
getTransactionStatus ECB 2431
getVariable ECB 2616
getrand ECB 2617
initGenerateDataClientSide ECB 2
initRandomState ECB 308
initSimpleStats ECB 1772
is_an_int ECB 422
listAvailableScripts ECB 3
makeVariableValue ECB 1915
mergeSimpleStats ECB 138
parseScriptWeight ECB 121
permute ECB 45
pg_time_now ECB 6227
pg_time_now_lazy ECB 5222
printProgressReport EUB 0
printResults ECB 68
printSimpleStats ECB 11
printVerboseErrorMessages ECB 2
process_backslash_command ECB 467
process_builtin ECB 153
putVariable ECB 863
read_file_contents ECB 109
replaceVariable ECB 1217
runShellCommand ECB 6
setBoolValue ECB 134
setIntValue ECB 4014
setNullValue ECB 4
set_random_seed ECB 161
setalarm EUB 0
strtodouble ECB 66
strtoint64 ECB 1213
tryExecuteStatement ECB 27
valueTypeName ECB 4
wait_on_socket_set ECB 4768

Generated by: LCOV version v1.16-55-g56c0a2a