LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - jsonfuncs.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 96.6 % 2048 1979 5 23 40 1 25 1131 89 734 42 1183 1 39
Current Date: 2023-04-08 15:15:32 Functions: 100.0 % 147 147 144 3 145 2
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
alen_object_start ECB 6
get_array_end ECB 6
json_array_elements_text ECB 6
json_each ECB 6
json_each_text ECB 6
jsonb_array_elements_text GIC 6 100.0 % (2 / 2)
okeys_array_start ECB 6
json_to_recordset GIC 9 100.0 % (2 / 2)
jsonb_delete_array GIC 9 88.9 % (32 / 36)
jsonb_to_recordset ECB 9
sn_array_end GIC 9 100.0 % (4 / 4)
sn_array_start ECB 9
each_array_start ECB 12
each_worker GIC 12 100.0 % (21 / 21)
json_array_length ECB 12
jsonb_each_text GIC 12 100.0 % (2 / 2)
transform_string_values_array_end ECB 15
transform_string_values_array_start ECB 15
get_object_end ECB 18
get_object_start ECB 18
jsonb_array_elements ECB 18
jsonb_pretty ECB 18
sn_object_end ECB 18
sn_object_start ECB 18
alen_array_element_start ECB 21
json_strip_nulls GIC 21 100.0 % (18 / 18)
jsonb_strip_nulls ECB 21
transform_json_string_values ECB 21
transform_jsonb_string_values GIC 21 100.0 % (18 / 18)
alen_scalar GIC 24 100.0 % (5 / 5)
elements_worker_jsonb GIC 24 92.9 % (26 / 28)
json_array_element_text ECB 24
transform_string_values_array_element_start ECB 24
jsonb_object_keys ECB 27
transform_string_values_object_end GIC 27 100.0 % (4 / 4)
transform_string_values_object_start ECB 27
jsonb_array_element_text GIC 30 71.4 % (10 / 14)
jsonb_set_lax GIC 30 95.5 % (21 / 22)
sn_array_element_start GIC 33 100.0 % (5 / 5)
push_path GIC 36 92.9 % (26 / 28)
sn_object_field_start GIC 39 100.0 % (10 / 10)
jsonb_delete_path GIC 45 88.9 % (16 / 18)
json_to_record ECB 51
jsonb_to_record ECB 51
push_null_elements ECB 54
transform_string_values_object_field_start GIC 57 100.0 % (7 / 7)
transform_string_values_scalar ECB 60
each_object_field_end ECB 63
each_object_field_start GIC 63 100.0 % (7 / 7)
jsonb_insert ECB 66
sn_scalar GIC 66 100.0 % (10 / 10)
each_scalar GIC 75 85.7 % (6 / 7)
iterate_json_values GIC 75 100.0 % (13 / 13)
iterate_jsonb_values GIC 75 100.0 % (29 / 29)
jsonb_populate_recordset GIC 75 100.0 % (2 / 2)
json_populate_recordset GIC 78 100.0 % (2 / 2)
populate_array_report_expected_array GIC 78 83.3 % (10 / 12)
IteratorConcat GIC 84 100.0 % (37 / 37)
json_extract_path_text GIC 90 100.0 % (2 / 2)
jsonb_delete ECB 90
jsonb_extract_path_text ECB 90
populate_recordset_array_start ECB 90
jsonb_object_field_text ECB 99
jsonb_set_element ECB 123
parse_jsonb_index_flags ECB 126
jsonb_delete_idx ECB 129
jsonb_extract_path ECB 135
json_array_element GIC 140 100.0 % (7 / 7)
populate_recordset_object_end GIC 141 100.0 % (10 / 10)
populate_recordset_object_start ECB 141
json_extract_path GIC 144 100.0 % (2 / 2)
jsonb_set ECB 144
populate_recordset_array_element_start GIC 150 83.3 % (5 / 6)
get_record_type_from_query GIC 156 92.3 % (12 / 13)
jsonb_array_length GIC 156 100.0 % (7 / 7)
jsonb_array_element GIC 159 100.0 % (14 / 14)
populate_recordset_worker ECB 171
setPathArray GIC 183 96.6 % (57 / 59)
jsonb_concat GNC 189 100.0 % (14 / 14)
json_strip_nulls ECB 21
jsonb_concat GIC 189
json_array_elements ECB 195
elements_worker ECB 201
JsonbValueAsText GIC 210 78.9 % (15 / 19)
report_json_context GIC 219 95.0 % (19 / 20)
get_jsonb_path_all ECB 225
json_errsave_error ECB 228
get_path_all GIC 234 100.0 % (22 / 22)
populate_recordset_record ECB 240
populate_recordset_object_field_end ECB 258
populate_recordset_object_field_start GIC 258 100.0 % (10 / 10)
populate_recordset_scalar ECB 258
iterate_values_scalar ECB 282
jsonb_get_element ECB 315
populate_array_object_start ECB 324
json_get_first_token ECB 336
json_populate_record ECB 411
jsonb_populate_record ECB 411
setPathObject GIC 444 98.2 % (55 / 56)
populate_array_json ECB 450
json_object_field_text GIC 462 100.0 % (8 / 8)
json_object_field GIC 490 100.0 % (8 / 8)
populate_array_array_end ECB 576
hash_array_start GNC 636 100.0 % (5 / 5)
hash_array_start GIC 636
hash_object_field_start ECB 3078
populate_array_dim_jsonb GIC 645 100.0 % (29 / 29)
setPath ECB 657
populate_array_check_dimension GIC 753 100.0 % (10 / 10)
get_record_type_from_argument ECB 765
elements_object_start ECB 858
populate_array_assign_ndims GIC 876 100.0 % (10 / 10)
populate_array GIC 900 100.0 % (24 / 24)
okeys_object_field_start GIC 921 100.0 % (10 / 10)
populate_record_worker ECB 924
okeys_scalar ECB 927
get_array_start GIC 928 93.3 % (14 / 15)
json_object_keys ECB 930
get_json_object_as_hash GIC 942 100.0 % (18 / 18)
get_array_element_end ECB 965
get_array_element_start ECB 965
elements_array_element_end GIC 1014 100.0 % (20 / 20)
elements_array_element_start ECB 1014
allocate_record_info ECB 1071
get_worker ECB 1344
populate_domain ECB 1350
populate_array_element_end GIC 1656 100.0 % (20 / 20)
populate_array_element_start GIC 1683 100.0 % (8 / 8)
populate_array_scalar GIC 1827 100.0 % (12 / 12)
JsValueToJsObject ECB 1884
populate_composite GIC 1884 90.9 % (10 / 11)
populate_record ECB 2106
update_cached_tupdesc GIC 2283 91.7 % (11 / 12)
populate_array_element GIC 2952 100.0 % (9 / 9)
hash_object_field_end ECB 3078
hash_object_field_start GIC 3078 100.0 % (10 / 10)
hash_scalar GIC 3690 100.0 % (8 / 8)
populate_scalar ECB 3789
makeJsonLexContext ECB 5280
jsonb_each ECB 6084
each_worker_jsonb ECB 6096
prepare_column_cache GIC 10131 97.6 % (41 / 42)
jsonb_object_field ECB 12345
elements_scalar GNC 12768 85.7 % (6 / 7)
elements_array_element_end ECB 1014
elements_scalar GIC 12768
JsObjectGetField GIC 15009 100.0 % (11 / 11)
pg_parse_json_or_errsave GNC 16488 100.0 % (6 / 6)
populate_record_field ECB 17619
get_scalar ECB 52731
get_object_field_end ECB 53456
get_object_field_start ECB 53456

Generated by: LCOV version v1.16-55-g56c0a2a