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 % 1796 1653
Test Date: 2026-10-29 00:16:02 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 5868
GetJsonPathVar 1748
GetJsonTableExecContext 7552
JsonItemFromDatum 1736
JsonPathExists 388
JsonPathQuery 1784
JsonPathValue 2564
JsonTableDestroyOpaque 416
JsonTableFetchRow 1580
JsonTableGetValue 5144
JsonTableInitOpaque 416
JsonTableInitPlan 912
JsonTablePlanNextRow 4552
JsonTablePlanScanNextRow 2880
JsonTableRescan 2764
JsonTableResetNestedPlan 1110
JsonTableResetRowPattern 1132
JsonTableSetDocument 412
JsonValueListAppend 268172
JsonValueListClear 272517
JsonValueListHasMultipleItems 3868
JsonValueListHead 93090
JsonValueListInit 368333
JsonValueListInitIterator 228414
JsonValueListIsEmpty 8866
JsonValueListIsSingleton 86724
JsonValueListNext 343809
JsonbArraySize 381
JsonbInitBinary 153669
JsonbType 262510
JsonbValueInitNumericDatum 1660
appendBoolResult 88387
binaryCompareStrings 2304
castTimeToTimeTz 168
checkTimezoneIsUsedForCast 900
cmpDateToTimestamp 124
cmpDateToTimestampTz 108
cmpTimestampToTimestampTz 168
compareDatetime 2416
compareItems 17361
compareNumeric 2773
compareStrings 2304
copyJsonbValue 2240
countVariablesFromJsonb 149111
executeAnyItem 2897
executeBinaryArithmExpr 444
executeBoolItem 171083
executeComparison 17361
executeDateTimeMethod 5662
executeItem 516549
executeItemOptUnwrapResult 188542
executeItemOptUnwrapResultNoThrow 187510
executeItemOptUnwrapTarget 522253
executeItemUnwrapTargetArray 2445
executeJsonPath 154979
executeKeyValueMethod 58
executeLikeRegex 264
executeNestedBoolItem 15134
executeNextItem 387001
executeNumericItemMethod 172
executePredicate 67495
executeStartsWith 128
executeStringInternalMethod 486
executeUnaryArithmExpr 148
getArrayIndex 362
getJsonPathItem 68321
getJsonPathVariable 5284
getJsonPathVariableFromJsonb 3536
getScalar 8067
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 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 175657
wrapItemsInArray 330

Generated by: LCOV version 2.0-1