LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonb.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 90.3 % 815 736 22 1 56 1 1 106 628 43 186
Current Date: 2026-05-29 21:51:00 -0400 Functions: 94.7 % 57 54 1 2 31 23 2
Baseline: lcov-20260530-034037-baseline Branches: 70.8 % 483 342 9 1 131 10 16 316 42 56
Baseline Date: 2026-05-29 14:39:03 -0700 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: 71.2 % 458 326 1 131 10 316

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 133703 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)
cannotCastJsonbValue GNC 28 80.0 % (4 / 5) 50.0 % (4 / 8)
checkStringLen CBC 57101 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 16786 100.0 % (16 / 16) 100.0 % (2 / 2)
jsonb_from_text UBC 0 0.0 % (0 / 3)
jsonb_in CBC 16786 100.0 % (3 / 3)
jsonb_in_array_end GNC 6638 100.0 % (4 / 4)
jsonb_in_array_start GNC 9508 100.0 % (4 / 4)
jsonb_in_object_end GNC 12739 100.0 % (4 / 4)
jsonb_in_object_field_start GNC 35930 90.0 % (9 / 10) 50.0 % (2 / 4)
jsonb_in_object_start GNC 15102 100.0 % (5 / 5)
jsonb_in_scalar GNC 46237 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