LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonb.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GIC GNC CBC EUB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 90.3 % 815 736 22 1 56 1 1 106 628 43 186
Current Date: 2026-06-29 16:15:13 +0200 Functions: 94.7 % 57 54 1 2 31 23 2
Baseline: lcov-20260630-baseline Branches: 70.8 % 483 342 9 1 131 1 16 325 12
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: 82.8 % 128 106 22 106
(360..) days: 91.7 % 687 630 1 56 1 1 628
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 94.6 % 56 53 1 2 30 23
Branch coverage date bins:
(30,360] days: 64.0 % 25 16 9 16
(360..) days: 69.4 % 470 326 1 131 1 325 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
jsonb_from_text UBC 0 0.0 % (0 / 3)
jsonb_recv UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
jsonb_send UNC 0 0.0 % (0 / 10)
jsonb_build_array_noargs GNC 4 100.0 % (5 / 5)
jsonb_build_object_noargs GNC 4 100.0 % (5 / 5)
jsonb_object_agg_strict_transfn CBC 16 100.0 % (2 / 2)
jsonb_bool GNC 24 90.9 % (10 / 11) 70.0 % (7 / 10)
jsonb_float4 GNC 24 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_float8 GNC 24 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_int2 GNC 24 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_int4 GNC 24 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_object GNC 31 97.6 % (41 / 42) 72.7 % (16 / 22)
jsonb_object_two_arg GNC 31 97.4 % (38 / 39) 75.0 % (15 / 20)
jsonb_numeric GNC 34 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_int8 GNC 48 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_object_agg_unique_transfn CBC 52 100.0 % (2 / 2)
JsonbToCStringIndent CBC 63 100.0 % (2 / 2)
jsonb_object_agg_unique_strict_transfn CBC 76 100.0 % (2 / 2)
array_dim_to_jsonb GNC 92 90.0 % (9 / 10) 66.7 % (4 / 6)
array_to_jsonb_internal GNC 92 82.4 % (14 / 17) 50.0 % (1 / 2)
datum_to_jsonb GNC 92 100.0 % (4 / 4)
jsonb_object_agg_transfn CBC 92 100.0 % (2 / 2)
to_jsonb CBC 92 85.7 % (6 / 7) 25.0 % (1 / 4)
jsonb_build_array CBC 100 100.0 % (5 / 5) 100.0 % (2 / 2)
jsonb_agg_finalfn GNC 111 100.0 % (10 / 10) 66.7 % (4 / 6)
jsonb_build_array_worker GNC 117 100.0 % (9 / 9) 100.0 % (6 / 6)
jsonb_object_agg_finalfn GNC 124 100.0 % (10 / 10) 66.7 % (4 / 6)
composite_to_jsonb GNC 132 96.3 % (26 / 27) 75.0 % (6 / 8)
to_jsonb_is_immutable GNC 144 100.0 % (4 / 4)
jsonb_agg_transfn CBC 146 100.0 % (2 / 2)
jsonb_agg_strict_transfn CBC 156 100.0 % (2 / 2)
jsonb_typeof CBC 213 100.0 % (4 / 4)
JsonbContainerTypeName CBC 229 87.5 % (7 / 8) 62.5 % (5 / 8)
jsonb_object_agg_transfn_worker GNC 236 90.0 % (27 / 30) 64.3 % (18 / 28)
JsonbUnquote CBC 248 92.3 % (12 / 13) 78.6 % (11 / 14)
jsonb_build_object CBC 274 100.0 % (5 / 5) 100.0 % (2 / 2)
JsonbTypeName CBC 291 75.0 % (24 / 32) 57.9 % (11 / 19)
jsonb_agg_transfn_worker GNC 302 89.5 % (17 / 19) 62.5 % (10 / 16)
jsonb_build_object_worker GNC 323 100.0 % (17 / 17) 88.9 % (16 / 18)
add_jsonb CBC 2382 88.9 % (8 / 9) 50.0 % (3 / 6)
datum_to_jsonb_internal GNC 3712 88.5 % (123 / 139) 79.5 % (66 / 83)
jsonb_in_array_end GNC 6646 100.0 % (4 / 4)
jsonb_in_array_start GNC 9496 100.0 % (4 / 4)
jsonb_in_object_end GNC 12750 100.0 % (4 / 4)
jsonb_out CBC 13774 100.0 % (4 / 4)
jsonb_in_object_start GNC 15097 100.0 % (5 / 5)
JsonbToCString CBC 15217 100.0 % (2 / 2)
JsonbToCStringWorker CBC 15280 97.4 % (74 / 76) 82.5 % (47 / 57)
jsonb_from_cstring GNC 16766 100.0 % (16 / 16) 100.0 % (2 / 2)
jsonb_in CBC 16766 100.0 % (3 / 3)
jsonb_in_object_field_start GNC 35943 90.0 % (9 / 10) 50.0 % (2 / 4)
jsonb_in_scalar GNC 46192 90.0 % (45 / 50) 60.9 % (14 / 23)
add_indent CBC 49737 100.0 % (5 / 5) 75.0 % (3 / 4)
checkStringLen CBC 57178 75.0 % (3 / 4) 25.0 % (1 / 4)
jsonb_put_escaped_value CBC 60862 90.0 % (18 / 20) 66.7 % (6 / 9)
JsonbExtractScalar CBC 133703 100.0 % (16 / 16) 59.1 % (13 / 22)

Generated by: LCOV version 2.0-1