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

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