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 17:13:01 Functions: 95.8 % 120 115 5 115 5 113 2
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 97.5 % 40 39 1 23 16 2 23
View type: Flat (60,120] days: 100.0 % 92 92 5 62 25 6
Legend: Lines: hit not hit (120,180] days: 0.0 % 1 0 1
(180,240] days: 42.9 % 7 3 4 3
(240..) days: 85.4 % 2697 2303 1 116 232 45 122 1330 41 810 228 1326
Function coverage date bins:
[..60] days: 50.0 % 4 2 2 2
(240..) days: 48.3 % 234 113 5 113 5 111

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
discardUntilSync EUB 0
getResultString EUB 0
handle_sig_alarm EUB 0
printProgressReport UIC 0 0.0 % (0 / 41)
setalarm UIC 0 0.0 % (0 / 4)
getHashFnv1a ECB 1
initGenerateDataServerSide GIC 1 100.0 % (14 / 14)
usage ECB 1
commandError ECB 2
createPartitions GIC 2 96.0 % (24 / 25)
doRetry ECB 2
initCreateFKeys ECB 2
initGenerateDataClientSide ECB 2
initVacuum GIC 2 100.0 % (7 / 7)
printVerboseErrorMessages GIC 2 75.0 % (12 / 16)
computeIterativeZipfian ECB 3
getExponentialRand ECB 3
getGaussianRand ECB 3
getZipfianRand ECB 3
initCreatePKeys ECB 3
initCreateTables ECB 3
initDropTables GIC 3 100.0 % (4 / 4)
initTruncateTables ECB 3
listAvailableScripts GIC 3 100.0 % (6 / 6)
runInitSteps ECB 3
checkInitSteps GIC 4 88.9 % (8 / 9)
setNullValue ECB 4
valueTypeName GIC 4 66.7 % (8 / 12)
getHashMurmur2 GIC 5 100.0 % (12 / 12)
ConditionError ECB 6
evaluateSleep GIC 6 88.9 % (16 / 18)
runShellCommand GIC 6 85.1 % (40 / 47)
GetTableInfo GIC 7 70.6 % (24 / 34)
getSQLErrorStatus GIC 9 100.0 % (7 / 7)
printSimpleStats GIC 11 100.0 % (7 / 7)
canRetryError ECB 25
tryExecuteStatement ECB 27
free_command ECB 28
commandFailed GIC 31 100.0 % (3 / 3)
syntax_error GIC 33 93.8 % (15 / 16)
setDoubleValue ECB 39
prepareCommandsInPipeline GIC 41 100.0 % (12 / 12)
permute ECB 45
evalLazyFunc ECB 65
strtodouble ECB 66
printResults ECB 68
alloc_socket_set ECB 69
free_socket_set GIC 69 100.0 % (3 / 3)
parseQuery GIC 69 100.0 % (20 / 20)
printVersion ECB 69
threadRun GIC 69 79.1 % (87 / 110)
getFailures GIC 77 100.0 % (3 / 3)
executeStatement ECB 81
coerceToDouble ECB 104
coerceToBool GIC 108 100.0 % (7 / 7)
read_file_contents GIC 109 76.9 % (10 / 13)
doLog ECB 110
process_file ECB 110
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 ECB 159
set_random_seed GIC 161 82.4 % (14 / 17)
getPoissonRand GIC 210 100.0 % (3 / 3)
CheckConditional ECB 227
addScript GIC 229 100.0 % (9 / 9)
postprocess_sql_command ECB 238
ParseScript ECB 262
doConnect ECB 275
initRandomState GIC 308 100.0 % (3 / 3)
putVariableInt GIC 397 100.0 % (3 / 3)
is_an_int GIC 422 90.9 % (10 / 11)
valueTruth ECB 432
getMetaCommand GIC 467 96.6 % (28 / 29)
process_backslash_command ECB 467
initStats ECB 468
putVariable GIC 863 100.0 % (9 / 9)
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 GIC 1213 69.4 % (25 / 36)
replaceVariable GIC 1217 100.0 % (10 / 10)
parseVariable GIC 1664 100.0 % (16 / 16)
prepareCommand GIC 1760 94.4 % (17 / 18)
initSimpleStats GIC 1772 100.0 % (3 / 3)
makeVariableValue ECB 1915
putVariableValue ECB 2086
executeMetaCommand ECB 2270
getQueryParams ECB 2272
getTransactionStatus ECB 2431
processXactStats ECB 2438
chooseScript ECB 2473
getVariable ECB 2616
getrand ECB 2617
lookupCreateVariable GIC 2949 100.0 % (13 / 13)
assignVariables ECB 3333
evalStandardFunc GIC 3427 93.7 % (251 / 268)
evalFunc ECB 3490
accumStats GIC 3538 63.6 % (14 / 22)
isLazyFunc GIC 3555 100.0 % (2 / 2)
setIntValue ECB 4014
addToSimpleStats GIC 4131 100.0 % (9 / 9)
wait_on_socket_set GIC 4768 50.0 % (3 / 6)
pg_time_now_lazy GIC 5222 100.0 % (4 / 4)
sendCommand GIC 5605 86.4 % (19 / 22)
readCommandResponse ECB 5647
pg_time_now GIC 6227 100.0 % (3 / 3)
coerceToInt GIC 6568 100.0 % (13 / 13)
advanceConnectionState GIC 7624 81.8 % (202 / 247)
lookupVariable GIC 7754 100.0 % (10 / 10)
evaluateExpr GIC 9069 88.2 % (15 / 17)
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