LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonpath_exec.c (source / functions) Coverage Total Hit UBC GNC CBC EUB ECB DCB
Current: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 92.3 % 1670 1542 128 40 1502 37
Current Date: 2025-12-17 08:58:58 +0900 Functions: 95.3 % 86 82 4 12 70
Baseline: lcov-20251217-005640-baseline Branches: 76.5 % 1249 955 294 20 935 8 2
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 13 13 13
(7,30] days: 100.0 % 6 6 6
(30,360] days: 100.0 % 21 21 21
(360..) days: 92.1 % 1630 1502 128 1502
Function coverage date bins:
(360..) days: 95.3 % 86 82 4 12 70
Branch coverage date bins:
(1,7] days: 100.0 % 6 6 6
(30,360] days: 100.0 % 14 14 14
(360..) days: 75.5 % 1239 935 294 935 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
CountJsonPathVars CBC 3150 100.0 % (3 / 3)
GetJsonPathVar GNC 1305 90.9 % (20 / 22) 85.7 % (12 / 14)
GetJsonTableExecContext CBC 3640 71.4 % (5 / 7) 25.0 % (2 / 8)
JsonItemFromDatum GNC 1296 46.3 % (25 / 54) 33.3 % (6 / 18)
JsonPathExists CBC 291 100.0 % (6 / 6) 87.5 % (7 / 8)
JsonPathQuery CBC 1230 96.9 % (31 / 32) 83.3 % (30 / 36)
JsonPathValue CBC 1130 90.6 % (29 / 32) 73.7 % (28 / 38)
JsonTableDestroyOpaque CBC 263 100.0 % (5 / 5)
JsonTableFetchRow CBC 775 100.0 % (3 / 3)
JsonTableGetValue CBC 2342 100.0 % (20 / 20) 100.0 % (4 / 4)
JsonTableInitOpaque GNC 263 100.0 % (25 / 25) 77.8 % (14 / 18)
JsonTableInitPlan GNC 514 100.0 % (20 / 20) 90.0 % (9 / 10)
JsonTablePlanJoinNextRow CBC 459 100.0 % (5 / 5) 100.0 % (4 / 4)
JsonTablePlanNextRow CBC 2096 83.3 % (5 / 6) 50.0 % (3 / 6)
JsonTablePlanScanNextRow CBC 1637 100.0 % (18 / 18) 100.0 % (10 / 10)
JsonTableResetNestedPlan CBC 305 100.0 % (10 / 10) 62.5 % (5 / 8)
JsonTableResetRowPattern CBC 499 100.0 % (17 / 17) 75.0 % (3 / 4)
JsonTableSetDocument CBC 260 100.0 % (4 / 4)
JsonValueListAppend CBC 138441 100.0 % (8 / 8) 100.0 % (4 / 4)
JsonValueListClear CBC 508 100.0 % (4 / 4)
JsonValueListGetList CBC 1368 100.0 % (4 / 4) 100.0 % (2 / 2)
JsonValueListHead CBC 53957 100.0 % (2 / 2) 100.0 % (2 / 2)
JsonValueListInitIterator CBC 103690 100.0 % (13 / 13) 100.0 % (4 / 4)
JsonValueListIsEmpty CBC 15 100.0 % (2 / 2) 75.0 % (3 / 4)
JsonValueListLength CBC 54317 100.0 % (2 / 2) 100.0 % (2 / 2)
JsonValueListNext CBC 163037 100.0 % (7 / 7) 100.0 % (2 / 2)
JsonbArraySize CBC 273 100.0 % (7 / 7) 75.0 % (6 / 8)
JsonbInitBinary CBC 99165 100.0 % (5 / 5)
JsonbType CBC 142558 90.9 % (10 / 11) 60.0 % (6 / 10)
JsonbValueInitNumericDatum CBC 1245 100.0 % (4 / 4)
appendBoolResult CBC 51087 100.0 % (8 / 8) 100.0 % (6 / 6)
binaryCompareStrings CBC 1728 100.0 % (7 / 7) 100.0 % (6 / 6)
castTimeToTimeTz CBC 126 100.0 % (3 / 3)
checkTimezoneIsUsedForCast CBC 675 100.0 % (4 / 4) 75.0 % (3 / 4)
cmpDateToTimestamp CBC 93 100.0 % (2 / 2)
cmpDateToTimestampTz CBC 81 100.0 % (3 / 3)
cmpTimestampToTimestampTz CBC 126 100.0 % (3 / 3)
compareDatetime CBC 1812 84.3 % (70 / 83) 55.8 % (24 / 43)
compareItems CBC 10845 92.9 % (52 / 56) 83.3 % (30 / 36)
compareNumeric CBC 1968 100.0 % (2 / 2)
compareStrings CBC 1728 22.2 % (4 / 18) 11.1 % (2 / 18)
copyJsonbValue GNC 61204 100.0 % (4 / 4)
countVariablesFromJsonb CBC 96243 100.0 % (5 / 5) 83.3 % (5 / 6)
executeAnyItem CBC 1820 97.1 % (34 / 35) 92.9 % (39 / 42)
executeBinaryArithmExpr GNC 327 93.1 % (27 / 29) 82.1 % (23 / 28)
executeBoolItem CBC 89277 94.7 % (54 / 57) 81.8 % (27 / 33)
executeComparison CBC 10845 100.0 % (3 / 3)
executeDateTimeMethod GNC 4242 90.5 % (172 / 190) 62.6 % (92 / 147)
executeItem CBC 297640 100.0 % (2 / 2)
executeItemOptUnwrapResult CBC 99777 100.0 % (14 / 14) 91.7 % (11 / 12)
executeItemOptUnwrapResultNoThrow CBC 99033 100.0 % (6 / 6)
executeItemOptUnwrapTarget GNC 301732 96.8 % (392 / 405) 80.2 % (345 / 430)
executeItemUnwrapTargetArray CBC 1511 60.0 % (3 / 5) 16.7 % (1 / 6)
executeJsonPath CBC 99393 100.0 % (25 / 25) 91.7 % (11 / 12)
executeKeyValueMethod GNC 42 98.0 % (49 / 50) 78.6 % (22 / 28)
executeLikeRegex CBC 198 100.0 % (11 / 11) 83.3 % (5 / 6)
executeNestedBoolItem CBC 11274 100.0 % (6 / 6)
executeNextItem CBC 219686 91.7 % (11 / 12) 90.0 % (9 / 10)
executeNumericItemMethod GNC 129 83.3 % (10 / 12) 71.4 % (10 / 14)
executePredicate CBC 29823 100.0 % (37 / 37) 100.0 % (28 / 28)
executeStartsWith CBC 87 90.9 % (10 / 11) 87.5 % (7 / 8)
executeUnaryArithmExpr CBC 93 88.9 % (24 / 27) 73.1 % (19 / 26)
getArrayIndex GNC 258 92.9 % (13 / 14) 81.2 % (13 / 16)
getJsonPathItem CBC 30432 91.3 % (21 / 23) 62.5 % (5 / 8)
getJsonPathVariable CBC 3930 100.0 % (10 / 10) 60.0 % (6 / 10)
getJsonPathVariableFromJsonb CBC 2625 100.0 % (12 / 12) 100.0 % (2 / 2)
getScalar CBC 5625 100.0 % (3 / 3) 83.3 % (5 / 6)
jsonb_path_exists CBC 27 100.0 % (2 / 2)
jsonb_path_exists_internal CBC 43032 100.0 % (15 / 15) 87.5 % (7 / 8)
jsonb_path_exists_opr CBC 43005 100.0 % (2 / 2)
jsonb_path_exists_tz UBC 0 0.0 % (0 / 2)
jsonb_path_match CBC 63 100.0 % (2 / 2)
jsonb_path_match_internal CBC 48957 100.0 % (22 / 22) 87.5 % (14 / 16)
jsonb_path_match_opr CBC 48894 100.0 % (2 / 2)
jsonb_path_match_tz UBC 0 0.0 % (0 / 2)
jsonb_path_query CBC 2955 100.0 % (2 / 2)
jsonb_path_query_array CBC 33 100.0 % (2 / 2)
jsonb_path_query_array_internal CBC 33 100.0 % (9 / 9)
jsonb_path_query_array_tz UBC 0 0.0 % (0 / 2)
jsonb_path_query_first CBC 2187 100.0 % (2 / 2)
jsonb_path_query_first_internal CBC 2187 100.0 % (11 / 11) 100.0 % (2 / 2)
jsonb_path_query_first_tz UBC 0 0.0 % (0 / 2)
jsonb_path_query_internal CBC 3708 100.0 % (21 / 21) 100.0 % (4 / 4)
jsonb_path_query_tz CBC 753 100.0 % (2 / 2)
setBaseObject CBC 109362 100.0 % (5 / 5) 100.0 % (2 / 2)
wrapItemsInArray GNC 219 100.0 % (8 / 8) 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta