LCOV - code coverage report
Current view: top level - src/common - jsonapi.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 87.1 % 997 868
Test Date: 2026-10-29 00:16:02 Functions: 100.0 % 31 31
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 76.9 % 800 615

Function Name Sort by function name Hit count Sort by function hit count
json_count_array_elements 4
IsValidJsonNumber 23
next_prediction 76
report_parse_error 653
get_fnull 744
json_errdetail 1257
setJsonLexContextOwnsTokens 1960
allocate_incremental_state 2091
makeJsonLexContextIncremental 2091
freeJsonLexContext 6823
parse_array 26064
pg_parse_json 27732
makeJsonLexContextCstringLen 28222
parse_object 36205
parse_array_element 41924
parse_object_field 223984
parse_scalar 230983
json_lex_number 273390
lex_expect 326914
pg_parse_json_incremental 372968
get_fname 637988
dec_lex_level 962929
json_lex_string 1542003
set_fname 1648473
inc_lex_level 2601830
set_fnull 3279637
push_prediction 7526109
json_lex 7760247
lex_peek 7904356
pop_prediction 24351014
have_prediction 24653340

Generated by: LCOV version 2.0-1