LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonpath_exec.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 92.1 % 1821 1677 1 143 64 1613 1 22
Current Date: 2026-07-25 17:13:00 -0400 Functions: 95.5 % 88 84 4 7 77 1
Baseline: lcov-20260726-baseline Branches: 76.1 % 1343 1022 4 1 316 46 976
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 68 68 64 4
(30,360] days: 93.5 % 310 290 1 19 290
(360..) days: 91.4 % 1443 1319 124 1319
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 10 10 10
(360..) days: 94.8 % 77 73 4 6 67
Branch coverage date bins:
(7,30] days: 92.6 % 54 50 4 46 4
(30,360] days: 79.2 % 149 118 1 30 118
(360..) days: 74.9 % 1140 854 286 854

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 CBC 407019 96.7 % (381 / 394) 80.5 % (347 / 431)
executeDateTimeMethod GNC 5662 90.5 % (171 / 189) 62.1 % (90 / 145)
executeStringInternalMethod CBC 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 CBC 1728 46.3 % (25 / 54) 33.3 % (6 / 18)
JsonPathValue CBC 2554 90.3 % (28 / 31) 73.7 % (28 / 38)
executeUnaryArithmExpr CBC 148 87.5 % (28 / 32) 73.1 % (19 / 26)
GetJsonTableExecContext CBC 7542 71.4 % (5 / 7) 25.0 % (2 / 8)
JsonPathQuery CBC 1784 96.7 % (29 / 30) 82.4 % (28 / 34)
compareItems CBC 14593 92.9 % (52 / 56) 83.3 % (30 / 36)
executeBoolItem CBC 119187 94.9 % (56 / 59) 81.8 % (27 / 33)
executeKeyValueMethod CBC 58 98.0 % (49 / 50) 78.6 % (22 / 28)
executeBinaryArithmExpr CBC 444 85.0 % (34 / 40) 82.1 % (23 / 28)
executeItemUnwrapTargetArray CBC 2443 60.0 % (3 / 5) 16.7 % (1 / 6)
JsonTableInitOpaque CBC 414 100.0 % (25 / 25) 77.8 % (14 / 18)
JsonbType CBC 192406 90.9 % (10 / 11) 60.0 % (6 / 10)
executeNumericItemMethod CBC 172 81.8 % (9 / 11) 71.4 % (10 / 14)
getJsonPathVariable CBC 5276 100.0 % (10 / 10) 60.0 % (6 / 10)
JsonTablePlanNextRow GNC 4544 100.0 % (41 / 41) 92.1 % (35 / 38)
executeAnyItem CBC 2895 97.1 % (34 / 35) 92.9 % (39 / 42)
getArrayIndex CBC 362 88.2 % (15 / 17) 81.2 % (13 / 16)
getJsonPathItem CBC 40705 91.3 % (21 / 23) 62.5 % (5 / 8)
GetJsonPathVar CBC 1740 90.9 % (20 / 22) 85.7 % (12 / 14)
JsonTableResetNestedPlan GNC 1107 100.0 % (15 / 15) 80.0 % (8 / 10)
JsonValueListNext CBC 223881 90.0 % (9 / 10) 75.0 % (6 / 8)
JsonbArraySize CBC 381 100.0 % (7 / 7) 75.0 % (6 / 8)
jsonb_path_match_internal CBC 65299 100.0 % (22 / 22) 87.5 % (14 / 16)
JsonPathExists CBC 388 100.0 % (6 / 6) 87.5 % (7 / 8)
JsonTableInitPlan GNC 908 100.0 % (23 / 23) 90.0 % (9 / 10)
JsonTableRescan GNC 2754 100.0 % (13 / 13) 83.3 % (5 / 6)
JsonTableResetRowPattern GNC 1128 100.0 % (14 / 14) 75.0 % (3 / 4)
JsonValueListClear CBC 162093 100.0 % (9 / 9) 75.0 % (3 / 4)
JsonValueListHead CBC 72832 100.0 % (3 / 3) 50.0 % (1 / 2)
checkTimezoneIsUsedForCast CBC 900 100.0 % (4 / 4) 75.0 % (3 / 4)
countVariablesFromJsonb CBC 128855 100.0 % (5 / 5) 83.3 % (5 / 6)
executeItemOptUnwrapResult CBC 133326 100.0 % (16 / 16) 91.7 % (11 / 12)
executeJsonPath CBC 134709 100.0 % (27 / 27) 91.7 % (11 / 12)
executeLikeRegex CBC 264 100.0 % (11 / 11) 83.3 % (5 / 6)
executeNextItem CBC 296609 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 57475 100.0 % (15 / 15) 87.5 % (7 / 8)
JsonTableGetValue CBC 5142 100.0 % (20 / 20) 100.0 % (4 / 4)
JsonTablePlanScanNextRow GNC 2872 100.0 % (12 / 12) 100.0 % (2 / 2)
JsonValueListAppend CBC 187170 100.0 % (16 / 16) 100.0 % (2 / 2)
appendBoolResult CBC 68139 100.0 % (8 / 8) 100.0 % (6 / 6)
binaryCompareStrings CBC 2304 100.0 % (7 / 7) 100.0 % (6 / 6)
executePredicate CBC 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 CBC 2923 100.0 % (11 / 11) 100.0 % (2 / 2)
jsonb_path_query_internal CBC 5432 100.0 % (22 / 22) 100.0 % (4 / 4)
setBaseObject CBC 148035 100.0 % (5 / 5) 100.0 % (2 / 2)
wrapItemsInArray CBC 330 100.0 % (8 / 8) 100.0 % (2 / 2)
CountJsonPathVars CBC 5854 100.0 % (3 / 3)
JsonTableDestroyOpaque CBC 414 100.0 % (5 / 5)
JsonTableFetchRow CBC 1576 100.0 % (3 / 3)
JsonTableSetDocument CBC 410 100.0 % (4 / 4)
JsonValueListHasMultipleItems CBC 3858 100.0 % (2 / 2)
JsonValueListInit CBC 237651 100.0 % (6 / 6)
JsonValueListInitIterator CBC 142828 100.0 % (4 / 4)
JsonValueListIsEmpty CBC 8852 100.0 % (2 / 2)
JsonValueListIsSingleton CBC 66476 100.0 % (2 / 2)
JsonbInitBinary CBC 133423 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 CBC 2230 100.0 % (4 / 4)
executeComparison CBC 14593 100.0 % (3 / 3)
executeItem CBC 401315 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 57432 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 4428 100.0 % (2 / 2)
jsonb_path_query_array CBC 82 100.0 % (2 / 2)
jsonb_path_query_array_internal CBC 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