LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonb.c (source / functions) Coverage Total Hit UNC LBC UBC GIC GNC CBC EUB DUB DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 88.7 % 825 732 15 1 77 1 94 637 23 177
Current Date: 2025-12-18 07:33:40 +0900 Functions: 93.0 % 57 53 1 3 22 31 1
Baseline: lcov-20251218-005734-baseline Branches: 69.9 % 489 342 8 1 138 1 15 326 12
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 89.5 % 105 94 11 94
(30,360] days: 84.8 % 46 39 4 3 39
(360..) days: 88.9 % 674 599 1 74 1 598
Function coverage date bins:
(360..) days: 93.0 % 57 53 1 3 22 31
Branch coverage date bins:
(7,30] days: 65.2 % 23 15 8 15
(30,360] days: 75.0 % 56 42 14 42
(360..) days: 67.5 % 422 285 1 124 1 284 12

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
JsonbContainerTypeName CBC 153 87.5 % (7 / 8) 62.5 % (5 / 8)
JsonbExtractScalar CBC 99846 100.0 % (16 / 16) 59.1 % (13 / 22)
JsonbToCString CBC 12378 100.0 % (2 / 2)
JsonbToCStringIndent CBC 18 100.0 % (2 / 2)
JsonbToCStringWorker CBC 12396 97.4 % (74 / 76) 82.5 % (47 / 57)
JsonbTypeName CBC 174 75.0 % (24 / 32) 57.9 % (11 / 19)
JsonbUnquote CBC 186 92.3 % (12 / 13) 78.6 % (11 / 14)
add_indent CBC 44455 100.0 % (5 / 5) 75.0 % (3 / 4)
add_jsonb CBC 812 88.9 % (8 / 9) 50.0 % (3 / 6)
array_dim_to_jsonb GNC 69 90.0 % (9 / 10) 66.7 % (4 / 6)
array_to_jsonb_internal GNC 69 82.4 % (14 / 17) 50.0 % (1 / 2)
cannotCastJsonbValue CBC 21 80.0 % (4 / 5) 50.0 % (4 / 8)
checkStringLen CBC 41102 75.0 % (3 / 4) 25.0 % (1 / 4)
composite_to_jsonb GNC 99 96.3 % (26 / 27) 75.0 % (6 / 8)
datum_to_jsonb GNC 69 100.0 % (4 / 4)
datum_to_jsonb_internal GNC 1766 88.5 % (123 / 139) 79.5 % (66 / 83)
jsonb_agg_finalfn GNC 36 100.0 % (10 / 10) 66.7 % (4 / 6)
jsonb_agg_strict_transfn CBC 111 100.0 % (2 / 2)
jsonb_agg_transfn CBC 72 100.0 % (2 / 2)
jsonb_agg_transfn_worker GNC 183 89.5 % (17 / 19) 62.5 % (10 / 16)
jsonb_bool CBC 9 90.9 % (10 / 11) 70.0 % (7 / 10)
jsonb_build_array CBC 75 100.0 % (5 / 5) 100.0 % (2 / 2)
jsonb_build_array_noargs GNC 3 100.0 % (5 / 5)
jsonb_build_array_worker GNC 88 100.0 % (9 / 9) 100.0 % (6 / 6)
jsonb_build_object CBC 168 100.0 % (5 / 5) 100.0 % (2 / 2)
jsonb_build_object_noargs GNC 3 100.0 % (5 / 5)
jsonb_build_object_worker GNC 205 100.0 % (17 / 17) 88.9 % (16 / 18)
jsonb_float4 CBC 15 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_float8 CBC 15 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_from_cstring GNC 12259 100.0 % (16 / 16) 100.0 % (2 / 2)
jsonb_from_text UBC 0 0.0 % (0 / 3)
jsonb_in CBC 12259 100.0 % (3 / 3)
jsonb_in_array_end GNC 4975 100.0 % (4 / 4)
jsonb_in_array_start GNC 7137 100.0 % (4 / 4)
jsonb_in_object_end GNC 9562 100.0 % (4 / 4)
jsonb_in_object_field_start GNC 26606 90.0 % (9 / 10) 50.0 % (2 / 4)
jsonb_in_object_start GNC 11341 100.0 % (5 / 5)
jsonb_in_scalar GNC 34149 90.0 % (45 / 50) 60.9 % (14 / 23)
jsonb_int2 CBC 15 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_int4 CBC 15 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_int8 CBC 33 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_numeric CBC 15 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_object GNC 21 97.6 % (41 / 42) 72.7 % (16 / 22)
jsonb_object_agg_finalfn GNC 93 100.0 % (10 / 10) 66.7 % (4 / 6)
jsonb_object_agg_strict_transfn CBC 12 100.0 % (2 / 2)
jsonb_object_agg_transfn CBC 69 100.0 % (2 / 2)
jsonb_object_agg_transfn_worker GNC 177 90.0 % (27 / 30) 64.3 % (18 / 28)
jsonb_object_agg_unique_strict_transfn CBC 57 100.0 % (2 / 2)
jsonb_object_agg_unique_transfn CBC 39 100.0 % (2 / 2)
jsonb_object_two_arg GNC 21 97.4 % (38 / 39) 75.0 % (15 / 20)
jsonb_out CBC 11301 100.0 % (4 / 4)
jsonb_put_escaped_value CBC 55971 90.0 % (18 / 20) 66.7 % (6 / 9)
jsonb_recv UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
jsonb_send UNC 0 0.0 % (0 / 10)
jsonb_typeof CBC 141 100.0 % (4 / 4)
to_jsonb CBC 69 85.7 % (6 / 7) 25.0 % (1 / 4)
to_jsonb_is_immutable UBC 0 0.0 % (0 / 14) 0.0 % (0 / 6)

Generated by: LCOV version 2.4-beta