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
IsValidJsonNumber 23
allocate_incremental_state 2091
dec_lex_level 962929
freeJsonLexContext 6823
get_fname 637988
get_fnull 744
have_prediction 24653340
inc_lex_level 2601830
json_count_array_elements 4
json_errdetail 1257
json_lex 7760247
json_lex_number 273390
json_lex_string 1542003
lex_expect 326914
lex_peek 7904356
makeJsonLexContextCstringLen 28222
makeJsonLexContextIncremental 2091
next_prediction 76
parse_array 26064
parse_array_element 41924
parse_object 36205
parse_object_field 223984
parse_scalar 230983
pg_parse_json 27732
pg_parse_json_incremental 372968
pop_prediction 24351014
push_prediction 7526109
report_parse_error 653
setJsonLexContextOwnsTokens 1960
set_fname 1648473
set_fnull 3279637

Generated by: LCOV version 2.0-1