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.0 % 1795 1652
Test Date: 2026-08-11 21:16:03 Functions: 95.5 % 88 84
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 76.8 % 1265 972

Function Name Sort by function name Hit count Sort by function hit count
CountJsonPathVars 5860
GetJsonPathVar 1740
GetJsonTableExecContext 7552
JsonItemFromDatum 1728
JsonPathExists 388
JsonPathQuery 1784
JsonPathValue 2556
JsonTableDestroyOpaque 416
JsonTableFetchRow 1580
JsonTableGetValue 5144
JsonTableInitOpaque 416
JsonTableInitPlan 912
JsonTablePlanNextRow 4552
JsonTablePlanScanNextRow 2880
JsonTableRescan 2764
JsonTableResetNestedPlan 1110
JsonTableResetRowPattern 1132
JsonTableSetDocument 412
JsonValueListAppend 187176
JsonValueListClear 162097
JsonValueListHasMultipleItems 3860
JsonValueListHead 72834
JsonValueListInit 237657
JsonValueListInitIterator 142838
JsonValueListIsEmpty 8854
JsonValueListIsSingleton 66476
JsonValueListNext 223889
JsonbArraySize 381
JsonbInitBinary 133429
JsonbType 192410
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 2232
countVariablesFromJsonb 128855
executeAnyItem 2897
executeBinaryArithmExpr 444
executeBoolItem 119187
executeComparison 14593
executeDateTimeMethod 5662
executeItem 401325
executeItemOptUnwrapResult 133326
executeItemOptUnwrapResultNoThrow 132294
executeItemOptUnwrapTarget 407029
executeItemUnwrapTargetArray 2445
executeJsonPath 134715
executeKeyValueMethod 58
executeLikeRegex 264
executeNestedBoolItem 15126
executeNextItem 296617
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 148041
wrapItemsInArray 330

Generated by: LCOV version 2.0-1