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

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