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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 90.3 % 815 736 22 1 56 1 1 106 628 43 186
Current Date: 2026-05-05 10:23:31 +0900 Functions: 94.7 % 57 54 1 2 31 23 2
Baseline: lcov-20260505-025707-baseline Branches: 70.8 % 483 342 9 1 131 1 16 325 12 30 46
Baseline Date: 2026-05-05 10:27:06 +0900 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
JsonbContainerTypeName CBC 229 87.5 % (7 / 8) 62.5 % (5 / 8)
JsonbExtractScalar CBC 133687 100.0 % (16 / 16) 59.1 % (13 / 22)
JsonbToCString CBC 15217 100.0 % (2 / 2)
JsonbToCStringIndent CBC 60 100.0 % (2 / 2)
JsonbToCStringWorker CBC 15277 97.4 % (74 / 76) 82.5 % (47 / 57)
JsonbTypeName CBC 291 75.0 % (24 / 32) 57.9 % (11 / 19)
JsonbUnquote CBC 248 92.3 % (12 / 13) 78.6 % (11 / 14)
add_indent CBC 49707 100.0 % (5 / 5) 75.0 % (3 / 4)
add_jsonb CBC 2304 88.9 % (8 / 9) 50.0 % (3 / 6)
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)
checkStringLen CBC 57005 75.0 % (3 / 4) 25.0 % (1 / 4)
composite_to_jsonb GNC 132 96.3 % (26 / 27) 75.0 % (6 / 8)
datum_to_jsonb GNC 92 100.0 % (4 / 4)
datum_to_jsonb_internal GNC 3631 88.5 % (123 / 139) 79.5 % (66 / 83)
jsonb_agg_finalfn GNC 108 100.0 % (10 / 10) 66.7 % (4 / 6)
jsonb_agg_strict_transfn CBC 156 100.0 % (2 / 2)
jsonb_agg_transfn CBC 143 100.0 % (2 / 2)
jsonb_agg_transfn_worker GNC 299 89.5 % (17 / 19) 62.5 % (10 / 16)
jsonb_bool GNC 24 90.9 % (10 / 11) 70.0 % (7 / 10)
jsonb_build_array CBC 100 100.0 % (5 / 5) 100.0 % (2 / 2)
jsonb_build_array_noargs GNC 4 100.0 % (5 / 5)
jsonb_build_array_worker GNC 117 100.0 % (9 / 9) 100.0 % (6 / 6)
jsonb_build_object CBC 271 100.0 % (5 / 5) 100.0 % (2 / 2)
jsonb_build_object_noargs GNC 4 100.0 % (5 / 5)
jsonb_build_object_worker GNC 320 100.0 % (17 / 17) 88.9 % (16 / 18)
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_from_cstring GNC 16745 100.0 % (16 / 16) 100.0 % (2 / 2)
jsonb_from_text UBC 0 0.0 % (0 / 3)
jsonb_in CBC 16745 100.0 % (3 / 3)
jsonb_in_array_end GNC 6641 100.0 % (4 / 4)
jsonb_in_array_start GNC 9511 100.0 % (4 / 4)
jsonb_in_object_end GNC 12717 100.0 % (4 / 4)
jsonb_in_object_field_start GNC 35900 90.0 % (9 / 10) 50.0 % (2 / 4)
jsonb_in_object_start GNC 15078 100.0 % (5 / 5)
jsonb_in_scalar GNC 46125 90.0 % (45 / 50) 60.9 % (14 / 23)
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_int8 GNC 48 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_numeric GNC 34 91.7 % (11 / 12) 70.0 % (7 / 10)
jsonb_object GNC 31 97.6 % (41 / 42) 72.7 % (16 / 22)
jsonb_object_agg_finalfn GNC 124 100.0 % (10 / 10) 66.7 % (4 / 6)
jsonb_object_agg_strict_transfn CBC 16 100.0 % (2 / 2)
jsonb_object_agg_transfn CBC 92 100.0 % (2 / 2)
jsonb_object_agg_transfn_worker GNC 236 90.0 % (27 / 30) 64.3 % (18 / 28)
jsonb_object_agg_unique_strict_transfn CBC 76 100.0 % (2 / 2)
jsonb_object_agg_unique_transfn CBC 52 100.0 % (2 / 2)
jsonb_object_two_arg GNC 31 97.4 % (38 / 39) 75.0 % (15 / 20)
jsonb_out CBC 13774 100.0 % (4 / 4)
jsonb_put_escaped_value CBC 60826 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 213 100.0 % (4 / 4)
to_jsonb CBC 92 85.7 % (6 / 7) 25.0 % (1 / 4)
to_jsonb_is_immutable GNC 144 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta