LCOV - code coverage report
Current view: top level - src/backend/utils/adt - jsonpath_exec.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 92.4 % 1810 1673
Test Date: 2026-11-23 11:16:06 Functions: 95.5 % 88 84
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.1 % 1268 977

Function Name Sort by function name Hit count Sort by function hit count
CountJsonPathVars 6308
GetJsonPathVar 1940
GetJsonTableExecContext 7952
JsonItemFromDatum 1928
JsonPathExists 424
JsonPathQuery 1880
JsonPathValue 2804
JsonTableDestroyOpaque 472
JsonTableFetchRow 1696
JsonTableGetValue 5316
JsonTableInitOpaque 472
JsonTableInitPlan 980
JsonTablePlanNextRow 4704
JsonTablePlanScanNextRow 3020
JsonTableRescan 2856
JsonTableResetNestedPlan 1122
JsonTableResetRowPattern 1200
JsonTableSetDocument 468
JsonValueListAppend 268992
JsonValueListClear 272985
JsonValueListHasMultipleItems 4156
JsonValueListHead 93374
JsonValueListInit 369221
JsonValueListInitIterator 228954
JsonValueListIsEmpty 9294
JsonValueListIsSingleton 86740
JsonValueListNext 344733
JsonbArraySize 381
JsonbInitBinary 153873
JsonbType 263018
JsonbValueInitNumericDatum 1744
appendBoolResult 88387
binaryCompareStrings 2304
castTimeToTimeTz 168
checkTimezoneIsUsedForCast 900
cmpDateToTimestamp 124
cmpDateToTimestampTz 108
cmpTimestampToTimestampTz 168
compareDatetime 2416
compareItems 17449
compareNumeric 2857
compareStrings 2304
copyJsonbValue 2432
countVariablesFromJsonb 149195
executeAnyItem 2937
executeBinaryArithmExpr 452
executeBoolItem 171171
executeComparison 17449
executeDateTimeMethod 5746
executeItem 517517
executeItemOptUnwrapResult 188734
executeItemOptUnwrapResultNoThrow 187686
executeItemOptUnwrapTarget 523285
executeItemUnwrapTargetArray 2485
executeJsonPath 155503
executeKeyValueMethod 58
executeLikeRegex 264
executeNestedBoolItem 15222
executeNextItem 387877
executeNumericItemMethod 172
executePredicate 67583
executeStartsWith 128
executeStringInternalMethod 486
executeUnaryArithmExpr 148
getArrayIndex 362
getJsonPathItem 68521
getJsonPathVariable 5476
getJsonPathVariableFromJsonb 3536
getScalar 8167
jsonb_path_exists 43
jsonb_path_exists_internal 57483
jsonb_path_exists_opr 57440
jsonb_path_exists_tz 0
jsonb_path_match 97
jsonb_path_match_internal 85547
jsonb_path_match_opr 85450
jsonb_path_match_tz 0
jsonb_path_query 4592
jsonb_path_query_array 82
jsonb_path_query_array_internal 82
jsonb_path_query_array_tz 0
jsonb_path_query_first 2923
jsonb_path_query_first_internal 2923
jsonb_path_query_first_tz 0
jsonb_path_query_internal 5596
jsonb_path_query_tz 1004
setBaseObject 176269
wrapItemsInArray 330

Generated by: LCOV version 2.0-1