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: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 88.7 % 825 732 15 1 77 1 94 637 23 177
Current Date: 2026-03-14 14:10:32 -0400 Functions: 93.0 % 57 53 1 3 22 31 1
Baseline: lcov-20260315-024220-baseline Branches: 69.9 % 489 342 8 1 138 1 15 326 12 23 45
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 86.2 % 109 94 15 94
(360..) days: 89.1 % 716 638 1 77 1 637
Function coverage date bins:
(360..) days: 93.0 % 57 53 1 3 22 31
Branch coverage date bins:
(30,360] days: 65.2 % 23 15 8 15
(360..) days: 68.4 % 478 327 1 138 1 326 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
datum_to_jsonb_internal GNC 2954 88.5 % (123 / 139) 79.5 % (66 / 83)
to_jsonb_is_immutable UBC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
jsonb_send UNC 0 0.0 % (0 / 10)
JsonbTypeName CBC 174 75.0 % (24 / 32) 57.9 % (11 / 19)
jsonb_recv UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
jsonb_in_scalar GNC 34749 90.0 % (45 / 50) 60.9 % (14 / 23)
array_to_jsonb_internal GNC 69 82.4 % (14 / 17) 50.0 % (1 / 2)
jsonb_from_text UBC 0 0.0 % (0 / 3)
jsonb_object_agg_transfn_worker GNC 177 90.0 % (27 / 30) 64.3 % (18 / 28)
JsonbToCStringWorker CBC 12247 97.4 % (74 / 76) 82.5 % (47 / 57)
jsonb_agg_transfn_worker GNC 227 89.5 % (17 / 19) 62.5 % (10 / 16)
jsonb_put_escaped_value CBC 54289 90.0 % (18 / 20) 66.7 % (6 / 9)
JsonbContainerTypeName CBC 159 87.5 % (7 / 8) 62.5 % (5 / 8)
JsonbUnquote CBC 186 92.3 % (12 / 13) 78.6 % (11 / 14)
add_jsonb CBC 1956 88.9 % (8 / 9) 50.0 % (3 / 6)
array_dim_to_jsonb GNC 69 90.0 % (9 / 10) 66.7 % (4 / 6)
cannotCastJsonbValue CBC 21 80.0 % (4 / 5) 50.0 % (4 / 8)
checkStringLen CBC 42835 75.0 % (3 / 4) 25.0 % (1 / 4)
composite_to_jsonb GNC 99 96.3 % (26 / 27) 75.0 % (6 / 8)
jsonb_bool CBC 15 90.9 % (10 / 11) 70.0 % (7 / 10)
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_in_object_field_start GNC 27089 90.0 % (9 / 10) 50.0 % (2 / 4)
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 21 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_object GNC 21 97.6 % (41 / 42) 72.7 % (16 / 22)
jsonb_object_two_arg GNC 21 97.4 % (38 / 39) 75.0 % (15 / 20)
to_jsonb CBC 69 85.7 % (6 / 7) 25.0 % (1 / 4)
JsonbExtractScalar CBC 99864 100.0 % (16 / 16) 59.1 % (13 / 22)
JsonbToCString CBC 12196 100.0 % (2 / 2)
JsonbToCStringIndent CBC 51 100.0 % (2 / 2)
add_indent CBC 43413 100.0 % (5 / 5) 75.0 % (3 / 4)
datum_to_jsonb GNC 69 100.0 % (4 / 4)
jsonb_agg_finalfn GNC 78 100.0 % (10 / 10) 66.7 % (4 / 6)
jsonb_agg_strict_transfn CBC 111 100.0 % (2 / 2)
jsonb_agg_transfn CBC 116 100.0 % (2 / 2)
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 212 100.0 % (5 / 5) 100.0 % (2 / 2)
jsonb_build_object_noargs GNC 3 100.0 % (5 / 5)
jsonb_build_object_worker GNC 249 100.0 % (17 / 17) 88.9 % (16 / 18)
jsonb_from_cstring GNC 12496 100.0 % (16 / 16) 100.0 % (2 / 2)
jsonb_in CBC 12496 100.0 % (3 / 3)
jsonb_in_array_end GNC 5105 100.0 % (4 / 4)
jsonb_in_array_start GNC 7267 100.0 % (4 / 4)
jsonb_in_object_end GNC 9786 100.0 % (4 / 4)
jsonb_in_object_start GNC 11565 100.0 % (5 / 5)
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_unique_strict_transfn CBC 57 100.0 % (2 / 2)
jsonb_object_agg_unique_transfn CBC 39 100.0 % (2 / 2)
jsonb_out CBC 11119 100.0 % (4 / 4)
jsonb_typeof CBC 147 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta