LCOV - code coverage report
Current view: top level - src/backend/utils/adt - jsonpath_exec.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 91.9 % 1755 1612
Test Date: 2026-07-03 19:57:34 Functions: 95.5 % 88 84
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 76.3 % 1241 947

Function Name Sort by function name Hit count Sort by function hit count
CountJsonPathVars 4204
GetJsonPathVar 1740
GetJsonTableExecContext 4860
JsonItemFromDatum 1728
JsonPathExists 388
JsonPathQuery 1640
JsonPathValue 1508
JsonTableDestroyOpaque 352
JsonTableFetchRow 1036
JsonTableGetValue 3124
JsonTableInitOpaque 352
JsonTableInitPlan 688
JsonTablePlanJoinNextRow 612
JsonTablePlanNextRow 2800
JsonTablePlanScanNextRow 2188
JsonTableResetNestedPlan 408
JsonTableResetRowPattern 668
JsonTableSetDocument 348
JsonValueListAppend 185436
JsonValueListClear 161497
JsonValueListHasMultipleItems 2732
JsonValueListHead 71706
JsonValueListInit 236241
JsonValueListInitIterator 140862
JsonValueListIsEmpty 7518
JsonValueListIsSingleton 66476
JsonValueListNext 222873
JsonbArraySize 381
JsonbInitBinary 132521
JsonbType 191210
JsonbValueInitNumericDatum 1660
appendBoolResult 68139
binaryCompareStrings 2304
castTimeToTimeTz 168
checkTimezoneIsUsedForCast 900
cmpDateToTimestamp 124
cmpDateToTimestampTz 108
cmpTimestampToTimestampTz 168
compareDatetime 2416
compareItems 14593
compareNumeric 2749
compareStrings 2304
copyJsonbValue 1248
countVariablesFromJsonb 128855
executeAnyItem 2593
executeBinaryArithmExpr 444
executeBoolItem 119187
executeComparison 14593
executeDateTimeMethod 5662
executeItem 398469
executeItemOptUnwrapResult 133326
executeItemOptUnwrapResultNoThrow 132294
executeItemOptUnwrapTarget 404173
executeItemUnwrapTargetArray 2141
executeJsonPath 133059
executeKeyValueMethod 58
executeLikeRegex 264
executeNestedBoolItem 15126
executeNextItem 294265
executeNumericItemMethod 172
executePredicate 39887
executeStartsWith 128
executeStringInternalMethod 486
executeUnaryArithmExpr 148
getArrayIndex 362
getJsonPathItem 40705
getJsonPathVariable 5276
getJsonPathVariableFromJsonb 3536
getScalar 8067
jsonb_path_exists 43
jsonb_path_exists_internal 57475
jsonb_path_exists_opr 57432
jsonb_path_exists_tz 0
jsonb_path_match 97
jsonb_path_match_internal 65299
jsonb_path_match_opr 65202
jsonb_path_match_tz 0
jsonb_path_query 4428
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 5432
jsonb_path_query_tz 1004
setBaseObject 146385
wrapItemsInArray 330

Generated by: LCOV version 2.0-1