LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonpath_exec.c (source / functions) Coverage Total Hit UNC UIC UBC GIC GNC CBC ECB DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 91.9 % 1783 1639 19 125 292 1347 1 3 191
Current Date: 2026-05-29 21:51:00 -0400 Functions: 95.5 % 88 84 4 37 47 8
Baseline: lcov-20260530-034037-baseline Branches: 75.5 % 1311 990 30 1 290 32 119 839 21 121
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 6 6 6
(30,360] days: 93.8 % 304 285 19 285 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:
(7,30] days: 83.3 % 12 10 2 10
(30,360] days: 79.6 % 137 109 28 109
(360..) days: 75.0 % 1162 871 1 290 32 839

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)
JsonValueListAppend GNC 185430 100.0 % (16 / 16) 100.0 % (2 / 2)
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)
JsonValueListIsEmpty GNC 7516 100.0 % (2 / 2)
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.5.0-beta