LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonpath_exec.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GNC CBC EUB ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 91.9 % 1783 1639 19 125 292 1347 1 3 191
Current Date: 2026-06-29 16:15:13 +0200 Functions: 95.5 % 88 84 4 37 47 8
Baseline: lcov-20260630-baseline Branches: 75.5 % 1311 990 30 1 290 1 119 870 8 2
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 93.9 % 310 291 19 291 1
(360..) days: 91.5 % 1473 1348 125 1 1347
Function coverage date bins:
(30,360] days: 100.0 % 10 10 10
(360..) days: 94.9 % 78 74 4 27 47
Branch coverage date bins:
(30,360] days: 79.9 % 149 119 30 119
(360..) days: 74.3 % 1172 871 1 290 1 870 8 2

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
executeItemOptUnwrapTarget GNC 404113 96.7 % (384 / 397) 80.1 % (342 / 427)
executeDateTimeMethod GNC 5662 90.5 % (171 / 189) 62.1 % (90 / 145)
executeStringInternalMethod GNC 486 87.7 % (71 / 81) 66.7 % (50 / 75)
compareDatetime CBC 2416 84.3 % (70 / 83) 55.8 % (24 / 43)
compareStrings CBC 2304 22.2 % (4 / 18) 11.1 % (2 / 18)
JsonItemFromDatum GNC 1728 46.3 % (25 / 54) 33.3 % (6 / 18)
JsonPathValue GNC 1506 90.3 % (28 / 31) 73.7 % (28 / 38)
executeUnaryArithmExpr GNC 148 87.5 % (28 / 32) 73.1 % (19 / 26)
GetJsonTableExecContext CBC 4850 71.4 % (5 / 7) 25.0 % (2 / 8)
JsonPathQuery GNC 1640 96.7 % (29 / 30) 82.4 % (28 / 34)
compareItems CBC 14593 92.9 % (52 / 56) 83.3 % (30 / 36)
executeBoolItem GNC 119187 94.9 % (56 / 59) 81.8 % (27 / 33)
executeKeyValueMethod GNC 58 98.0 % (49 / 50) 78.6 % (22 / 28)
executeBinaryArithmExpr GNC 444 85.0 % (34 / 40) 82.1 % (23 / 28)
executeItemUnwrapTargetArray CBC 2139 60.0 % (3 / 5) 16.7 % (1 / 6)
JsonTableInitOpaque GNC 350 100.0 % (25 / 25) 77.8 % (14 / 18)
JsonbType CBC 191181 90.9 % (10 / 11) 60.0 % (6 / 10)
executeNumericItemMethod GNC 172 81.8 % (9 / 11) 71.4 % (10 / 14)
getJsonPathVariable CBC 5276 100.0 % (10 / 10) 60.0 % (6 / 10)
JsonTablePlanNextRow CBC 2792 83.3 % (5 / 6) 50.0 % (3 / 6)
JsonTableResetNestedPlan CBC 406 100.0 % (10 / 10) 62.5 % (5 / 8)
executeAnyItem GNC 2591 97.1 % (34 / 35) 92.9 % (39 / 42)
getArrayIndex GNC 362 88.2 % (15 / 17) 81.2 % (13 / 16)
getJsonPathItem CBC 40705 91.3 % (21 / 23) 62.5 % (5 / 8)
GetJsonPathVar GNC 1740 90.9 % (20 / 22) 85.7 % (12 / 14)
JsonbArraySize CBC 381 100.0 % (7 / 7) 75.0 % (6 / 8)
jsonb_path_match_internal GNC 65299 100.0 % (22 / 22) 87.5 % (14 / 16)
JsonPathExists CBC 388 100.0 % (6 / 6) 87.5 % (7 / 8)
JsonTableInitPlan GNC 684 100.0 % (21 / 21) 90.0 % (9 / 10)
JsonTableResetRowPattern CBC 664 100.0 % (17 / 17) 75.0 % (3 / 4)
JsonValueListClear GNC 161493 100.0 % (9 / 9) 75.0 % (3 / 4)
JsonValueListNext GNC 222845 100.0 % (10 / 10) 87.5 % (7 / 8)
checkTimezoneIsUsedForCast CBC 900 100.0 % (4 / 4) 75.0 % (3 / 4)
countVariablesFromJsonb CBC 128830 100.0 % (5 / 5) 83.3 % (5 / 6)
executeItemOptUnwrapResult GNC 133326 100.0 % (16 / 16) 91.7 % (11 / 12)
executeJsonPath GNC 133028 100.0 % (27 / 27) 91.7 % (11 / 12)
executeLikeRegex CBC 264 100.0 % (11 / 11) 83.3 % (5 / 6)
executeNextItem GNC 294232 91.7 % (11 / 12) 87.5 % (7 / 8)
executeStartsWith CBC 128 90.9 % (10 / 11) 87.5 % (7 / 8)
getScalar CBC 8067 100.0 % (3 / 3) 83.3 % (5 / 6)
jsonb_path_exists_internal CBC 57470 100.0 % (15 / 15) 87.5 % (7 / 8)
JsonTableGetValue CBC 3122 100.0 % (20 / 20) 100.0 % (4 / 4)
JsonTablePlanJoinNextRow CBC 612 100.0 % (5 / 5) 100.0 % (4 / 4)
JsonTablePlanScanNextRow GNC 2180 100.0 % (18 / 18) 100.0 % (10 / 10)
appendBoolResult GNC 68139 100.0 % (8 / 8) 100.0 % (6 / 6)
binaryCompareStrings CBC 2304 100.0 % (7 / 7) 100.0 % (6 / 6)
executePredicate GNC 39887 100.0 % (43 / 43) 100.0 % (28 / 28)
getJsonPathVariableFromJsonb CBC 3536 100.0 % (12 / 12) 100.0 % (2 / 2)
jsonb_path_query_first_internal GNC 2923 100.0 % (11 / 11) 100.0 % (2 / 2)
jsonb_path_query_internal GNC 5412 100.0 % (22 / 22) 100.0 % (4 / 4)
setBaseObject CBC 146354 100.0 % (5 / 5) 100.0 % (2 / 2)
CountJsonPathVars CBC 4198 100.0 % (3 / 3)
JsonTableDestroyOpaque CBC 350 100.0 % (5 / 5)
JsonTableFetchRow CBC 1032 100.0 % (3 / 3)
JsonTableSetDocument CBC 346 100.0 % (4 / 4)
JsonValueListHasMultipleItems GNC 2730 100.0 % (2 / 2)
JsonValueListInit GNC 236215 100.0 % (6 / 6)
JsonValueListInitIterator GNC 140838 100.0 % (4 / 4)
JsonValueListIsSingleton GNC 66476 100.0 % (2 / 2)
JsonbInitBinary CBC 132515 100.0 % (5 / 5)
JsonbValueInitNumericDatum CBC 1660 100.0 % (4 / 4)
castTimeToTimeTz CBC 168 100.0 % (3 / 3)
cmpDateToTimestamp CBC 124 100.0 % (2 / 2)
cmpDateToTimestampTz CBC 108 100.0 % (3 / 3)
cmpTimestampToTimestampTz CBC 168 100.0 % (3 / 3)
compareNumeric CBC 2749 100.0 % (2 / 2)
copyJsonbValue GNC 1246 100.0 % (4 / 4)
executeComparison CBC 14593 100.0 % (3 / 3)
executeItem CBC 398409 100.0 % (2 / 2)
executeItemOptUnwrapResultNoThrow CBC 132294 100.0 % (6 / 6)
executeNestedBoolItem CBC 15126 100.0 % (6 / 6)
jsonb_path_exists CBC 43 100.0 % (2 / 2)
jsonb_path_exists_opr CBC 57427 100.0 % (2 / 2)
jsonb_path_exists_tz UBC 0 0.0 % (0 / 2)
jsonb_path_match CBC 97 100.0 % (2 / 2)
jsonb_path_match_opr CBC 65202 100.0 % (2 / 2)
jsonb_path_match_tz UBC 0 0.0 % (0 / 2)
jsonb_path_query CBC 4408 100.0 % (2 / 2)
jsonb_path_query_array CBC 82 100.0 % (2 / 2)
jsonb_path_query_array_internal GNC 82 100.0 % (9 / 9)
jsonb_path_query_array_tz UBC 0 0.0 % (0 / 2)
jsonb_path_query_first CBC 2923 100.0 % (2 / 2)
jsonb_path_query_first_tz UBC 0 0.0 % (0 / 2)
jsonb_path_query_tz CBC 1004 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1